Page 1 of 1
Email Alert for Down Machine
Posted: Thu Jan 24, 2013 3:34 pm
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
Re: Email Alert for Down Machine
Posted: Fri Jan 25, 2013 11:34 am
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.
Re: Email Alert for Down Machine
Posted: Fri Jan 25, 2013 1:44 pm
by gavinr98
Thanks, I have changed the config file.