CMK-46

TitelIPv6 Support in Check_MK
KomponenteBase
Datum2018-02-20
StatusDone (Done)
KlasseStory


def lookup_ipaddress(hostname): if fake_dns: return fake_dns elif simulation_mode: return "127.0.0.1" else: ipa = ipaddresses.get(hostname) if ipa: return ipa else: #return socket.gethostbyname(hostname) #gets only the first address of the first interface... for res in socket.getaddrinfo(hostname, None): family, socktype, proto, canonname, sockaddr = res return sockaddr[0] Ausserdem kommt check_icmp damit nicht klar. Hier muss dann auf check_ping ausgewichen werden. Note: There were many discussions about this feature on the mailinglists. I also found some patches. When implementing this, please take a look at the lists for details / hints.