how to monitor memory but exclude email notification

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
araiot
Posts: 5
Joined: Fri Jul 29, 2011 12:37 pm

how to monitor memory but exclude email notification

Post by araiot »

i would like to monitor RAM but exclude email notification when it hits the warning/critical.
how do i do that?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: how to monitor memory but exclude email notification

Post 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.
Locked