which contact_group is honored

Andreas Ericsson ae at op5.se
Wed May 4 16:47:06 CEST 2005


Amy Tanner wrote:
> I'm having a hard time determining which contact_group nagios uses for
> hosts & services for those hosts, if specified contact_groups differ.
> 

What version of nagios are you running?

> It appears that the contact_group I have specified for a service
> (applied to a host_group) is being trumped by the contact_group
> specified for the host_group.  For instance, I have a host_group of ldap
> servers with contact_group = linux-admins.  I also have a service check
> of ldap on that ldap host_group with contact_group =
> linux-admins-critical.  (The difference between the 2 contact_groups is
> the timeperiod.)
> 

Timeperiods can't be set per contactgroup. Do you mean that the 
timeperiod differs in the service definition or in all the contact 
definitions?

> It looks like when an ldap service check fails for a server,
> notifications are being sent to the linux-admins group, instead of the
> linux-admins-critical group.  How can I make sure, in this situation,
> that nagios sends notifications to the linux-admins-critical contact_group?
> 
> Similarly, how does Nagios determine which contact_group to use if a host
> belongs to more than one host_group and the host_groups have different
> contact_groups?
> 

In that case all of the contacts in all the contactgroups get notified.

> 
> Thanks in advance.
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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