packages: nagios-plugin-check_temperature/check_temperature.cfg, nagios-plu...

glen glen at pld-linux.org
Wed Sep 9 13:49:27 CEST 2009


Author: glen                         Date: Wed Sep  9 11:49:27 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- v1.2 - compatible devs support

---- Files affected:
packages/nagios-plugin-check_temperature:
   check_temperature.cfg (1.1 -> 1.2) , nagios-plugin-check_temperature.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/nagios-plugin-check_temperature/check_temperature.cfg
diff -u packages/nagios-plugin-check_temperature/check_temperature.cfg:1.1 packages/nagios-plugin-check_temperature/check_temperature.cfg:1.2
--- packages/nagios-plugin-check_temperature/check_temperature.cfg:1.1	Wed Sep  9 13:46:15 2009
+++ packages/nagios-plugin-check_temperature/check_temperature.cfg	Wed Sep  9 13:49:22 2009
@@ -4,6 +4,11 @@
 # -t temperature   Target temperature in Centigrade, default 20
 # -w deviation     Temperature deviation from target to warn (required)
 # -c deviation     Temperature deviation from target when critical (required)
+
+# For compatible devices one can use:
+# -s Humidity
+# -s Temperature
+
 define command {
 	command_name	check_temperature
 	command_line	$USER1/check_temperature $ARG1$
@@ -12,6 +17,7 @@
 # DigiTemp Temperature check Service definition
 define service {
     use                         generic-service
+	name						temperature
     service_description         Temperature
 	register					0
 

================================================================
Index: packages/nagios-plugin-check_temperature/nagios-plugin-check_temperature.spec
diff -u packages/nagios-plugin-check_temperature/nagios-plugin-check_temperature.spec:1.1 packages/nagios-plugin-check_temperature/nagios-plugin-check_temperature.spec:1.2
--- packages/nagios-plugin-check_temperature/nagios-plugin-check_temperature.spec:1.1	Wed Sep  9 13:46:15 2009
+++ packages/nagios-plugin-check_temperature/nagios-plugin-check_temperature.spec	Wed Sep  9 13:49:22 2009
@@ -2,13 +2,14 @@
 %define		plugin	check_temperature
 Summary:	Nagios plugin to check temperatures
 Name:		nagios-plugin-%{plugin}
-Version:	1.1
+Version:	1.2
 Release:	0.1
 License:	BSD
 Group:		Networking
 Source0:	http://www.hoppie.nl/tempsens/check_temperature
 # Source0-md5:	52af8cf292537680f9a624e41d557edf
 Patch0:		paths.patch
+Patch1:		compatible-devs.patch
 Source1:	%{plugin}.cfg
 URL:		http://www.hoppie.nl/tempsens/
 Requires:	nagios-core
@@ -26,6 +27,7 @@
 %setup -qcT
 cp -p %{SOURCE0} %{plugin}
 %patch0 -p1
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -47,6 +49,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/09/09 11:49:22  glen
+- v1.2 - compatible devs support
+
 Revision 1.1  2009/09/09 11:46:15  glen
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_temperature/check_temperature.cfg?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_temperature/nagios-plugin-check_temperature.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list