only output the mib if there is a match

This commit is contained in:
Vikram Adukia
2016-04-21 14:24:53 -07:00
parent b84c265c15
commit 42ffb6bf22

View File

@ -1,8 +1,8 @@
<?php
echo(" EXTREME-BASE-MIB ");
if ($device['os'] == 'xos') {
echo(" EXTREME-BASE-MIB ");
// Power Usage
$descr = "Power Usage";
$oid = "1.3.6.1.4.1.1916.1.1.1.40.1.0"; // extremeSystemPowerUsage