How to limit the amout of SMS notifications?

Assaf Flatto nagios at flatto.net
Tue Nov 15 13:35:04 CET 2011


Hi 

Have you looked at service escalations ? 
http://nagios.sourceforge.net/docs/nagioscore/3/en/objectdefinitions.html#serviceescalation 

This might give you the tool to limit the amount of alerts to send . 

Assaf 
----- Original Message -----

From: "Andrew Thompson" <andrew at fulgent.co.uk> 
To: nagios-users at lists.sourceforge.net 
Sent: Tuesday, 15 November, 2011 10:20:29 AM 
Subject: [Nagios-users] How to limit the amout of SMS notifications? 



Hi all, 

I have Nagios 3.3.1 setup on Ubuntu Desktop 11.04. 

I monitor approx. 70 hosts (mixture of Windows Servers, Switches, Firewalls) by PING only. 

Down hosts are notified to me via email and SMS at the moment. 

What I would like to so is limit the amount of SMS messages that are sent from my Nokia phone connected to my Ubuntu box. 

As it stands I allow 3 checks 1 minute apart before I am alerted via email – after that I am alerted via email every 5 minutes until recovery. 

I have just implemented the phone to SMS alerts aswell but I want to limit the amount of texts as I don’t want a text every 5 minutes until recovery for sanity reasons and also cost reasons! 

This is what I would like to happen If a host goes down: 

Email and SMS to be sent out on the 3 rd failed check to the host (So 1 st alert is sent out after 3 minutes of the host being down.) 

Then…… 

I want to be alerted via email every 5 minutes until the host recovers 

But…… 

I only want 2 more SMS after the initial SMS, 5 minutes apart and then no more SMS until the host is recovered. So I want an SMS after 3, 8 and 13 minutes of the host being down, then a recovery SMS. 

Is this possible? 

Thanks in advance 




Kind Regards 
Andrew 

T: 01386 834000 
F: 01386 834100 


Andrew at fulgent.co.uk 
www.fulgent.co.uk 


Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham, Evesham, WR11 8JJ. This communication contains information which is confidential and may also be privileged or protected by copyright. It is for the exclusive use of the addressee. If you are not the addressee please note that any distribution, reproduction, copying, publication or use of this communication or the information is prohibited. If you have received this communication in error, please telephone us immediately and also delete the communication from your computer. 

------------------------------------------------------------------------------ 
RSA(R) Conference 2012 
Save $700 by Nov 18 
Register now 
http://p.sf.net/sfu/rsa-sfdev2dev1 
_______________________________________________ 
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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20111115/58f98cfe/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
-------------- next part --------------
_______________________________________________
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