[Nagiosplug-help] plugin return ?

Jason Martin jhmartin at toger.us
Tue Jul 20 12:55:02 CEST 2004


On Tue, Jul 20, 2004 at 01:46:12PM -0600, Michael Gale wrote:
> Hello,
> 	I wish to write my own plugin for nagios but am unsure of the required output. From looking at other plugins I have
> got:
http://nagiosplug.sourceforge.net/developer-guidelines.html

> What should be correct out put be ? All STDOUT ? what about STDERR ?
STDERR will cause an error, only use STDOUT. Textually there is no required output, it is just for humans to read. The return code is what determines the state in Nagios, see the above document about that.

-Jason Martin
-- 
Backups? We don' *NEED* no steenking backups.
This message is PGP/MIME signed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 211 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20040720/11d54b84/attachment.sig>


More information about the Help mailing list