{"repo":"HON95/prometheus-nut-exporter","free":true,"listed":false,"github":"https://github.com/HON95/prometheus-nut-exporter","clone":"git clone https://github.com/HON95/prometheus-nut-exporter.git","description":"A Prometheus exporter for Network UPS Tools (NUT)","language":"Rust","stars":138,"topics":["prometheus-exporter","network-ups-tools"],"license":"GPL-3.0","category":"auth-billing-email","readme_excerpt":"Prometheus NUT Exporter A Prometheus/OpenMetrics exporter for uninterruptable power supplies (UPSes) using Network UPS Tools (NUT). Usage NUT Set up NUT in server mode and make sure the TCP port (3493 by default) is accessible (without authentication). If you want to test that it's working, run telnet 3493 and then VER , LIST UPS and LIST VAR . Docker Example docker-compose.yml : Prometheus Example prometheus.yml : In the above example, nut-exporter:9995 is the address and port of the NUT exporter while nut-server:3493 is the address and port of the NUT server to query through the exporter. Kubernetes Resource Usage Example container resources requests and limits. This was done by scraping one NUT server with two UPSes. Resource usage was observed across 7 days period. This can be lowered even more but should be sufficient as a starting point. Grafana Example dashboard Configuration Docker Image Versions Use e.g. 1 for stable v1.y.z releases and latest for bleeding/dev/unstable releases. Environment Variables - RUST LOG (defaults to info ): The log level used by the console/STDOUT. Set to debug so show HTTP requests and trace to show extensive debugging info. - HTTP ADDRESS (defaults to :: ): The HTTP server will listen on this IP. Set to 127.0.0.1 or ::1 to only allow local access. - HTTP PORT (defaults to 9995 ): The HTTP server port. - HTTP PATH (defaults to nut ): The HTTP server metrics path. You may want to set it to /metrics on new setups to avoid extra Prometheus conf","default_branch":null,"files":null,"tree":[],"storefront":"/r/HON95","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/HON95/prometheus-nut-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}