mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
This commit is contained in:
committed by
Tony Murray
parent
75d5e41fd3
commit
f62cff8974
@@ -11,6 +11,7 @@ icon: cisco
|
||||
bad_ifXEntry:
|
||||
- cisco1941
|
||||
- cisco886Va
|
||||
- cisco2811
|
||||
poller_modules:
|
||||
cisco-ace-serverfarms: 1
|
||||
cisco-ace-loadbalancer: 1
|
||||
|
||||
@@ -127,7 +127,7 @@ echo 'Caching Oids: ';
|
||||
if ($device['os'] === 'f5' && (version_compare($device['version'], '11.2.0', '>=') && version_compare($device['version'], '11.7', '<'))) {
|
||||
require_once 'ports/f5.inc.php';
|
||||
} else {
|
||||
if (!in_array($device['hardware'], $config['os'][$device['os']]['bad_ifXEntry'])) {
|
||||
if (!in_array(strtolower($device['hardware']), array_map('strtolower', $config['os'][$device['os']]['bad_ifXEntry']))) {
|
||||
$port_stats = snmpwalk_cache_oid($device, 'ifXEntry', $port_stats, 'IF-MIB');
|
||||
}
|
||||
$hc_test = array_slice($port_stats, 0, 1);
|
||||
|
||||
Reference in New Issue
Block a user