On Sun, Apr 08, 2007 at 07:51:53PM +0100, Andy Shellam wrote:
> Another thing to try is adding "> /tmp/nrpe-test.txt 2>&1" to the end of 
> your command in your NRPE config file.
> Then when Nagios has tried to run the plugin, /tmp/nrpe-test.txt on the 
> NRPE side will contain any output/errors etc.  That's actually how I 
> found out about the TTY problem with sudo ;)

Do you mean to nrpe_local.cfg on the remote host? Well, that's not really what 
the problem is. First of all, I just tried doing that but the file in /tmp 
never gets created? Even when I run it manually. Iøm not sure I understand what 
it is you're suggesting.

Also, the problem is still with running check_nrpe, not the actual remote 
command. That works fine.

Thanks
Henrik

-------------------------------------------------------------------------
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
[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