Delay Notifications
Posted: Thu Sep 06, 2018 9:56 am
I ask for support to configure the notifications (they already work by postfix to Exchange), what I want to configure is to be notified when my communications equipment is turned off or the service recovers, if possible, the event occurs, besides that when some services fail for example lack of energy.
I see that the contacts, host and service are configured, the notification options are configured but now the notification is delayed after the event has occurred.
define host{
use windows-server ; The name of this host template
host_name winserver ;
alias My Windows Server ;
address 192.168.32.25 ;
check_period 24x7 ; By default, Windows servers are monitored round the clock
max_check_attempts 2 ; Check each server 10 times (max)
check_interval 4 ; Actively check the server every 5 minutes
check_command check-host-alive ; Default command to check if servers are "alive"
retry_interval 1 ; Schedule host check retries at 1 minute intervals
notification_enabled 1 ; Send notification out at any time - day or night
notification_period 24x7 ; Send notification out at any time - day or night
notification_options d,u,r,s ; Only send notifications for specific host states
contact_groups admins ; Notifications get sent to the admins by default
}
I see that the contacts, host and service are configured, the notification options are configured but now the notification is delayed after the event has occurred.
define host{
use windows-server ; The name of this host template
host_name winserver ;
alias My Windows Server ;
address 192.168.32.25 ;
check_period 24x7 ; By default, Windows servers are monitored round the clock
max_check_attempts 2 ; Check each server 10 times (max)
check_interval 4 ; Actively check the server every 5 minutes
check_command check-host-alive ; Default command to check if servers are "alive"
retry_interval 1 ; Schedule host check retries at 1 minute intervals
notification_enabled 1 ; Send notification out at any time - day or night
notification_period 24x7 ; Send notification out at any time - day or night
notification_options d,u,r,s ; Only send notifications for specific host states
contact_groups admins ; Notifications get sent to the admins by default
}