Using "contacts" in host definition -- Bug ?

Schimpke, Dr. Thomas - bhn Schimpke.Thomas at bhn-services.com
Wed Sep 26 15:57:43 CEST 2012


Hi,

I noticed some strange behaviour if I add a contact to a host definition
in Nagios 3.3.2 (or so) and 3.4.1. It seems, that if I add a contact to
a host, this contact will be automatically added to all services on this
host also - I've checked this using the objects cache file. This kind of
inheritance does not seem to happen with normal contact groups.

>From the documentation:  "This is a list of the short names of the
contacts that should be notified whenever there are problems (or
recoveries) with this host..." 

One may read this like: ...the list of contacts is notified for each and
every problem (even in the services) associated with the host. 

But for the contact_groups: "This is a list of the short names of the
contact groups that should be notified whenever there are problems (or
recoveries) with this host." 

And there this kind of inheritance does not take place. So at least, the
behaviour is inconsistent - but I suspect this is a bug. You may want to
have a phone call in the middle of the night, because your server went
down....But I think you don't want to have a call for *all* services on
the host...

Cheers,

Thomas




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list