Remote NRPE calls always unknown.

Marc Powell marc at ena.com
Tue Jul 26 17:02:50 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Jonathan Baker
> Sent: Tuesday, July 26, 2005 9:37 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Remote NRPE calls always unknown.


> I've set up my command definition for check_nrpe like this: -
> 
> define command {
>     command_name        check_nrpe
>     command_line            $USER1$/check_nrpe -H %HOSTADRESS$ -c
$ARGS1$
> }
> 

See other e-mails for commentary on this.


> 
> If I switch to the Nagios user "nagios" and execute this command from
the
> shell, it works fine: -
> 
> [root at localhost libexec]# ./check_nrpe -H <remote ip address> -c
> check_disk_root
> DISK OK [725088 kB (73%) free on /dev/sda8]

Note that you are 'root@' so you're still running the command as root,
not nagios. The '#' prompt re-enforces that deduction. I don't think
that's your problem based on the other e-mails. I'm just pointing it out
for future reference.

--
Marc


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
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