recurring scheduled downtime for a service notifications

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jisaacs
Posts: 5
Joined: Mon Apr 11, 2016 1:02 pm

recurring scheduled downtime for a service notifications

Post by jisaacs »

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?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: recurring scheduled downtime for a service notifications

Post by rkennedy »

You'll want to adjust your notification_options for that service. For you, remove the 's' flag. -
notification_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.
https://assets.nagios.com/downloads/nag ... tions.html
Former Nagios Employee
Locked