Hello,
I need to enable SMS notifications for specific services of a specific host.
How can i enable it?
Right now all SMS notification is enabled but as per my requirement I want to enable SMS notification only for some services of random hosts
Thanks in advance
Enable SMS notification for specific service only
-
- Posts: 3
- Joined: Sat May 22, 2021 3:58 pm
-
- Posts: 3
- Joined: Sat May 22, 2021 3:58 pm
Re: Enable SMS notification for specific service only
Hello All,
Is anyone available to help
Thanks
Is anyone available to help
Thanks
Re: Enable SMS notification for specific service only
For the standard Nagios Core event handlers, I think you'd need to create separate "email" and "sms" contact (or contactgroup) definitions and selectively assign them to the service/host objects you wish to receive either email/sms notifications on.
You could also have separate "do SMS" and "do email" event handlers, assigned to specific host/service objects. That could allow you to reference the same contact object for both.
Or a single custom event handler which references custom variables in your host/service object definitions to know when one should be "SMS notified" and another should be "email notified".
You could also have separate "do SMS" and "do email" event handlers, assigned to specific host/service objects. That could allow you to reference the same contact object for both.
Or a single custom event handler which references custom variables in your host/service object definitions to know when one should be "SMS notified" and another should be "email notified".
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/