spine
spine copied to clipboard
IPv6 ping problem
I have host with IPv6 address (not DNS name) like 2a02:xxxx:xxx:1::face. With Cacti issue #3141 I can ping ipv6 address in gui. Spine has problem with ipv6 address:
spine -R -H 669 -V 10 2019/12/12 09:56:26 - SPINE: Poller[1] Device[669] DEBUG: Entering ICMP Ping 2019/12/12 09:56:26 - SPINE: Poller[1] Device[669] PING Result: ICMP: Destination hostname invalid
Spine 1.2.5, FreeBSD 11.x
- compiler: clang
- autoconf: autoconf 2.69_3
- glibc: 2.56
- source: release
Spine has not implemented this yet. It's been bugging me for some time.
Okay, I've added a check to bypass ping if the host is IPv4, and if it's Ping only, issue a WARNING to the Cacti log file. I'll leave the IPv6 issue open right now just in case I stay bored and decide to fix it.
I have IPv6 only customers yet and there will be more of them. Sometimes I need test ipv6 availability. I know that I can use Script/command but IPv6 is comming. It would be great implement IPv6 Ping.
This may or may not work under the latest round of changes. Check the 1.2.19 version that's current in development on 1.2.x branch.