Melanie Pfefer wrote: > hi > we have a weekly reboot for a server at midnight and > we want nagios to defer the notification e-mail till > morning. > > How to do that?
Short answer: You can't. Long answer: Write a script that adds a "to-send" email file in mbox format (or some such) somewhere on the server, and have your cron run a script that sends those out whenever appropriate. The notification command script should ofcourse only queue mail for when you don't want to send it, and otherwise send it immediately. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list [email protected] 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
