> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Lalita Drolia > Sent: Thursday, July 05, 2007 7:21 AM > To: Rob Groome > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] too many Notifications > > > 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.
For service checks this is pretty straightforward adjusting retry_check_interval and max_check_attempts. You do not want a max_check_attempts set that long for host checks with nagios-2.x or prior. Nagios stops _all_ other processing while hosts are being checked, up to max_check_attempts, so for 15 minutes nagios would do nothing but check that host. Using scheduled downtime is the easiest and preferred way or you could escalations but that gets messier. > 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? You'd need to create a custom notification script that contained this logic. Nagios does not have the ability to queue notifications; it'll call the notification script as soon as they're triggered. Your script could take those, store them in a file or database, then send them whenever you chose. -- Marc ------------------------------------------------------------------------- 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