]>
Commit | Line | Data |
---|---|---|
d8f933bd IB |
1 | class profile::monitoring::times { |
2 | Nagios_timeperiod { | |
69624636 IB |
3 | ensure => "present", |
4 | owner => "naemon", | |
5 | group => "naemon", | |
6 | target => "/etc/naemon/objects.cfg", | |
7 | notify => Service["naemon"], | |
8 | before => Service["naemon"], | |
9 | require => File["/etc/naemon"], | |
d8f933bd IB |
10 | } |
11 | ||
12 | nagios_timeperiod { "24x7": | |
13 | alias => "24 Hours A Day, 7 Days A Week", | |
14 | monday => "00:00-24:00", | |
15 | tuesday => "00:00-24:00", | |
16 | wednesday => "00:00-24:00", | |
17 | thursday => "00:00-24:00", | |
18 | friday => "00:00-24:00", | |
19 | saturday => "00:00-24:00", | |
20 | sunday => "00:00-24:00", | |
21 | } | |
22 | ||
23 | } |