#getting Error on adding prometheus endpoint on other grafana

1 messages · Page 1 of 1 (latest)

tawny sleet
#

Hi All,

My nabox name is prdnabox (ip 10.12.17.28)and when I’m trying to add it’s prometheus ie http://prdnabox:9090/prometheus on other grafana I’m getting error as - connection refused Post http://prdnabox:9090/prometheus/api/v1/query dial tcp 10.12.17.28:9090 connection refused there was an error returned querying the Prometheus API , target grafana IP is 10.13.24.55, can you please help me
Thank you

small plinth
tawny sleet
#

@small plinth when I do this I get error as https://prdnabox/prometheus/api/v1/query : tls failed to verify certificate:x509 : certificate is valid for nabox not prdnabox- there was an error returned querying the Prometheus

small plinth
#

Then you have to set Grafana to ignore certificate, or generate a valid one for nabox

tawny sleet
#

How can we do this @small plinth

tawny sleet
#

Generating certificate for nabox

small plinth
#

Skip TLS verify should solve it