Page 8 of 8
Re: IPv6 and SNMP: Traps arrive, but not processed by snmptr
Posted: Thu Apr 28, 2016 4:28 pm
by gormank
Interesting. None of the IPv6 hostnames are resolvable, yet traps still arrive and become alerts in Nagios.
Re: IPv6 and SNMP: Traps arrive, but not processed by snmptr
Posted: Thu Apr 28, 2016 4:33 pm
by Box293
Yes you are correct, the changes to the script will still submit an IPv6 address if it could not resolve it to a DNS record.
I did look into options in the python script to expand the IPv6 address, or collapse it, but the modules required for that are in Python 3.x so it's not easy to incorporate in the XI standard package (XI comes with Python 2.x).