Using "contacts" in host definition -- Bug ?

Frost, Mark {BIS} mark.frost1 at pepsico.com
Wed Sep 26 16:25:13 CEST 2012


I believe this is a "feature" introduced in 3.3 or thereabouts.  I've
always found it very irritating and wish there was some way to turn
off inheriting host contacts/contactgroups to services as it's never
what I want.

Mark

-----Original Message-----
From: Schimpke, Dr. Thomas - bhn [mailto:Schimpke.Thomas at bhn-services.com] 
Sent: Wednesday, September 26, 2012 9:58 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Using "contacts" in host definition -- Bug ?

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

------------------------------------------------------------------------------
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