No output returned from plugin

Stuart Browne stuart.browne at ausregistry.com.au
Thu Nov 25 23:14:23 CET 2010


> > Perhaps you'd like to run the plugin (as nagios) when it is erroring
> > and show us the output?
> 
> I was just about to ask the same question, when this thread appeared. I
> have exactly the same problem. In my case it is a Python script. The
> output is fine for the OK state, but missing for other states. I have
> confirmed:
> 1) It writes to STDOUT
> 2) There is no space or black line in the output
> 3) It works when run from the command line as nagios in the error state
> 
> Any suggestions?
> 
> Regards
> Marius

Same as above.  Show us what it says / does when it errors from the command
line.

Redirect STDERR to /dev/null and just show us the STDOUT.

Stuart

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
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