No output returned from plugin
Alexander Haas
alex at geloet.de
Wed Nov 24 21:50:56 CET 2010
Hi list,
it's me again :)
I wrote a plug-in which does work great. It works from the shell as
root, from the shell as nagios and from nagios executed as plug-in.
The only problem is when there is an error returned. It does not work
when i execute it from nagios as a plug-in and there is an error (=>
return code != 0). Every time my plug-in returns anything but zero,
Nagios tells me that there is "No output returned from plugin". It does
not matter if my script does output its error message on STDOUT or
STDERR. Of cause there is an error message visible when I execute my
plug-in from a shell.
I guess there is an easy explanation?
Thank you very much,
Alex
------------------------------------------------------------------------------
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