Added Cisco Err-Disable interface event trap handler (#13855)

* Add Cisco Err Disable Mib

* Add new trap handler class

* Add ErrDisabled event handler

* Add ErrDisalbed event test

* remove unused line

* no ifindex message change

* Update unknown ifIndex message

* Add bad IfIndex test

* update description text

* style fixes

* change param to True for toString

* Add return type to test function

* style fix

* remove toString() and explode()

* remove unused line
This commit is contained in:
Andy Norwood
2022-04-01 21:02:51 +01:00
committed by GitHub
parent ef12e5f980
commit 5c53f2984f
4 changed files with 1070 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ return [
'BRIDGE-MIB::newRoot' => \LibreNMS\Snmptrap\Handlers\BridgeNewRoot::class,
'BRIDGE-MIB::topologyChange' => \LibreNMS\Snmptrap\Handlers\BridgeTopologyChanged::class,
'CISCO-PORT-SECURITY-MIB::cpsSecureMacAddrViolation' => \LibreNMS\Snmptrap\Handlers\CiscoMacViolation::class,
'CISCO-ERR-DISABLE-MIB::cErrDisableInterfaceEventRev1' => \LibreNMS\Snmptrap\Handlers\CiscoErrDisableInterfaceEvent::class,
'CM-ALARM-MIB::cmNetworkElementAlmTrap' => \LibreNMS\Snmptrap\Handlers\AdvaNetworkElementAlmTrap::class,
'CM-ALARM-MIB::cmSysAlmTrap' => \LibreNMS\Snmptrap\Handlers\AdvaSysAlmTrap::class,
'CM-PERFORMANCE-MIB::cmEthernetAccPortThresholdCrossingAlert' => \LibreNMS\Snmptrap\Handlers\AdvaAccThresholdCrossingAlert::class,