seperating notification types based on timeperiod and nothing els e??

terry galimore at mac.com
Wed Aug 14 10:33:05 CEST 2002


You don't have to set up two contact groups.

Simply set up two timeperiods... one for when they should get E-mail 
(which is always?) and one for when they get paged.

Create a user that gets paged, and a user that gets E-mail and add them 
to the one contact group.

Nagios will figure out when to send what based on your time periods.

Hope that helps,

- Terry


On Tuesday, August 13, 2002, at 12:07  PM, Bishop, Dean wrote:

> Good morning,
>
>   	k, so i have 1100 hosts setup in my nagios config.  i am now
> configuring the notification for these hosts and services.  The 
> problem is
> that i have hosts/services that are deemed critical and i want to be 
> able to
> change the method of notification depending on the timeperiod.
>
> e.g.  Critical_server goes down during working hours, techs are 
> on-site and
> watching their e-mail so i just want them to be notified via e-mail.
>
>       If Critical_server goes down during non-working hours, techs are 
> not
> checking their e-mail and need to be paged as well.
>
>  	It seems as though the only place to tell nagios _how_ to notify a
> contact is in the contact.cfg.
>
> 	Based on my understanding, i would have to create two contacts for
> each technician (tech1-workinghours, tech1-nonworkinghours,
> tech2-workinghours, tech2-nonworkinghours...) and also two 
> contactgroups
> (techs-workinghours, techs-nonworkinghours).  Then i add both 
> contactgroups
> to the host's/service's "contact_groups" entry.
>
> 	Does anyone have a better way of doing this??
>
> thanks in advance,
> dean
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31




More information about the Users mailing list