recurring scheduled downtime for a service notifications
recurring scheduled downtime for a service notifications
I scheduled a recurring downtime for a service that is restarted nightly. I do not get notifications that the service is down during this period. I instead get notifications for downtime start and downtime end. I don't want any notifications. I know when my downtime is. Does anyone know how to suppress these messages as well?
Re: recurring scheduled downtime for a service notifications
You'll want to adjust your notification_options for that service. For you, remove the 's' flag. -
https://assets.nagios.com/downloads/nag ... tions.htmlnotification_options: This directive is used to determine when notifications for the service should be sent out. Valid options are a combination of one or more of the following: w = send notifications on a WARNING state, u = send notifications on an UNKNOWN state, c = send notifications on a CRITICAL state, r = send notifications on recoveries (OK state), f = send notifications when the service starts and stops flapping, and s = send notifications when scheduled downtime starts and ends. If you specify n (none) as an option, no service notifications will be sent out. If you do not specify any notification options, Nagios will assume that you want notifications to be sent out for all possible states. Example: If you specify w,r in this field, notifications will only be sent out when the service goes into a WARNING state and when it recovers from a WARNING state.
Former Nagios Employee