Nagios-users digest, Vol 1 #2597 - 26 msgs

Roy McMorran mcmorran at mdibl.org
Thu May 5 20:52:07 CEST 2005


Thusly spake nagios-users-request at lists.sourceforge.net on 5/5/2005 
12:02 PM:

>Message: 5
>Date: Thu, 05 May 2005 14:44:28 +1000
>From: Guy Waugh <gwaugh at scu.edu.au>
>To: nagios-users at lists.sourceforge.net
>Subject: [Nagios-users] NRPE with user-supplied args: NRPE doesn't seem to get args
>
>I'm now trying to monitor a remote host using nrpe. The remote host is 
>also a RHEL3 box. It doesn't have nagios installed - just the plugins, 
>and the nrpe daemon, which I have set up to run under xinetd.
>
><snip>
>
>It seems as if nrpe on the remote-server doesn't receive the warning and 
>critical arguments.
>

As I recall, NRPE must have the arguments hard-coded in the nrpe.cfg file (on the remote system), eg
command[check_users]=/usr/local/nagios/libexec/check_users -a 5 10

Then in your service definition you just use
check_command check_nrpe!check_users

That's what works for me, although I am at version 2.x.

Best wishes,
-r

-- 
Roy McMorran
Systems Administrator
MDI Biological Laboratory
Salisbury Cove, ME  




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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