Overly persistent contact group
Frost, Mark {PBC}
mark.frost1 at pepsico.com
Wed May 26 21:00:11 CEST 2010
Mordur,
Two thoughts on this. First, I find that I've been burned many times by
contact/contactgroup inheritance. That is, where you define a contactgroup
for a host and that gets inherited by the service (when I don't want it to).
Second, I rely a lot on looking at the "Configuration" link at the bottom of the
Nagios web interface. That lets you look and see what's really defined for
all the objects (hosts, services, contacts, contactgroups, timeperiods, etc).
Essentially it allows me to go in and compare what I intended to say in the
configuration with what Nagios really is using.
Mark
-----Original Message-----
From: mlists at 1984.is [mailto:mlists at 1984.is]
Sent: Wednesday, May 26, 2010 2:50 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Overly persistent contact group
Dear list,
I have nagios3 on Debian Lenny. I created a service template and host
template for a customer as well as a couple of contacts and a contact
group. I specified the contact group in the host and service template
and created some host and service defininitions based on the
aforementioned templates.
So I hoped that notifications would be sent to these new contacts as per
the setup descibed above. This hope failed, and notifications were only
sent to a 'admins' contactgroup, which is not specified anywhere in the
setup of those hosts, services, contacts, group or template.
When I remove the 'admins' contact group from the config files and run a
test of the config, I get this:
Error: Contact group 'admins' specified in service 'SYSTEM STATUS' for
host 'host.domain.tld' is not defined anywhere!
Even though this contact group is mentioned nowhere in connection with
these hosts or services.
It seems that all contact groups except the one named 'admins' fail to
register with the Nagios system and that the 'admins' contact group is
somehow automatically associated with all host definitions, regardless of
which contact group is actually specified in configuration.
Mordur Ingolfsson
------------------------------------------------------------------------------
_______________________________________________
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
------------------------------------------------------------------------------
_______________________________________________
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