As root, run "sudo -u accountname checkscript" (where accountname is what NRPE 
is running under) 



If it runs correctly, make sure to echo $? to ensure your return code is 
getting set correctly. 


-- 
Jason Faulkner 
Lead Systems Engineer 
iContact Corporation 

----- Original Message ----- 
From: "Gavin Williams" <[EMAIL PROTECTED]> 
To: "kyle odonnell" <[EMAIL PROTECTED]> 
Cc: [email protected] 
Sent: Monday, April 28, 2008 10:57:00 AM (GMT-0500) America/New_York 
Subject: Re: [Nagios-users] Strange NRPE Problem... 

The NRPE Demon is running under the Local System account - all my 
previous DB scripts have worked fine, so not sure why this one is any 
different... 

Not sure of any ways of explicitly testing it under the Local System 
account...
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagios-users mailing list
[email protected]
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