Page 1 of 1

Unexpected notification frequency

Posted: Thu Jun 07, 2018 12:48 pm
by Bitflogger
Hello,
I have a number of services on a server, that experienced a NRPE loss of connectivity, and send notifications every 5 minutes. Here is the flat-file definition of one of them.

define service {
service_description w_log_sys_w3svc
use log-ss-service
hostgroup_name w_log_servers_test
check_command check_nscp!CheckEventLog -a filter=in file=system MaxCrit=1 filter.eventID==1002 filter.eventID==1011 filter+eventSource='W3SVC' filter+generated='<6m' truncate=3000 descriptions "syntax=EventID: %id% Type: %type% Source: %source% Time: %written% Message: %message%"
check_interval 5
notification_interval 5760
notification_options c,w,r
contact_groups ovo-ss-nrpe
_alert_description Notify on selected W3SVC events
_ci (qa)
_support_info Critical denotes a W3SVC problem on the server
register 1
}

This is imported from a Nagios 3 server, where it seems to honor the notification_interval. The NagiosXI GUI also shows a notification_interval of 5760. Any ideas why I received 5 minute notifications?

Re: Unexpected notification frequency

Posted: Thu Jun 07, 2018 1:12 pm
by scottwilkerson
Check in log-ss-service template (or any other underlying templates) and see if someone turned on is_volitile

Re: Unexpected notification frequency

Posted: Thu Jun 07, 2018 2:57 pm
by Bitflogger
Thats the problem, thanks!

Re: Unexpected notification frequency

Posted: Thu Jun 07, 2018 3:25 pm
by scottwilkerson
Glad to be of assistance

Locking