[Nagiosplug-devel] Standard output from plugins

Subhendu Ghosh sghosh at sghosh.org
Mon Feb 10 21:08:06 CET 2003


On 10 Feb 2003, Karl DeBisschop wrote:

> On Mon, 2003-02-10 at 14:36, Jeremy T. Bouse wrote:
> > 	I've been looking through the plugin documentation on the web
> > site trying to determine the way responses should be as I find a lot of
> > the plugins do not give a standardized reply back... I find some just
> > give back the reply as the output from the error:
> > 
> > 	$ ./check_pop -H some.host.domain <- host isn't runnin POP
> > 	Connection refused by host
> > 
> > 	$ ./check_dns www.yakoo.com <- Use any non-exist host
> > 	CRITICAL - Plugin timed out after 10 seconds
> > 
> > 	I also find subtle differences like "ok" or "ok:" rather than
> > "OK"... Using mixed capitals for OK or UNKNOWN but using lowercase for
> > critical or warning... Also those that just list the state vs. others
> > that identify the plugin then the state:
> > 
> > 	CRITICAL - Plugin timed out after 10 seconds
> > 
> > 		vs.
> > 
> > 	HTTP OK HTTP/1.1 200 OK -   0.268 second response time |time=0.268
> > 
> > 	I've been looking through and trying to work to make the
> > plugins all give some standardized reply back but can't really find any
> > clear cut verdict as to what should be standard... I've also found a few
> > plugins which don't actually return the proper return code (check_ssh
> > was one I've fixed) as they always returned STATE_OK no matter what the
> > actual output from the plugin stated...
> > 
> > 	Although this is only cosmetic really I think it would be a
> > good idea to get this cleaned up now rather than later if there isn't
> > any valid reason to not do so... I'm even willing to spend my time doing
> > so rather than task it out to someone else... 
> 
> 
> If it's cosmetic, should we do it during a feature freeze before what we
> hope will be our last beta?
> 

Didn't we already freeze?  


-- 
-sg





More information about the Devel mailing list