Re: check_logfiles HPUX
Posted: Tue Jan 31, 2012 4:18 am
Hello,
Yes I defined in nrpe.cfg files in other linux machines, and in NSC.ini file in other Windows machines.
Yes, I restart nrpe, after adding check_logfile line in nrpe.cfg
Yes, I add IP machine and IP server:[/b]
server_address=<ip_maquina>
allowed_hosts=<ip_servidor_nagios>
Other lines in npre.cfg:
server_port=5666
nrpe_user=capmau
nrpe_group=capmau
allowed_hosts=10.17.32.61
dont_blame_nrpe=0
debug=1
command_timeout=60
connection_timeout=300
I restarted again agent:
maresme@capmau$ ps -ef|grep nrpe
maresme@capmau$ ps -ef|grep nrpe
capmau 12126 1 24 10:15:08 ? 0:00 /opt/tools/capmau/etc/nrpe -c /opt/tools/capmau/etc/nrpe.cfg
capmau 12679 26942 1 10:15:16 pts/1 0:00 grep nrpe
but, the output is the same:
CHECK_NRPE: Socket timeout after 90 seconds
and in /var/adm/syslog/syslog.log:
Jan 31 10:17:20 maresme nrpe[15259]: Could not read request from client, bailing out...
Jan 31 10:17:32 maresme nrpe[16220]: Could not read request from client, bailing out...
Regards,
Yes I defined in nrpe.cfg files in other linux machines, and in NSC.ini file in other Windows machines.
Yes, I restart nrpe, after adding check_logfile line in nrpe.cfg
Yes, I add IP machine and IP server:[/b]
server_address=<ip_maquina>
allowed_hosts=<ip_servidor_nagios>
Other lines in npre.cfg:
server_port=5666
nrpe_user=capmau
nrpe_group=capmau
allowed_hosts=10.17.32.61
dont_blame_nrpe=0
debug=1
command_timeout=60
connection_timeout=300
I restarted again agent:
maresme@capmau$ ps -ef|grep nrpe
maresme@capmau$ ps -ef|grep nrpe
capmau 12126 1 24 10:15:08 ? 0:00 /opt/tools/capmau/etc/nrpe -c /opt/tools/capmau/etc/nrpe.cfg
capmau 12679 26942 1 10:15:16 pts/1 0:00 grep nrpe
but, the output is the same:
CHECK_NRPE: Socket timeout after 90 seconds
and in /var/adm/syslog/syslog.log:
Jan 31 10:17:20 maresme nrpe[15259]: Could not read request from client, bailing out...
Jan 31 10:17:32 maresme nrpe[16220]: Could not read request from client, bailing out...
Regards,