Set downtime automatically

For example, if CPU Load will be very high during daily backup at 22:00 ~ 00:00, we can schedule a daily downtime for the CPU Load check.

Add this entry in a file under /etc/cron.d/

# daily backup at 22:00, and takes less than 2 hours, so don't notify during this period:
00 22 * * *  nagios /usr/lib/nagios/plugins/set_downtime.pl -H myhost -C svc -s "CPU Load" -b 0 -e 7200 -m fix -u nagios-admin -c "doing daily backup"
nagios/set_downtime_automatically.txt · Last modified: 2010-02-25 12:00 by admin
Back to top
GNU Free Documentation License 1.3
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0