Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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'm just curios, let's say i made a definition for a host and i specified it to check/notify at certain time 10-18 yet in service i said 24/7, who's taking priority? would i get alerts 24/7 or would it fall under host's rules and it'd be 10-18?

share|improve this question

I am pretty sure you would get a notification for the service. However, you might not get the service notification if the service is down as a result of the host being down. Nagios configs can be complicated, I always recommend testing.

share|improve this answer
+1 for recommending testing. Every time I think I understand part of it testing proves me wrong. :( – John Gardeniers Mar 9 '10 at 0:27
John Gardeniers: Ya, Nagios config can be tricky and have edge cases, check out this edge case I ran into: – Kyle Brandt Mar 9 '10 at 1:21

Note that a service failure can trigger a host check. So if it's outside of the host check time period, but the service check fails, I believe it will specifically request a host check. If the host is down and you are outside of the notify time period, I believe it will swallow your alert. This may or may not be what you intend.

However, it seems odd that you would check the service 24/7 but the host it runs on only 8/7.

As with all things nagios, make sure you test both service and host failures in the different time periods to ensure it is acting as you expect.

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.