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