|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
nagios-monitoring and openbsd 3.0
From: Vazquez Javier (j.vazquez
nzz.ch)
Date: Wed Jul 02 2003 - 03:01:16 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
i have two nagios monitoring hosts running debian linux. they collect
information using the nrpe daemon on the remote hosts.
i have installed nrpe daemons on different remote hosts running suse 7 - 8,
debian 3.0, solaris 2.6/2.7/2.8 and openbsd 3.0.
now, on openbsd 3.0 i've found the following problem:
i can use '/usr/local/nagios/libexe/check_procs -w 100 -c 150' on the obsd
3.0 shell, that gives me the correct output "OK - 55 processes running".
same as on suse, debian and solaris. now, if i try to fetch this information
through nrpe (client/daemon) from the monitoring machine or from localhost
using '/usr/local/nagios/libexec/check_nrpe -H hostname -c
check_total_procs' i receive the message "unable to read output". while
other nrpe commands like 'check_users' and 'check_load' work correctly!
nrpe.cfg is (imho) correctly configured:
'command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 50 -c
100'
i tried to enable debugging mode in nrpe. it shows me some stuff in
'/var/log/daemon.log', but it doesn't give me any hint on how to solve this
problem.
daemon.log is saying:
Jun 26 15:45:54 hostname nrpe[10153]: Added
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 100 -c
150
Jun 26 15:45:54 hostname nrpe[10153]: Handling the connection...
Jun 26 15:45:54 hostname nrpe[10153]: Host is asking for command
'check_total_procs' to be run...
Jun 26 15:45:54 hostname nrpe[10153]: Running command:
/usr/local/nagios/libexec/check_procs -w 50 -c 100
Jun 26 15:45:54 hostname nrpe[10153]: Return Code: 3, Output: Unable to read
output
has anyone else experienced this problem? as allready mentioned, this
problem just shows up on the openbsd 3.0 machines.
thanks for your help!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]