Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a group of machines all running the same checks.

Within this group there are dev machines and prod machines.

I only want to be alerted to the checks after hours when the machines are prod machines.

With the minimum amount of changes what is the simplest way to achieve this?


share|improve this question
up vote 2 down vote accepted

That depends on how you configure it. Service notification time inherits from host notification time, and you can make hosts use a template. That's how I tend to set up these things.

share|improve this answer
Thanks I'll take a look at that. – user610209 May 24 '13 at 18:57
I found this - so I think I'll use the host template. Thanks. – user610209 May 24 '13 at 23:34

I'm not used to work with Nagios, but wouldn't it be better if you grouped your hosts by "prod" and "dev" machines instead of "same checks" machines? That way you could set one notification rule for the whole group instead of doing it individually.

I know that you can define multiple groups for a host in Zabbix but I don't know if that would work in Nagios.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.