That's kinda tricky. You could scrape downtime.log every 1 minute (from cron) and act upon that. You could make it as smart or dumb as you want. Dumb would be sending a notification for every host/service that is scheduled to be down in 10 minutes. Smart would be compiling all the downtimes, comparing the times and matching them up and sending out a single notification with a list of the services/hosts scheduled to be down in 10 minutes. Sounds like a fun project, pull out your perl book.
On Mon, 2006-03-27 at 09:57 -0600, Jeffrey Montgomery wrote: > Does anyone know a way to send out a notification warning that the > server is sched. for downtime 10 min before? > > -- > Jeffr > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > _______________________________________________ > 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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ 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
