mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix temperatures i think.
git-svn-id: http://www.observium.org/svn/observer/trunk@2239 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
if ($device['os'] == "ios" || $device['os_group'] == "ios")
|
||||
{
|
||||
echo("\nCISCO-ENTITY-SENSOR");
|
||||
echo(" CISCO-ENTITY-SENSOR: ");
|
||||
|
||||
$oids = array();
|
||||
echo("\nCaching OIDs:");
|
||||
echo(" Caching OIDs: ");
|
||||
|
||||
if (!is_array($entity_array))
|
||||
{
|
||||
@@ -37,8 +35,6 @@ if ($device['os'] == "ios" || $device['os_group'] == "ios")
|
||||
echo(" entSensorThresholdValue");
|
||||
$t_oids = snmpwalk_cache_twopart_oid($device, "entSensorThresholdValue", $t_oids, "CISCO-ENTITY-SENSOR-MIB");
|
||||
|
||||
echo("\nSensors: ");
|
||||
|
||||
if ($debug) { print_r($oids); }
|
||||
|
||||
$entitysensor['voltsDC'] = "voltage";
|
||||
|
||||
Reference in New Issue
Block a user