I'm working on making alerts for AP Disassocated traps for a Cisco WLC. I've managed to get the trap in using the key of
This results in the following data
What I'd like is to just be returning the AP name, in this case APF4DB.E639.B958, seems no matter what I do the full line is the value every time
Is there a method of just extracting part of this
Thanks
Code:
snmptrap["(AIRESPACE-WIRELESS-MIB::bsnAPDisassociated)"]
Code:
20190227.143224 AIRESPACE-WIRELESS-MIB::bsnAPDisassociated 0 (null) AIRESPACE-WIRELESS-MIB::bsnAPMacAddrTrapVariable.0 f4:db:e6:41:c3:e0 AIRESPACE-WIRELESS-MIB::bsnAPName.0 APF4DB.E639.B958
Is there a method of just extracting part of this
Thanks

Comment