[Nagiosplug-devel] Working on testcases

sean finney seanius at seanius.net
Thu Nov 3 23:40:26 CET 2005


hi ton,

On Thu, Nov 03, 2005 at 03:14:18PM +0000, Ton Voon wrote:
> - if a server does not exist, it looks like check_tcp uses usage2 to  
> alert the error. This returns a status of UNKNOWN. The tests  
> currently check for CRITICAL. Which should it be? The plugin  
> documentation says UNKNOWN is: "Invalid command line arguments were  
> supplied to the plugin or the plugin was unable to check the status  
> of the given hosts/service", which does suggest hostname invalid, but  
> then I'm worried that Nagios needs to be specifically configured to  
> alert on unknown states.
> 
> Any thoughts?

my thought is that for most plugins (except the dns-related ones),
UNKNOWN seems a proper state.  chances are there's something
monitoring DNS that will issue a CRITICAL anyway.  however, i don't
feel to comitted to this opinion and would be interested to hear
the counter-argument.


	sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://nagios-plugins.org/archive/devel/attachments/20051103/e6a74557/attachment.sig>


More information about the Devel mailing list