> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Kaplan, Andrew H.
> Sent: Monday, December 18, 2006 8:48 AM
> To: Andy Shellam (Mailing Lists); nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Return Code 127
> 
> I checked that out and I confirmed that the nagios user could 
> execute the plugin by manually running check_nrpe by itself 
> and getting the help information printed onscreen. 
> 
> I confirmed the permissions on the file were 775, while the 
> user and group owners are nagios:nagios. The location of the 
> directory for the plugin is /usr/lib/nagios/plugins, and is 
> owned by user and group root:root with the permissions 775. 
> The parent directory, /usr/lib/nagios, is also owned by user 
> and group root:root with the permissions 755. 
> 
> Do I need to change the ownership on the two parent 
> directories to user and group nagios:nagios with permissions 
> 775, or is there something else that I should do? 

It's a bit more likely that your check command has an error in it. The
messages you're seeing nearly always mean you're trying to run a plugin
that isn't there.

What does your check command look like?  If it uses variables, make sure
they're set to what you think they are.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to