Since firefox portable did the trick that's a concern for later ;)
Now i face the issue that the prometheus data is not scraped by itself.
I get:
"scrapePool": "prometheus",
"lastError": "server returned HTTP status 401 Unauthorized",
"lastScrape": "2023-01-10T11:35:54.483356541+01:00",
"lastScrapeDuration": 0.000457087,
"health": "down",
"scrapeInterval": "5s",
"scrapeTimeout": "5s"
I did include basic_auth in the prometheus config.
scrape_configs:
- job_name: 'prometheus'
basic_auth:
username: 'waardd'
password: '$2a$12$A/andsometextwcqYNREaAIIill2'
scrape_interval: 5s
static_configs:
- targets: ['10.x.x.2:9090']
labels:
host: 'lspe000397'
srvrole: 'prometheus'
env: 'management'
The return message is of course:
server returned HTTP status 401 Unauthorized
Op dinsdag 10 januari 2023 om 10:39:32 UTC+1 schreef Julien Pivotto: