On miércoles, 21 de abril de 2021 15:07:27 (CEST) Witek Bedyk wrote:
On 4/21/21 1:25 PM, Martin Willisegger wrote:
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.
-> 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:
that is accessible from the prometheus server?
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).
Seems this wasn't noticed when the release notes were reviewed by the team, so
this feature is in 2021.04, but will show at the release notes for the next
Sorry about the inconvenience.
Hope it helps.
Julio González Gil
Release Engineer, SUSE Manager and Uyuni