scheduled downtime

Skip Montanaro skip at pobox.com
Wed Sep 10 21:23:42 CEST 2003


    Dylan> I read in the FAQs there is no way to schedule reoccurring
    Dylan> downtime within Nagios but to use cron to submit the command
    Dylan> instead. Is anybody doing this? Can somebody help me with what
    Dylan> the command is I need to submit to cron?

Something suggested to me (which I have yet to try) was to define a
timeperiod object which doesn't include the scheduled downtime.  That
probably won't work if your scheduled downtimes are not every week.

I don't know if there's a command-line tool which will schedule downtime for
you.  You should be able to figure out a URL which does the necessary form
submission for the host in question using the existing submission form.  You
can then fetch that URL using wget or other command-line URL fetcher.

-- 
Skip Montanaro
Got gigs? http://www.musi-cal.com/
          http://www.mojam.com/
Got spam? http://spambayes.sf.net/


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list