-
Notifications
You must be signed in to change notification settings - Fork 1
/
template.cfg
57 lines (53 loc) · 1.97 KB
/
template.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
# Host configuration file
define host {
use linux-server
host_name <HOST>
alias <HOST>
address <IP>
register 1
}
define service {
host_name <HOST>
service_description PING
check_command check_ping!100.0,20%!500.0,60%
max_check_attempts 2
check_interval 2
retry_interval 2
check_period 24x7
check_freshness 1
contact_groups admins,slackmins
notification_interval 2
notification_period 24x7
notifications_enabled 1
register 1
}
define service {
host_name <HOST>
service_description Check SSH
check_command check_ssh!-p 3838
max_check_attempts 2
check_interval 2
retry_interval 2
check_period 24x7
check_freshness 1
contact_groups admins
notification_interval 2
notification_period 24x7
notifications_enabled 1
register 1
}
define service {
host_name <HOST>
service_description Check HTTP
check_command check_http
max_check_attempts 2
check_interval 2
retry_interval 2
check_period 24x7
check_freshness 1
contact_groups admins
notification_interval 2
notification_period 24x7
notifications_enabled 1
register 1
}