This is the link I meant to send: http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=118
Rafael On Tue, Dec 29, 2009 at 9:24 AM, Rafael Carneiro <[email protected]>wrote: > I know what I'm going to suggest is not ideal/easy, but you could have a > cron job that runs on the 3rd sunday and that job sends a command to Nagios > scheduling the downtime. > > Your cron entry would look something like this: > 0 4 15-21 * 0 /path/to/my/command > > And this will help you write the exact command you need: > http://nagios.sourceforge.net/docs/1_0/extcommands.html > > If those hosts are monitored by slaves, you'll have to work with the > sendcmd2slaves (basically create/append a file called > /usr/local/nagios/var/slave_commands.cache and make sure sendcmd2slaves > sends it to your slaves). > > Rafael > > > 2009/12/29 <[email protected]> > > Hi >> >> I have one question, how can I schedule downtime every 3th sunday? >> >> Thanks in advance and regards, >> >> Thomas >> -- >> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! >> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 >> _______________________________________________ >> Opsview-users mailing list >> [email protected] >> http://lists.opsview.org/lists/listinfo/opsview-users >> > >
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
