Different alerts for same contact and same service
Jon Lyons
jlyons30 at yahoo.com
Thu Feb 20 00:16:31 CET 2003
Sure,
Just create 2 contacts, one called day with e-mail alerts, and notifications set for day time hours, and a second contact call night with pager alerts and notifications set to night time hours.
Create 2 new contact groups, production and after-hours, add each user to the correct group. In the services.cfg for contact_groups put production,after-hours. You'll need to define timeperiods..
http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact
http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contactgroup
http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#timeperiod
Charles Goodsell <Charles.Goodsell at awm.gov.au> wrote:Is there a simple way to configure a contact to get an email alert
during work hours and a pager alert during off work hours?
I thought of the obvious, define the service twice and define the
contact twice that seems a little annoying for a number of reasons.
Primarily you would not be able to generate a trend or availability
report for that one service as it now encompasses two definitions over
two different time ranges.
Is there a way to do this in a more compact manner?
TIA
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
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
---------------------------------
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030219/74e0c8e3/attachment.html>
More information about the Users
mailing list