Hi all,
For an specific Dataminer application that manages traps, it normally finds the source IP address inside the trap binding, that works fine in IPv4.
For IPv6 devices we see that the agent address comes with 0.0.0.0
Is it possible for Dataminer to get data from the trap headers and not only from the bindings so we can get the source IPv6 address?
SNMPv1 is showing its age, agent-addr is defined as a 4 octet IPv4 address so trying to cramp an IPv6 address in there will not work.
DataMiner though uses the source field of the PDU to populate the data that is forwarded to a QAction. If you want to process the trap in a DataMiner Connector, Processing traps in a QAction might be an interesting read.
It explains you how to do it and in which format the data is provided. One of the fields is the trap its source IP address:
generalTrapInfo[1] (string): Trap source (IP address).
This field will correctly contain the IPv4 or IPv6 address depending on the source entity.