[Resmon-devel] [resmon commit] r206 - trunk/lib/Resmon/Module

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Tue Aug 18 14:22:28 EDT 2009


Author: seriv
Date: 2009-08-18 14:22:28 -0400 (Tue, 18 Aug 2009)
New Revision: 206

Modified:
   trunk/lib/Resmon/Module/LINUX_CHECK_TEMP.pm
Log:
make messages consistent with configs in names

Modified: trunk/lib/Resmon/Module/LINUX_CHECK_TEMP.pm
===================================================================
--- trunk/lib/Resmon/Module/LINUX_CHECK_TEMP.pm	2009-08-18 18:12:12 UTC (rev 205)
+++ trunk/lib/Resmon/Module/LINUX_CHECK_TEMP.pm	2009-08-18 18:22:28 UTC (rev 206)
@@ -40,8 +40,8 @@
     }
 	## print "case 5 continues=$continues  and line $line\n" if $DEBUG>1;
   }
-  return "OK($temp $sensor($chip))" if ($temp && ($temp<$warning));
-  return "WARNING($temp $sensor($chip))" if ($temp && ($temp<$critical));
-  return "BAD($temp $sensor($chip))";
+  return "OK($temp $sensor\@$chip)" if ($temp && ($temp<$warning));
+  return "WARNING($temp $sensor\@$chip)" if ($temp && ($temp<$critical));
+  return "BAD($temp $sensor@$chip)";
 };
 1;



More information about the Resmon-devel mailing list