I guess setting notification-interval to 0 should solve my issue. But I have two more queries- 1) sometimes a machine is rebooted on purpose. I would not like to receive a notification then. Which means I would like Nagios to wait for 15 minutes before sending out an alert. I guess giving max_check_attempts a high value should solve this. But is there any other way? And what should be this value ideally to wait for 15 minutes. 2) as I mentioned, I have made settings to get an alert only once. But is it possible to get an alert for all machines once in a week too, say every Monday morning?
Thank you very much for all your help. Please reply, Lalita -----Original Message----- From: Rob Groome [mailto:[EMAIL PROTECTED] Sent: Thursday, July 05, 2007 12:29 PM To: Lalita Drolia Subject: Re: [Nagios-users] too many Notifications On Jul 4, 2007, at 11:49 PM, Lalita Drolia wrote: > Hi, > > > > I know already a lot has been discussed on the notifications topic > but I am sorry I still want to ask this. > > I would like to receive only one notification when a host goes down > and one when it comes up, even if there maybe a gap of days in > between. > > I have read about the concept of escalations but I am not sure if > it will solve the purpose. > > Can you please suggest me how we can do this. > > > > Thank you in advance. > > Lalita. > > Read the following: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html Especially - Under the "Host Definition" sub-heading: notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this server is still down or unreachable. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re- notify contacts about problems for this host - only one problem notification will be sent out. Rob Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null