Hello Witek I still use 2021.03. There is also no upgrade after zypper refresh available at: https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable/... In 2021.03 - there is a selection filed with myserver.domain.com but no entry with myserver.domain, so I can't select the right option. It is also not possible to add an own value. What is the data source for that selection field? Best regards Martin Am 21.04.21 um 15:07 schrieb Witek Bedyk:
On 4/21/21 1:25 PM, Martin Willisegger wrote:
Hello all
One of my servers has an internal and an external ip address. The hostname belongs to the external address, while the prometheus server should connect to the internal address.
myserver.domain.com -> 10.0.0.1 external example myserver.domain -> 192.168.0.1 internal example Hostname defined in Uyuni = myserver.domain.com IP Address defined in Uyuni = 192.168.0.1
The server has only one ip - the external ip ends on the firewall (NAT) and is forwarded to the internal ip.
When I activate the prometheus node exporter formula on this server, the prometheus server tries to connect the external ip with this error:
Get "http://myserver.domain.com:9100/metrics": dial tcp 10.0.0.1:9100: connect: connection refused
What can I do to change the connection string to:
http://myserver.domain:9100/metrics or http://192.168.0.1:9100/metrics
that is accessible from the prometheus server?
Hi Martin,
please try setting the primary FQDN in `System > Details > Hardware > Networking`. The feature is being released in Uyuni 2021.04 (released but not announced yet).
Hope it helps. Witek