-
Notifications
You must be signed in to change notification settings - Fork 91
/
templates.cfg
122 lines (116 loc) · 4.59 KB
/
templates.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
define contact {
name contact-techarkit
service_notification_period 24x7
host_notification_period 24x7
host_notification_options d,r
service_notification_options w,c,r
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
host_notifications_enabled 1
service_notifications_enabled 1
can_submit_commands 1
retain_status_information 1
retain_nonstatus_information 1
register 0
}
## Host template
define host {
name linux-techarkit
check_period 24x7
check_interval 5
retry_interval 1
max_check_attempts 10
check_command check-host-alive
notification_interval 120
notification_options d,u,r
contact_groups DL-LinuxAdmins
icon_image linux40.png
statusmap_image linux40.png
action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$
notifications_enabled 1
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
notification_period 24x7
register 0
}
define host {
name windows-techarkit
check_period 24x7
check_interval 5
retry_interval 1
max_check_attempts 10
check_command check-host-alive
notification_interval 120
notification_options d,u,r
contact_groups DL-WindowsAdmins
icon_image win40.png
statusmap_image win40.png
action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$
notifications_enabled 1
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
notification_period 24x7
register 0
}
## Service template for Web Service
define service {
name webservice-techarkit
active_checks_enabled 1
passive_checks_enabled 1
parallelize_check 1
obsess_over_service 1
check_freshness 0
notifications_enabled 1
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
is_volatile 0
check_period 24x7
max_check_attempts 3
check_interval 10
retry_interval 2
contact_groups DL-WebAdmins
notification_options c,r
notification_interval 0
notification_period 24x7
action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=$SERVICEDESC$
flap_detection_enabled 1
flap_detection_options c
register 0
}
## Service template for all the services
define service {
name service-techarkit
active_checks_enabled 1
passive_checks_enabled 1
parallelize_check 1
obsess_over_service 1
check_freshness 0
notifications_enabled 1
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
is_volatile 0
check_period 24x7
max_check_attempts 3
check_interval 10
retry_interval 2
contact_groups nagiosadmins
notification_options w,c,r
notification_interval 0
notification_period 24x7
action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=$SERVICEDESC$
flap_detection_enabled 1
flap_detection_options c
register 0
}