SOURCES: check_snmp_load.cfg - define other props for service bein...

glen glen at pld-linux.org
Tue Feb 14 14:25:09 CET 2006


Author: glen                         Date: Tue Feb 14 13:25:09 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- define other props for service being inheritable

---- Files affected:
SOURCES:
   check_snmp_load.cfg (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/check_snmp_load.cfg
diff -u SOURCES/check_snmp_load.cfg:1.1 SOURCES/check_snmp_load.cfg:1.2
--- SOURCES/check_snmp_load.cfg:1.1	Tue Feb 14 14:16:06 2006
+++ SOURCES/check_snmp_load.cfg	Tue Feb 14 14:25:03 2006
@@ -2,15 +2,25 @@
 
 # ARGS: Community, warning x3, critical x3
 define command {
-	command_name	check_snmp_load_linux
-	command_line	$USER1$/check_snmp_load.pl -H $HOSTADDRESS$ -C $ARG1$ -T netsl -w $ARG2$ -c $ARG3$
+	command_name		check_snmp_load_linux
+	command_line		$USER1$/check_snmp_load.pl -H $HOSTADDRESS$ -C $ARG1$ -T netsl -w $ARG2$ -c $ARG3$
 }
 
 define service {
 	name			check_linux_load
 	service_description	Verification load linux
 	check_command		check_snmp_load_linux!<COMMUNITY>!3,2,2!5,3,3
+
 	register		0
+	use			generic-service
+	is_volatile		0
+	check_period		24x7
+	max_check_attempts	3
+	normal_check_interval	3
+	retry_check_interval	1
+	notification_interval	120
+	notification_period	24x7
+	notification_options	w,u,c,r
 }
 
 # vim:ts=8:sw=8
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/check_snmp_load.cfg?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list