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?
Unexpected notification frequency
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unexpected notification frequency
Check in log-ss-service template (or any other underlying templates) and see if someone turned on is_volitile
-
Bitflogger
- Posts: 226
- Joined: Mon Oct 16, 2017 9:24 am
Re: Unexpected notification frequency
Thats the problem, thanks!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unexpected notification frequency
Glad to be of assistance
Locking
Locking