Email Alert for Down Machine

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
gavinr98
Posts: 22
Joined: Wed Jan 23, 2013 4:05 pm

Email Alert for Down Machine

Post by gavinr98 »

So I can successfully send email alerts from nagios but the problem I am having is when a server goes down I am not getting an immediate email that the status is down. Can anyone give me some suggestions on how to fix this?

Running Version 3.4.4 on Ubuntu 12.10 with Postfix

Thanks,
Gavin
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Email Alert for Down Machine

Post by slansing »

By default the notifications are sent out on a Hard state change, to change the amount of times a service or host gets checked before it is sent from Soft to Hard modify the following definition within the Host or Service config file:
When a service or host check results in a non-OK or non-UP state and the service check has not yet been (re)checked the number of times specified by the max_check_attempts directive in the service or host definition. This is called a soft error.
gavinr98
Posts: 22
Joined: Wed Jan 23, 2013 4:05 pm

Re: Email Alert for Down Machine

Post by gavinr98 »

Thanks, I have changed the config file.
Locked