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:
Adam Amstrong
2011-05-04 13:22:41 +00:00
parent 7cd3dc86ec
commit 20c2f225c9
5 changed files with 25 additions and 31 deletions

View File

@@ -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";