Page 1 of 1

How to force Nagios XI to send sms for critical alerts only.

Posted: Tue Aug 13, 2019 2:18 am
by hguo83
Hi,

I have manage to integrate Nagios XI with my sms modem by using this guide here : http://www.sms-integration.com/how-to-s ... s-110.html

My Nagios XI can send sms to my mobile no now whenever there are alerts but i have being receivng all the WARNING, CRITICAL and OK alerts on my mobile phone now and it is kinda flooding me as i have 50+ hosts and 1000+ services configured inside my Nagios XI now.

How do i force Nagios XI to send sms for CRITICAL alerts only ? I tried playing around with the u,w,c,r options in Alert settings but it doesn't seems to have any effect at all.

Can someone please help me out here ?? Many thanks in adavance.

Re: How to force Nagios XI to send sms for critical alerts o

Posted: Tue Aug 13, 2019 6:45 am
by scottwilkerson
For this contact you should be able to set the following

Code: Select all

service_notification_options    c,
then restart nagios

Re: How to force Nagios XI to send sms for critical alerts o

Posted: Tue Aug 13, 2019 6:53 am
by hguo83
scottwilkerson wrote:For this contact you should be able to set the following

Code: Select all

service_notification_options    c,
then restart nagios
Scott, thnx u for your reply and help..

Can you kindly tell me exactly where do i edit or add this config in my Nagios XI server which is running on CentOS 7 ?

Sorry, i am still quite a noob in Nagios XI...

Re: How to force Nagios XI to send sms for critical alerts o

Posted: Tue Aug 13, 2019 7:24 am
by scottwilkerson
Sorry, I missed this was XI

You would set it in CCM -> Contats -> Edit -> Alert Setting Tag
Select Critical under "Service Notification options"
Save
Apply Configuration