mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user