We are trying to use the traps send from the Dashbord to creat tickets for issues and the trap send by the Dashboard contain No IP or Hostname target information only the MAC address , Network Name / customer/Site / State / issue data.
MAC is not the normal lookup value so were trying to build a workaround.
I understand the devices are DHCP so IP *might* not be a valid target if its constantly changing. - but other customers I have talked to are using DHCP Reservation to have consistent IP Addresses used.
We need something other than MAC in the traps to identify the target !
If you know the network and the mac, which don't you write a script to lookup the device name? You could also return other parameters like the device address at the same time.
Actually, if you have the MAC address why not just go into the Organisation/Inventory screen and see which device iti s from there?
We have a workaround in place now !'
But having a "Standard" trap there the Header contains the IP of the source would be the norm.
Or having a varbind that containst the source IP or Hostname would also be "Normal" for Management consoles that Proxy traps on behalf of the Device.
To add insult to injury, we discovered that the MAC address sent in the trap is declared as type Octet String, but it’s actually sent as a : (Colen) delimited Text string, not Dot (.) delimited as a Octet string would be !
We are working to “cast” it as a type we can use in our comparison when searching for device by MAC ( insert annoyed Smily here...)
Note to Engineering: Traps need some work 😉
The vendor supplied a patch for CA Spectrum - to support casting the type to something usable and correct.
We had to patch the servers to support a trap with bad /miss-typed data.
( I can only cringe thinking about when the trap format gets corrected and Breaks what we have working. )
How is configured the Client Tracking in the Addresssing & VLAN menu?
Try to set this option to "Track clients by IP address" (if it doesn't already) and verify if the information of the IP Address is sent in the trap.