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

Currently I have Nagios up and running and it notifies me by email of events.

I would like to know the configuration change that I have to make, so that I will only be notified 1 time of a server going down and then only another email when it is up again.

At the moment when I server is down, I get an email every 30 minutes telling me that it is down, and I am only interested in knowing when it is up again (recovery).

I would like to know the change that I have to make in the configuration files manually. I don't use and don't want to use a fancy front-end.

share|improve this question
up vote 3 down vote accepted

In your host definition, set notification_interval to 0:

define host{
    use                     generic-host
    host_name               example
    notification_interval   0

You can see the available configuration options for a host here:

share|improve this answer

You should log into the nagios interface and acknowledge the outage this should stop subsequent alerts, remembering to clear this once service has been restored, alternatively if this is scheduled maintenance, place the service / server in scheduled downtime.

Setting the alert me only once, is not what I would call best practice, as you are telling the system to assume you got the first alert, and not to send subsequent alerts, which is a perfect world would be fine, however this is not always the case such as a failed email send due to temporary smtp outage or temporary sms gateway outage.

share|improve this answer
I would agree with that, you should never assume the relevant people have been notified just because and email has been sent. – beakersoft Nov 18 '10 at 16:10
Thank you for your advice/warning – Nov 19 '10 at 9:47

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.