OP#436 add timeperiods
This commit is contained in:
@@ -41,5 +41,18 @@ class confdroid_nagios::nagios::objects::add_timeperiod_rules (
|
||||
content => template($ng_tgt_timep_head_erb),
|
||||
order => '000',
|
||||
}
|
||||
|
||||
# default timeperiod rule 24x7
|
||||
confdroid_nagios::nagios::objects::add_timeperiods { '24x7':
|
||||
ng_timeperiod_name => '24x7',
|
||||
ng_timeperiod_alias => '24x7',
|
||||
ng_timep_monday => '00:00-24:00',
|
||||
ng_timep_tuesday => '00:00-24:00',
|
||||
ng_timep_wednesday => '00:00-24:00',
|
||||
ng_timep_thursday => '00:00-24:00',
|
||||
ng_timep_friday => '00:00-24:00',
|
||||
ng_timep_saturday => '00:00-24:00',
|
||||
ng_timep_sunday => '00:00-24:00',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user