]> git.pld-linux.org Git - packages/nagios-plugin-check_raid.git/blame - bbu.patch
- rel 3; use separate config, so nagios_nrpe rpm macros can deal with it
[packages/nagios-plugin-check_raid.git] / bbu.patch
CommitLineData
46ad8dd8
AM
1diff -urN nagios-plugin-check_raid-4.0.8.org/check_raid_bbu.cfg nagios-plugin-check_raid-4.0.8/check_raid_bbu.cfg
2--- nagios-plugin-check_raid-4.0.8.org/check_raid_bbu.cfg 1970-01-01 01:00:00.000000000 +0100
3+++ nagios-plugin-check_raid-4.0.8/check_raid_bbu.cfg 2018-12-11 13:49:55.609515941 +0100
4@@ -0,0 +1,34 @@
5+# Usage:
5fe36881
AM
6+# check_raid_bbu
7+define command {
8+ command_name check_raid_bbu
9+ command_line /usr/lib/nagios/plugins/check_raid --bbu-monitoring $ARG1$
10+}
11+
46ad8dd8 12+# service template
5fe36881
AM
13+define service {
14+ use generic-service
15+ name raid-bbu
16+ service_description raid-bbu
17+ register 0
18+
19+ normal_check_interval 30
20+ retry_check_interval 5
21+ notification_interval 3600
22+
23+ check_command check_raid_bbu
24+}
25+
46ad8dd8
AM
26+# sample check
27+#define service {
28+# use raid-bbu
29+# host_name localhost
30+#}
5fe36881 31+
46ad8dd8
AM
32+# sample check via nrpe
33+#define service {
34+# use raid-bbu
35+# hostgroups linux-servers
36+# host_name localhost
37+# check_command check_nrpe!-c check_raid_bbu -t 60
38+#}
This page took 0.047454 seconds and 4 git commands to generate.