Page 1 of 1

How to change the notification period of a service "by host"

Posted: Tue Sep 23, 2014 4:07 am
by MacDschie
Hi there,

we use Nagios in our company for a while now and it's a great monitoring tool. However, a question popped up about the configuration:

We monitor several servers with a notification period 24/7. One of those servers is for development purposes. So, for this machine and it's services, we want to get notification e-mails oniy outside of the work hours. This works fine for the host itself (I can assign another notification period to the host). However, we still get notifications messages during the day for the services associated to this host.

If I change the notification period of the services, it will affect all other hosts the services are assigned to. But they should notify 24/7. Is there another solution than to clone all the services and configure the clones for the development host only (would take a lot of time...)?

Re: How to change the notification period of a service "by h

Posted: Tue Sep 23, 2014 9:24 am
by tmcdonald
In most cases if you want to have a service configured two different ways you will need two different services. However the notification options, some of them can be omitted from the service and inherited from the host:

http://nagios.sourceforge.net/docs/3_0/ ... nheritance