• Recent blogs

    Nagios Error: nrpe.service: main process exited, status=2/INVALIDARGUMENT

    Nagios is a free opensource monitoring system. We get this error on a Nagios rhel7 client, while configuring it for monitoring. The nrpe service could not start due to following error.


    Jan 29 06:29:12 solr-node1 nrpe[101779]: Cannot write to pidfile '/var/run/nrpe.pid' - check your privileges.
    Jan 29 06:29:12 solr-node1 systemd[1]: nrpe.service: main process exited, code=exited, status=2/INVALIDARGUMENT


    1. Please change the "pid_file=/var/run/nrpe.pid" in /etc/nagios/nrpe.cfg to following.

    # PID FILE
    2. Restart the nrpe service.
    /bin/systemctl restart  nrpe.service
    3. Check the status.
    /bin/systemctl status  nrpe.service

    Interesting Articles on Kubernetes:

    Kubernetes : Kubernetes Node Management, Maintenance, Delete
    How to add a  New Worker Node to a existing kubernetes Cluster
    MinIO Client Installation and Quickstart
    PLEG is not healthy: Kubernetes Worker Node is in "NotReady" state
    Backup MySQL databases in Kubernetes
    How to Run Automated Tasks in Kubernetes with a cronjob
    How to Completely remove Kubernetes

    1 comment: