mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: fixed count test for cisco-otv poller module (#4714)
This commit is contained in:
committed by
Daniel Preussker
parent
638f61002c
commit
cf66965e4b
@@ -67,7 +67,7 @@ if ($device['os_group'] == "cisco") {
|
||||
$components = $components[$device['device_id']];
|
||||
|
||||
// Only collect SNMP data if we have enabled components
|
||||
if (count($components > 0)) {
|
||||
if (count($components) > 0) {
|
||||
// Let's gather the stats..
|
||||
$tblOverlayEntry = snmpwalk_array_num($device, '.1.3.6.1.4.1.9.9.810.1.2.1.1');
|
||||
$tblAdjacencyDatabaseEntry = snmpwalk_array_num($device, '.1.3.6.1.4.1.9.9.810.1.3.1.1', 0);
|
||||
|
Reference in New Issue
Block a user