bundles/icinga2: please only use "real" network interfaces instead of some vpn transfer ips

This commit is contained in:
Franzi 2023-09-24 21:07:21 +02:00
parent cd48cf495d
commit ad9a920a48
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -332,7 +332,7 @@ for rnode in sorted(repo.nodes):
if rnode.metadata.get('icinga_options/exclude_from_monitoring', False):
continue
host_ips = repo.libs.tools.resolve_identifier(repo, rnode.name)
host_ips = repo.libs.tools.resolve_identifier(repo, rnode.name, only_physical=True)
icinga_ips = {}
# XXX for the love of god, PLEASE remove this once DNS is no longer