-
Notifications
You must be signed in to change notification settings - Fork 0
/
nagios.cfg
84 lines (73 loc) · 2.38 KB
/
nagios.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
define host {
host_name _hostname_
alias _hostname_
address _ip_
register 1
use generic_host
}
define service {
host_name _hostname_
service_description common-admin-chl-cz
name _common_template_
register 0
max_check_attempts 2
normal_check_interval 5
retry_check_interval 1
active_checks_enabled 1
check_period 24x7
notification_interval 60
notification_period 24x7
notification_options w,u,c,r
notifications_enabled 1
contact_groups admins
}
define service {
use _common_template_
service_description check_load
check_command check_nrpe!check_load
}
define service {
use _common_template_
service_description disk-root
check_command check_nrpe!check_disk1
}
define service {
use _common_template_
service_description check_zombie_procs
check_command check_nrpe!check_zombie_procs
}
define service {
use _common_template_
service_description check_total_procs
check_command check_nrpe!check_total_procs
}
define service {
service_description updates
check_command check_nrpe!check_updates
use _common_template_
normal_check_interval 720
retry_check_interval 60
active_checks_enabled 1
check_period 24x7
notification_interval 720
}
define service {
service_description swap
check_command check_nrpe!check_swap
use _common_template_
}
define service {
service_description time
check_command check_nrpe!check_time
use _common_template_
}
define service {
service_description mysql
check_command check_nrpe!check_mysql
use _common_template_
}
define service {
service_description mysql-replication
check_command check_nrpe!check_mysql_replication
use _common_template_
}