Feature or bug?

Thomas Guyot-Sionnest Thomas at zango.com
Tue Sep 26 18:31:40 CEST 2006


It is of course easy to work around this - in my case I forgot the -n switch
when I restarted snmptrapd - but I'd really like to see it as a nagios
options. It could make life much easier for many.

Does it make sense? Could it be at least made low-priority, or set for
Nagios 3 ?

Thanks,

Thomas

> -----Original Message-----
> From: Andreas Ericsson [mailto:ae at op5.se] 
> Sent: September 26, 2006 4:19
> To: Thomas Guyot-Sionnest
> Cc: Nagios-Devel
> Subject: Re: [Nagios-devel] Feature or bug?
> 
> Thomas Guyot-Sionnest wrote:
> > While implementing traps I recently noticed that you can 
> report status as
> > passive check using either the sort name (matching 
> "host_name" entry) or the
> > IP Address (matching "address" entry), but not using the 
> "alias" entry.
> > 
> > In the Nagios documentation it is recommended to use the 
> FQDN in the "alias"
> > entry, and it makes sense as it's useless to have the 
> domain name appended
> > to each host, which is in many setups probably the same.
> > 
> > Is there any good reasons why we can't use the "alias" 
> entry to match hosts?
> > If the alias entry have to be unique I don't see where this 
> could be a
> > problem...
> > 
> 
> The alias entry doesn't have to be unique, and so can't be used to 
> submit passive checks. In all fairness, the address field 
> doesn't have 
> to be unique either, although for the passive check feature to work 
> checks are expected to arrive from a particular host and the 
> admins are 
> expected to not have more than one host-entity in nagios with 
> the same 
> address (that accepts passive service-checks anyway).
> 
> Iow, the "match on $HOSTADDRESS$" feature is reasonable because the 
> IP-addresses are generally unique anyways, and it saves passive check 
> submitters the trouble of looking up the host_name entry in 
> the nagios 
> config.
> 
> The alias field is used much more freely and often contains 
> things like 
> "SQL server 2 - mirrored from sql-srv1" which really doesn't 
> make sense 
> to use.
> 
> On the other hand, nothing prevents you from either using the FQDN in 
> the address field, resolving the inbound fqdn to the IP-address, or 
> stripping the domainname from the fqdn when you submit the passive 
> checks. All three are relatively simple solutions, and all are much 
> better than allowing passive checks to be entered using the 
> host-entity's alias field.
> 
> -- 
> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Tel: +46 8-230225                  Fax: +46 8-230231
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3022 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20060926/f82e847d/attachment.bin>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list