[Nagiosplug-checkins] CVS: nagiosplug/doc developer-guidelines.sgml,1.14,1.15

Ton Voon tonvoon at users.sourceforge.net
Mon Mar 8 13:19:03 CET 2004


Update of /cvsroot/nagiosplug/nagiosplug/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18852

Modified Files:
	developer-guidelines.sgml 
Log Message:
Information on plugin output format


Index: developer-guidelines.sgml
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/doc/developer-guidelines.sgml,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** developer-guidelines.sgml	21 Nov 2003 07:52:06 -0000	1.14
--- developer-guidelines.sgml	8 Mar 2004 21:01:24 -0000	1.15
***************
*** 115,119 ****
  	
  		<para>You should always print something to STDOUT that tells if the 
! 		service is working or why its failing. Try to keep the output short - 
  		probably less that 80 characters. Remember that you ideally would like 
  		the entire output to appear in a pager message, which will get chopped
--- 115,119 ----
  	
  		<para>You should always print something to STDOUT that tells if the 
! 		service is working or why it is failing. Try to keep the output short - 
  		probably less that 80 characters. Remember that you ideally would like 
  		the entire output to appear in a pager message, which will get chopped
***************
*** 125,128 ****
--- 125,136 ----
  		multiple lines, you're out of luck. Remember, keep it short and
  		to the point.</para>
+ 
+ 		<para>Output should be in the format:</para>
+ 		<literallayout>
+ 		METRIC STATUS: Information text
+ 		</literallayout>
+ 		<para>However, note that this is not a requirement of the API, so you cannot depend on this
+ 		being an accurate reflection of the status of the service - the status should always 
+ 		be determined by the return code.</para>
  		</section>
  





More information about the Commits mailing list