Cisco Mac address violation trap handler (#13811)

* Secure MAC Violation event

* Add Cisco Port Sec Mib

* Add CiscoMacViolation class

* removed $ifIndex and $port reference

* change ifDescr for ifName

* New test

* style fix
This commit is contained in:
bonzo81
2022-02-26 19:39:03 +00:00
committed by GitHub
parent 1e9adb38b2
commit d07e3d6148
4 changed files with 1808 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ return [
'BGP4-V2-MIB-JUNIPER::jnxBgpM2Established' => \LibreNMS\Snmptrap\Handlers\JnxBgpM2Established::class,
'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,
'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,