Question on notifications and services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Question on notifications and services

Post by niebais »

Hi
One of the departments in our company asked me the following question:
Is it possible to set up a service or a host to notify somebody during the day hours by email and SMS messaging and then at night only email them? I couldn’t find any way of doing that inside of Nagios. Does anybody know how I could accomplish this task in XI?
User avatar
admin
Site Admin
Posts: 256
Joined: Mon Oct 12, 2009 8:21 am

Re: Question on notifications and services

Post by admin »

In the next update to XI we're going to allow PHP code to be included in the notification messages. The PHP code will be evaluated before the message is sent out, so you could write a few simple lines of PHP to cancel a certain notification type (email, SMS) etc. based on the current weekday or time, etc.

Will that work for you?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Ethan Galstad
President
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Question on notifications and services

Post by niebais »

I'll give it a try. Sounds like something that would work out ok.
Locked