Page 1 of 1

Facing check_load issue in AIX 6.1

Posted: Mon Nov 02, 2015 9:26 am
by bsivavani
Hello All,

I am facing below issue while running command from remote server

/usr/local/nagios/libexec/check_nrpe -H 192.168.2.2 -c check_load -a '-w 15,10,5 -c 30,25,20' -t 30 -n
OUTPUT: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.

[[email protected] libexec]# ./check_nrpe -H 192.168.2.2 -t 30 -n
NRPE v2.12
[[email protected] libexec]# ./check_nrpe -H 192.168.2.2 -t 30
CHECK_NRPE: Error - Could not complete SSL handshake.
[root@auscrpmonprd00 libexec]#

Could you help me how to resolve this issue.

Thanks,
Vani

Re: Facing check_load issue in AIX 6.1

Posted: Mon Nov 02, 2015 11:47 am
by rkennedy
Is the Nagios server listed under the allowed_hosts= in the nrpe.cfg?

You can locate the file by running find / -name nrpe.cfg

Re: Facing check_load issue in AIX 6.1

Posted: Mon Nov 02, 2015 2:52 pm
by bsivavani
check_load is working after restarting NRPE service.

Now I am facing issue with check_mem.pl

Added below line to nrpe.cfg
command[check_aix_mem]=/usr/local/nagios/libexec/check_mem.pl -w 10 -c 5 -f

Below is output from Nagios server
[[email protected] libexec]# /usr/local/nagios/libexec/check_nrpe -H 192.168.2.1 -c check_aix_mem -t 30 -n
NRPE: Unable to read output
[[email protected] libexec]#

Please let us know if I am missing anything here.

Re: Facing check_load issue in AIX 6.1

Posted: Mon Nov 02, 2015 3:21 pm
by jdalrymple
Hi bsivavani - I answered your question in our ticketing system. For now let's just track your problems using the ticketing system and if we come across anything I think will benefit the Nagios community forums I'll post back to this thread. OK?

Re: Facing check_load issue in AIX 6.1

Posted: Mon Nov 02, 2015 3:59 pm
by bsivavani
Sure. Thank you.