Page 1 of 1

how to monitor memory but exclude email notification

Posted: Mon Aug 15, 2011 11:53 am
by araiot
i would like to monitor RAM but exclude email notification when it hits the warning/critical.
how do i do that?

Re: how to monitor memory but exclude email notification

Posted: Mon Aug 15, 2011 3:56 pm
by mguthrie
This can be set with the notification_options directive:

http://nagios.sourceforge.net/docs/3_0/ ... ml#service
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.