mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
newdevice: Updated Arista entity-physical support to use high/low values from device (#7156)
* fix: Fixed the high/low thresholds for Arista devices * final updates * push threshold changes * more updates * another update * updated entity-sensor for current value calc * hoping final update
This commit is contained in:
committed by
Tony Murray
parent
fea2f37f20
commit
f7e14df90e
@@ -61,6 +61,7 @@ function poll_sensor($device, $class)
|
||||
$mibdir = null;
|
||||
|
||||
$sensor_value = trim(str_replace('"', '', $snmp_data[$sensor['sensor_oid']]));
|
||||
echo "HERE $sensor_value END".PHP_EOL;
|
||||
|
||||
if (file_exists('includes/polling/sensors/'. $class .'/'. $device['os'] .'.inc.php')) {
|
||||
require 'includes/polling/sensors/'. $class .'/'. $device['os'] .'.inc.php';
|
||||
|
||||
Reference in New Issue
Block a user