diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-03-08 21:01:24 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-03-08 21:01:24 +0000 |
commit | b785b7123edac5f58d629f171ead69d670f14785 (patch) | |
tree | 43ee5eec0391577e67bd04a2c110c10c528e0971 /doc/developer-guidelines.sgml | |
parent | 2563edba02a6babb9ce0328e33eb4c5b49b437ad (diff) | |
download | monitoring-plugins-b785b7123edac5f58d629f171ead69d670f14785.tar.gz |
Information on plugin output format
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@843 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'doc/developer-guidelines.sgml')
-rw-r--r-- | doc/developer-guidelines.sgml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml index 951f167b..718bd02a 100644 --- a/doc/developer-guidelines.sgml +++ b/doc/developer-guidelines.sgml @@ -114,7 +114,7 @@ <section id="PlugOutput"><title>Plugin Output for Nagios</title> <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 - + 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 off after a certain length.</para> @@ -124,6 +124,14 @@ when it notifies contacts about potential problems. If you print 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> <section><title>Verbose output</title> |