mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Only poll AirMAX if the device supports the MIB.
This commit is contained in:
@@ -134,8 +134,8 @@ if (is_numeric(snmp_get($device, 'ubntRadioFreq.1', '-OUqnv', 'UBNT-AirMAX-MIB',
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}//end if
|
}//end if
|
||||||
|
|
||||||
|
unset($graph, $oids, $oid);
|
||||||
|
poll_mib_def($device, 'UBNT-AirMAX-MIB:UBNT', 'ubiquiti', $mib_oids, $mib_graphs, $graphs);
|
||||||
|
|
||||||
}//end if
|
}//end if
|
||||||
|
|
||||||
unset($graph, $oids, $oid);
|
|
||||||
|
|
||||||
poll_mib_def($device, 'UBNT-AirMAX-MIB:UBNT', 'ubiquiti', $mib_oids, $mib_graphs, $graphs);
|
|
||||||
|
|||||||
Reference in New Issue
Block a user