Page 1 of 1

NRPE HPUX B.11.00

Posted: Thu May 10, 2012 7:55 am
by msanbrug
Hello,

I installed nrpe and plugins on a hpux machine. The port 5666 is listening and when I executed a pluggin, the output is OK:

/opt/nrpe/libexec/check_disk -w 10% -c 5% -p /
DISK OK - free space: / 145 MB (76% inode=90%);| /=44MB;180;190;0;200

But Nagios failed:

Current Status: UNKNOWN
Status Information: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.

I activated debug=1, but in file /var/adm/syslog/syslog.log shows no information.

log_facility=daemon

pid_file=/var/run/nrpe.pid

server_port=5666

server_address=<ip_machine>

nrpe_user=nrpe

nrpe_group=nrpe

allowed_hosts=<ip_nagios_server>

allow_arguments=1


dont_blame_nrpe=1
include_dir=/opt/nrpe/bin/nrpe

command[check_disk_/]=/opt/nrpe/libexec/check_disk -w 10% -c 5% -p /

My version Server Nagios is: Nagios 2.8.

Regards,
Monica

Re: NRPE HPUX B.11.00

Posted: Thu May 10, 2012 10:08 am
by mguthrie
Can you show the output of a command-line test from the nagios server?

Code: Select all

./check_nrpe -H <address< -p 5666 -c check_disk_/