Customize Icinga2 configuration

Add 30 seconds timeout to the apt check
This commit is contained in:
Ciaby 2015-05-29 14:59:00 -05:00
parent ff76e8340d
commit 912a286278
13 changed files with 485 additions and 1 deletions

View file

@ -0,0 +1,20 @@
/**
* The example downtime apply rule.
*/
apply ScheduledDowntime "backup-downtime" to Service {
author = "icingaadmin"
comment = "Scheduled downtime for backup"
ranges = {
monday = service.vars.backup_downtime
tuesday = service.vars.backup_downtime
wednesday = service.vars.backup_downtime
thursday = service.vars.backup_downtime
friday = service.vars.backup_downtime
saturday = service.vars.backup_downtime
sunday = service.vars.backup_downtime
}
assign where service.vars.backup_downtime != ""
}