On Sat, Aug 7, 2010 at 4:51 PM,  <[email protected]> wrote:
> Does nagios user have permissions to execute garfunkel?

Oh, yeah, this is definitely the problem. Your script doesn't check
that you have anything in $dirtypages and you don't check the result
of open().

When testing Nagios plugins from the command line make absolutely sure
you're running with the same environment that Nagios itself is running
as.

Cheers,
Martin

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
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