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

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
MacDschie
Posts: 7
Joined: Tue Sep 23, 2014 3:58 am

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

Post 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...)?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post 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
Former Nagios employee
Locked