From 9d9834647c7d704017bb8e27aefee7b081aa0bb1 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Fri, 18 Nov 2005 11:56:00 +0000 Subject: Updated with more detailed description of UNKNOWN states git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1287 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml index f950b8f..193bc9b 100644 --- a/doc/developer-guidelines.sgml +++ b/doc/developer-guidelines.sgml @@ -136,14 +136,6 @@ crt (remember when fixing stuff in the server room!) -
Return the proper status code - See below - for the numeric values of status codes and their - description. Remember to return an UNKNOWN state if bogus or - invalid command line arguments are supplied or it you are unable - to check the service. -
-
Plugin Return Codes The return codes below are based on the POSIX spec of returning a positive value. Netsaint prior to v0.0.7 supported non-POSIX @@ -190,8 +182,12 @@ 3 Unknown Invalid command line arguments were supplied to the - plugin or the plugin was unable to check the status of the given - hosts/service + plugin or low-level failures internal to the plugin (such as unable to fork, + or open a tcp socket) that prevent it from performing the specified + operation. Higher-level errors (such as name resolution errors, + socket timeouts, etc) are outside of the control of plugins and should + generally NOT be reported as UNKNOWN states. + -- cgit v0.10-9-g596f