NRPE on monitoring host

Henrik Schou schou at acebiosciences.com
Sat Feb 16 16:54:13 CET 2008


Hi list

I'm having some trouble getting NRPE to run.

When I run the following command, it seems to be ok.
/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d

But when I try to run /etc/xinetd.d/nrpe start, i get the following errors:

nrpe: unrecognized service
/etc/xinetd.d/nrpe: line 5: flags: command not found
/etc/xinetd.d/nrpe: line 6: socket_type: command not found
/etc/xinetd.d/nrpe: line 7: wait: `=': not a pid or valid job spec
/etc/xinetd.d/nrpe: line 7: wait: `no': not a pid or valid job spec
/etc/xinetd.d/nrpe: line 8: user: command not found
/etc/xinetd.d/nrpe: line 9: server: command not found
/etc/xinetd.d/nrpe: line 10: server_args: command not found
/etc/xinetd.d/nrpe: line 11: log_on_failure: command not found
disable: Operation failed: client-error-not-found
/etc/xinetd.d/nrpe: line 13: only_from: command not found

The command I'm trying to run on my Nagios server is:
command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/sda1

But I get no results..

When I run this on the remote host, I get the result I want.
check_disk -w 20 -c 10 -p /dev/sda1

NRPE version is 2.11 on both systems.

Anybody who can help me?

- Henrik

-----------------------
The mailing list archive is found here:
http://www.nagiosexchange.org/nagios-users.34.0.html
				

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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