-
Notifications
You must be signed in to change notification settings - Fork 91
/
Nagios-Template-Linux.cfg
113 lines (106 loc) · 4.38 KB
/
Nagios-Template-Linux.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
###############################################################################
#
# HOST DEFINITIONS
#
###############################################################################
define host {
use windows-server
host_name XXXX
alias XXXX
address ZZZZ
}
###############################################################################
#
# SERVICE DEFINITIONS
#
###############################################################################
define service {
use generic-service
host_name XXXX
service_description PING
check_command check_ping!100.0,20%!500.0,60%
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 0
notification_period 24x7
notifications_enabled 1
contacts nagiosadmin
contact_groups admins
}
define service {
host_name XXXX
service_description CPU Usage
use generic-service
check_command check_nt!password!CPULOAD!-l 5,90,95
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 0
notification_period 24x7
notifications_enabled 1
contacts nagiosadmin
contact_groups admins
}
define service {
host_name XXXX
service_description Drive C: Disk Usage
use generic-service
check_command check_nt!password!USEDDISKSPACE!-l C -w 90 -c 95
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 0
notification_period 24x7
notifications_enabled 1
contacts nagiosadmin
contact_groups admins
}
define service {
host_name XXXX
service_description Memory Usage
use generic-service
check_command check_nt!password!MEMUSE!-w 90 -c 95
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 0
notification_period 24x7
notifications_enabled 1
contacts nagiosadmin
contact_groups admins
}
define service {
host_name XXXX
service_description Page File Usage
use generic-service
check_command check_nt!password!COUNTER!-l "\\Paging File(_Total)\\% Usage","Paging File usage is %.2f %%" -w 90 -c 95
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 0
notification_period 24x7
notifications_enabled 1
contacts nagiosadmin
contact_groups admins
}
define service {
host_name XXXX
service_description Uptime
use generic-service
check_command check_nt!password!UPTIME
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 0
notification_period 24x7
notifications_enabled 1
contacts nagiosadmin
contact_groups admins
}