> No. Was '<some message here>' in the first line of output from your plugin?<br>That is part of the output from the plugin. T" To give you an example, if I run the stock check_load command that came with Nagios<br>
<br><div class="gmail_quote">On Wed, Feb 3, 2010 at 4:07 PM, Marc Powell <span dir="ltr"><<a href="mailto:marc@ena.com">marc@ena.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
On Feb 3, 2010, at 2:47 PM, David Lee wrote:<br>
<br>
> Good day!<br>
><br>
> After looking around Nagios's exchange and various other website, I am resorted to writing my own plugins. I took the examples and have my shell script returning "OK - <some message here>". "OK" was picked up and reported in Nagios web interface. The color was green for my check. The message however wasn't. Am I missing some kind of flag to report "messages" in service or command.cfg?<br>
<br>
</div>No. Was '<some message here>' in the first line of output from your plugin?<br>
<br>
At the barest minimum, your plugin needs to check something, exit with the correct exit code for the state and to output one line of text for display in the GUI. There are other things it might do and this doc represents the standards for a 'good' plugin (including return codes)-- <a href="http://nagiosplug.sourceforge.net/developer-guidelines.html" target="_blank">http://nagiosplug.sourceforge.net/developer-guidelines.html</a><br>
<div class="im"><br>
> Another thing, I have in my possession Apress book on Nagios 2.0. How much is that out of date in the current 3.0 version?<br>
<br>
</div>Not too much... This document will help you identify what's different - <a href="http://nagios.sourceforge.net/docs/3_0/whatsnew.html" target="_blank">http://nagios.sourceforge.net/docs/3_0/whatsnew.html</a><br>
<br>
--<br>
Marc<br>
<br>
<br>
------------------------------------------------------------------------------<br>
The Planet: dedicated and managed hosting, cloud storage, colocation<br>
Stay online with enterprise data centers and the best network in the business<br>
Choose flexible plans and management services without long-term contracts<br>
Personal 24x7 support from experience hosting pros just a phone call away.<br>
<a href="http://p.sf.net/sfu/theplanet-com" target="_blank">http://p.sf.net/sfu/theplanet-com</a><br>
_______________________________________________<br>
Nagiosplug-help mailing list<br>
<a href="mailto:Nagiosplug-help@lists.sourceforge.net">Nagiosplug-help@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-help" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagiosplug-help</a><br>
::: Please include plugins version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</blockquote></div><br>