You are not logged in.
Hi all.
I have been using nrpe + nagios for a while but now I had to re-install a machine and after installing nrpe so I can monitor it from my nagios server, i always get "nrpe: Unabe to read output"
The thing is that when I run the daemon, I get some error, but I don't know if it's the main reason of the problem:
[administrator@VirtualServer nrpe]$ sudo systemctl status nrpe
nrpe.service - Daemon to answer plugin requests from Nagios on remote hosts
Loaded: loaded (/usr/lib/systemd/system/nrpe.service; enabled)
Active: active (running) since sáb, 2012-12-29 19:30:11 CET; 7s ago
Process: 825 ExecStart=/usr/sbin/nrpe -c /etc/nrpe/nrpe.cfg -d (code=exited, status=0/SUCCESS)
Main PID: 826 (nrpe)
CGroup: name=systemd:/system/nrpe.service
└─826 /usr/sbin/nrpe -c /etc/nrpe/nrpe.cfg -d
dic 29 19:30:11 VirtualServer systemd[1]: Starting Daemon to answer plugin requests from Nagios on remote hosts...
dic 29 19:30:11 VirtualServer nrpe[825]: Could not open config directory 'conf.d' for reading.
dic 29 19:30:11 VirtualServer nrpe[825]: Continuing with errors...
dic 29 19:30:11 VirtualServer nrpe[826]: Starting up daemon
dic 29 19:30:11 VirtualServer nrpe[826]: Listening for connections on port 5666
dic 29 19:30:11 VirtualServer nrpe[826]: Allowing connections from: 192.168.1.230
dic 29 19:30:11 VirtualServer systemd[1]: Started Daemon to answer plugin requests from Nagios on remote hosts.I'm out of clues: I have been dealing with this for almost the whole day.
p.s.: 192.168.1.230 is the nagios server
EDIT: Could it be nagios being an old (2 year old) version and nrpe being the latest?
Just wondering because issuing a simple nrpe version check from the nagios server I do receive a response
EDIT2: /usr/libexec/check_disk does not exist... but what package installs these check scripts??
EDIT3: SOLVED Just changed the route to the correct one where the scripts were... /usr/share/nagios/libexec
Thanks
Last edited by Xi0N (2012-12-29 19:11:37)
Offline