In addition, it only exports the following metric:
#curl http://localhost:9913/metrics
# HELP nginx_vts_exporter_build_info A metric with a constant '1' value labeled by version, revision, branch, and goversion from which nginx_vts_exporter was built.
# TYPE nginx_vts_exporter_build_info gauge
nginx_vts_exporter_build_info{branch="HEAD",goversion="go1.10",revision="8aa2881c7050d9b28f2312d7ce99d93458611d04",version="0.10.3"} 1
We are using the default configuration (no environment variables or command line parameters), meaning it should be scraping http://localhost/status URL. The interesting part is that trying to CURL this URL from the server works perfectly:
Some of the Nginx VHosts are indeed protected by basic auth, which could possibly result in 401, but localhost should not require the auth (which is confirmed by the CURL result above).
One more thing worth mentioning is that restarting nginx-vts-exporter solves the problem for some time (it starts getting the metrics properly). Anyhow, after some time it breaks again.
Hi,
We are facing a strange issue with nginx-vts-exporter (v0.10.3). The exporter keeps flooding
/var/log/messages
with the following error:In addition, it only exports the following metric:
We are using the default configuration (no environment variables or command line parameters), meaning it should be scraping
http://localhost/status
URL. The interesting part is that trying to CURL this URL from the server works perfectly:Some of the Nginx VHosts are indeed protected by basic auth, which could possibly result in 401, but
localhost
should not require the auth (which is confirmed by the CURL result above).One more thing worth mentioning is that restarting nginx-vts-exporter solves the problem for some time (it starts getting the metrics properly). Anyhow, after some time it breaks again.
Any ideas what might be happening here?