riello temperature description fix

git-svn-id: http://www.observium.org/svn/observer/trunk@1183 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-06-15 18:27:48 +00:00
parent 82b87ad6df
commit f37ac3cc00
+1 -1
View File
@@ -214,7 +214,7 @@ switch ($device['os'])
$temp_id = $split_oid[count($split_oid)-1];
$temp_oid = "1.3.6.1.2.1.33.1.2.7.$temp_id";
$temp = trim(shell_exec($config['snmpget'] . " -O qv -$snmpver -c $community $hostname:$port $temp_oid"));
$descr = "Battery " . $temp_id+1 . " temperature";
$descr = "Battery " . ($temp_id+1);
discover_temperature($valid_temp, $device, $temp_oid, $temp_id, "netmanplus", $descr, 1, NULL, NULL, $temp);
}
}