Different alerts for same contact and same ser vice

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Thu Feb 20 00:37:03 CET 2003


You won't need to define the service twice.  But you *will* need to define 2
contacts, one which receives e-mail during 'workhours', the other which
receives pages during 'nonworkhours'.  Both contacts can be added to the
same contactgroup, and that contactgroup can be associated with the
host/hostgroup.

jc


> -----Original Message-----
> From: Charles Goodsell [mailto:Charles.Goodsell at awm.gov.au]
> Sent: Wednesday, February 19, 2003 4:53 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Different alerts for same contact and same
> service
> 
> 
> 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
> 


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





More information about the Users mailing list