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

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Mon Mar 29 16:13:55 EDT 2010


Author: mark
Date: 2010-03-29 16:13:54 -0400 (Mon, 29 Mar 2010)
New Revision: 302

Modified:
   trunk/lib/Resmon/Module/BSD_CHECK_TEMP.pm
Log:
Fix error when the check goes bad

Modified: trunk/lib/Resmon/Module/BSD_CHECK_TEMP.pm
===================================================================
--- trunk/lib/Resmon/Module/BSD_CHECK_TEMP.pm	2010-03-29 14:35:46 UTC (rev 301)
+++ trunk/lib/Resmon/Module/BSD_CHECK_TEMP.pm	2010-03-29 20:13:54 UTC (rev 302)
@@ -5,7 +5,7 @@
 use Resmon::ExtComm qw/cache_command/;
 use vars qw/@ISA/;
 @ISA = qw/Resmon::Module/;
-my $DEBUG=1;
+my $DEBUG=0;
 
 
 sub handler {
@@ -34,7 +34,7 @@
   } if ($temp && ($temp < $critical));
 
   return "BAD", {
-    message => "$temp $units $sensor@$chip",
+    message => "$temp $units $sensor\@$chip",
     temp => [$temp, "i"],
   };
 };



More information about the Resmon-devel mailing list