-
|
Hi, I am not sure how to specify Because port 8080/TCP is already in use I set the following nginx server block similar to PR #68 as The documentation tells me: Unfortunately it does not tell me how to format the value for a unix socket. I tried I can in fact use $ curl -X GET --unix-socket /var/run/nginx_exporter.sock localhost/stub_status
Active connections: 6
server accepts handled requests
31041 31041 53016
Reading: 0 Writing: 4 Waiting: 2However the Exporter tells me: $ curl localhost:9113/metrics -s|grep nginx_up
# HELP nginx_up Status of the last metric scrape
# TYPE nginx_up gauge
nginx_up 0Also If I add I'm on Debian 13/Trixie with (Also looking at the changelogs between 1.4.1 and 1.5.1 I haven't seen anything regarding the Would be nice to also give an example in the documentation ( Thank you. Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Through trial and error I found the answer myself. 🙂
So |
Beta Was this translation helpful? Give feedback.
Through trial and error I found the answer myself. 🙂
ARGS="--nginx.scrape-uri=unix:///var/run/nginx_exporter.sock:localhost/nginx_status"So
--nginx.scrape-uri=unix://${PATH_TO_SOCKET}:localhost/stub_status.