packages: nagios-plugin-check_raid/check_raid.cfg - include sample checks h...
glen
glen at pld-linux.org
Sun Aug 22 18:30:55 CEST 2010
Author: glen Date: Sun Aug 22 16:30:55 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- include sample checks here too
---- Files affected:
packages/nagios-plugin-check_raid:
check_raid.cfg (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/nagios-plugin-check_raid/check_raid.cfg
diff -u packages/nagios-plugin-check_raid/check_raid.cfg:1.3 packages/nagios-plugin-check_raid/check_raid.cfg:1.4
--- packages/nagios-plugin-check_raid/check_raid.cfg:1.3 Fri Sep 11 21:12:10 2009
+++ packages/nagios-plugin-check_raid/check_raid.cfg Sun Aug 22 18:30:50 2010
@@ -2,9 +2,10 @@
# check_raid
define command {
command_name check_raid
- command_line @plugindir@/check_raid $ARG1$
+ command_line /usr/lib/nagios/plugins/check_raid $ARG1$
}
+# service template
define service {
use generic-service
name raid
@@ -17,3 +18,17 @@
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
+#}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_raid/check_raid.cfg?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list