Check if nrpe is running
Posted: Mon Nov 16, 2015 5:51 am
Hi
What is a good way to check if nrpe service is running? I set the NRPE checks to report as UNKNOWN if there is issues because I want to avoid firing lots of alerts just because the server is going down and stops the nrpe service.
I tried to monitor the TCP port 5666. But that creates SSL Handshake messages. Then I tried to use NMAP which causes other issues
Any ideas? I use the following NMAP command
What is a good way to check if nrpe service is running? I set the NRPE checks to report as UNKNOWN if there is issues because I want to avoid firing lots of alerts just because the server is going down and stops the nrpe service.
I tried to monitor the TCP port 5666. But that creates SSL Handshake messages. Then I tried to use NMAP which causes other issues
Code: Select all
015-11-16T11:31:37.940060+01:00 Error: Network server getpeername() failure (107: Transport endpoint is not connected)
2015-11-16T11:31:37.940223+01:00 Cannot remove pidfile '/var/run/nrpe/nrpe.pid' - check your privileges.
2015-11-16T11:31:37.940281+01:00 Daemon shutdownCode: Select all
nmap -Pn host -p 5666