(appologized for hitting send in the previous message)<br><br>> No. Was '<some message here>' in the first line of output from your plugin?<br>That is part of the output from my plugin.  The output is obtained from doing a "grep ORA" from Oracle's alert log.  If there is a message, prefix it with "Warning - ", follow by the output from grep.  <br>
<br>To give you an
example, if I run the stock check_load command that came with Nagios I get these message.  I'd like my plugin to show extra messages as well.<br><br>./check_load -w 0 -c 0<br>CRITICAL - load average: 0.50, 0.40, 0.26|load1=0.500;0.000;0.000;0; load5=0.400;0.000;0.000;0; load15=0.260;0.000;0.000;0; <br>
<br>./check_load -w 0 -c 1<br>WARNING - load average: 0.52, 0.40, 0.27|load1=0.520;0.000;1.000;0; load5=0.400;0.000;1.000;0; load15=0.270;0.000;1.000;0; <br><br>./check_load -w 1 -c 2<br>OK - load average: 0.59, 0.42, 0.28|load1=0.590;1.000;2.000;0; load5=0.420;1.000;2.000;0; load15=0.280;1.000;2.000;0;<br>
<br>=David<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>