-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathcheck_raid.cfg
More file actions
34 lines (29 loc) · 732 Bytes
/
check_raid.cfg
File metadata and controls
34 lines (29 loc) · 732 Bytes
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
# Usage:
# check_raid
define command {
command_name check_raid
command_line /usr/lib/nagios/plugins/check_raid $ARG1$
}
# service template
define service {
use generic-service
name raid
service_description raid
register 0
normal_check_interval 30
retry_check_interval 5
notification_interval 3600
check_command check_raid
}
# sample check
#define service {
# use raid
# host_name localhost
#}
# sample check via nrpe
#define service {
# use raid
# hostgroups linux-servers
# host_name localhost
# check_command check_nrpe!-c check_raid -t 60
#}