Problem with the restarting of nrpe deamon
carole gimenez
gimenez at cict.fr
Fri Jan 7 15:06:14 CET 2005
Hi,
I check with the help of nrpe addon (version 2.0) the local services
(disk space, swap space, load, total processes) of a remote host which
is a sun server (solaris 8).
When this host reboot, the nrpe deamon restart well but only the
check_disk is OK. The others checks returns this message:
NRPE: Unable to read output
I don't understand why it's happens. Nagios monitors others sun servers
checking also local services and all works fine when the hosts restart.
The init script for nrpe is the following:
#!/bin/sh
#
# Created 2000-01-03 by jaclu at grm.se
#
# nrpe This shell script takes care of starting and stopping
# nrpe.
#
# chkconfig: 2345 80 30
# description: nrpe is a daemon for a remote nagios server, \
# running nagios plugins on this host.
# processname: nrpe
# config: /usr/local/nagios/etc/nrpe.cfg
LD_LIBRARY_PATH=/usr/local/ssl/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
NrpeBin=/usr/local/nagios/bin/nrpe
NrpeCfg=/usr/local/nagios/etc/nrpe.cfg
# See how we were called.
case "$1" in
start)
# Start daemons.
echo "Starting nrpe: "
$NrpeBin -c $NrpeCfg -d
echo
;;
stop)
# Stop daemons.
echo -n "Shutting down nrpe: "
;;
restart)
;;
status)
status nrpe
;;
*)
echo "Usage: nrpe {start|stop|restart|status}"
exit 1
esac
exit 0
Does someone have an idea?
Thank for advance.
Carole.
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list