sending warnings and criticals via different transports.

Steve Shipway s.shipway at auckland.ac.nz
Mon Jun 21 03:55:46 CEST 2004


I achieved this by creating a dummy user, 'pager' that accepts only
criticals, and added them to the same contact group as the rest of us.  Of
course, this is easy because we have a single on-call pager that is passed
around.  If you are trying to do this for separate people, I would suggest
you create a separate wrapper script that checks the alert is CRITICAL and
only calls the pager program if so.  Just define this as a new command in
the .cfg files, and hook it in as a different alert method.
 
Steve
 
 

---
Steve Shipway: ITSS, University of Auckland
Email: s.shipway at auckland.ac.nz  Web: http://www.steveshipway.org/ 
** We can only discover new oceans when we have the **
** courage to lose sight of the shore.              ** 

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Christopher
Thuys
Sent: Monday, 21 June 2004 1:18 p.m.
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] sending warnings and criticals via different
transports.



Hi, 
I am trying to configure the sending of warning alerts via email only and
the sending of criticals via e-mail and sms. 
I have read the DOCO and can not find out how to achieve this apart from
setting up a user twice once for warnings via e-mail and once for critical
alerts via sms.

Has any one done this? 

I 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040621/041834ce/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Steve Shipway.vcf
Type: text/x-vcard
Size: 154 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040621/041834ce/attachment.vcf>


More information about the Users mailing list