added timeperiod
This commit is contained in:
@@ -54,8 +54,24 @@ class cd_nagios::nagios::objects::timeperiods (
|
|||||||
wednesday => '09:00-17:00',
|
wednesday => '09:00-17:00',
|
||||||
thursday => '09:00-17:00',
|
thursday => '09:00-17:00',
|
||||||
friday => '09:00-17:00',
|
friday => '09:00-17:00',
|
||||||
saturday => '00:00-00:00',
|
owner => $ng_user,
|
||||||
sunday => '00:00-00:00',
|
group => $ng_user,
|
||||||
|
mode => '0640',
|
||||||
|
register => '1',
|
||||||
|
target => $ng_tgt_timeperiods_base,
|
||||||
|
}
|
||||||
|
|
||||||
|
@@nagios_timeperiod { 'out_of_hours':
|
||||||
|
ensure => present,
|
||||||
|
timeperiod_name => 'out_of_hours',
|
||||||
|
alias => 'Outside Office hours only',
|
||||||
|
monday => '17:00-09:00',
|
||||||
|
tuesday => '17:00-09:00',
|
||||||
|
wednesday => '17:00-09:00',
|
||||||
|
thursday => '17:00-09:00',
|
||||||
|
friday => '17:00-09:00',
|
||||||
|
saturday => '00:00-24:00',
|
||||||
|
sunday => '00:00-24:00',
|
||||||
owner => $ng_user,
|
owner => $ng_user,
|
||||||
group => $ng_user,
|
group => $ng_user,
|
||||||
mode => '0640',
|
mode => '0640',
|
||||||
|
|||||||
Reference in New Issue
Block a user