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
Email Alert for Down Machine
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Email Alert for Down Machine
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
Thanks, I have changed the config file.