NRPE2 and OpenBSD3.2 ?
Greg King
wgking at cips.ca
Sat Feb 21 16:39:55 CET 2004
In a lab I have installed Nagios1.1 & nrpe2 on a RedHat 8 system(z3), and
nrpe2 on a 2 other machines - a RedHat7.2 and an OpenBSD3.2. In all cases I
compiled nrpe and the Nagios plugins 1.3.1 on the target machines.
When I test check_nrpe to the openBSD system (eniac) the test times out, and
the target system gets very busy (100% cpu) for a minute or so then returns
to normal. I've turned on debug but there doesn't seem to be any errors in
the logs. FAQs and Google searchs have come up empty as well. The RedHat7.2
system works beautifully. The plugins themselves work fine on the target
system.
Has anyone seen this before? Any ideas how to dig deeper into the issue?
Some info that may help:
Test command on nagios system:
[root at Z3 root]# /usr/local/nagios/libexec/check_nrpe -H eniac -c check_load
CHECK_NRPE: Socket timeout after 10 seconds.
Info from target system (filtered for relevant output):
eniac# ps -ax
PID TT STAT TIME COMMAND
1 ?? Is 0:00.21 /sbin/init
9148 ?? Is 0:00.94 syslogd
30864 ?? Is 0:00.32 inetd
14784 ?? Is 0:35.00 /usr/sbin/sshd
12315 ?? Is 0:00.22 cron
13717 ?? Is 0:05.23 nmbd
20666 ?? Is 0:01.17 sendmail: accepting connections (sendmail)
11646 ?? Is 0:03.37 sshd: greg [priv] (sshd)
20234 ?? I 0:02.38 sshd: greg at ttyp0 (sshd)
2304 ?? Is 0:00.08 /usr/sbin/nrpe -c /etc/nrpe.cfg -d
30385 ?? R 0:33.50 /usr/sbin/nrpe -c /etc/nrpe.cfg -d
23215 p0 Is 0:00.27 -sh (sh)
20489 p0 R 0:00.93 -csh (csh)
29348 p0 R+ 0:00.03 ps -ax
29783 C0- I 0:06.15 /usr/local/sbin/snmpd -c /etc/snmpd.conf
7770 C0 Is+ 0:00.21 /usr/libexec/getty Pc ttyC0
10583 C1 Is+ 0:00.20 /usr/libexec/getty Pc ttyC1
431 C2 Is+ 0:00.20 /usr/libexec/getty Pc ttyC2
55 C3 Is+ 0:00.21 /usr/libexec/getty Pc ttyC3
1380 C5 Is+ 0:00.21 /usr/libexec/getty Pc ttyC5
eniac# netstat -a |grep nrpe
tcp 0 0 *.nrpe *.* LISTEN
eniac# tail /var/log/daemon
Feb 20 15:44:08 eniac nrpe[23554]: INFO: SSL/TLS initialized. All network
traffic will be encrypted.
Feb 20 15:44:08 eniac nrpe[2304]: Starting up daemon
eniac#
eniac# tail /var/log/messages
Feb 20 15:44:08 eniac nrpe[2304]: Starting up daemon
eniac#
eniac# grep -v -e # /etc/nrpe.cfg
server_port=5666
allowed_hosts=192.168.0.5
nrpe_user=nagios
nrpe_group=nagios
dont_blame_nrpe=0
debug=1
command_timeout=60
command[check_users]=/usr/local/libexec/check_users -w 2 -c 5
command[check_load]=/usr/local/libexec/check_load -w 15,10,5 -c 30,25,20
command[check_disk1]=/usr/local/libexec/check_disk -w 10 -c 5 -p /
command[check_disk2]=/usr/local/libexec/check_disk -w 20 -c 10 -p /
command[check_zombie_procs]=/usr/local/libexec/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/libexec/check_procs -w 150 -c 200
eniac#
eniac# /usr/local/libexec/check_load -w 15,10,5 -c 30,25,20
OK - load average: 0.06, 0.14, 0.17
Eniac#
Regards,
Greg King
wgking at cips.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040221/410e14f0/attachment.html>
More information about the Users
mailing list