edgd1er / docker-nut-stats

Just display stats from NUT's remote monitored UPS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build nut-stats multi-arch images

docker-nut-stats

Just display stats from NUT's remote monitored UPS.

use NUT statistics cgi tool to display remote monitored UPS.

/!\ settings parameters and sending commands are not defined in this project as I only monitor UPS with limited rights remote user.

Available docker images architectures are: amd64 arm64 arm32v7

if using pihole on the same host, use pihole's network for name resolution or use ip instead of servers name.

usage

env vars:

  • SERVER_NAME: nginx server name
  • LOG_DEST: nginx access log /dev/null,/var/log/acces.log, /dev/stdout by default
  • DEBUG: any value, activate bash debug et nginx-debug.

Up to 9 UPS may be monitored, defined in docker-compose.xml. each ups is defined by two values.

UPS_NAME: "ups X's name" UPS_LOC: "ups@host"

nginx's access is restricted thanks to htpasswd, defined with HT_USER and HT_PWD. If no values are given, HT_USER=nutuser, HT_PWD=nutpassword.

Github project: docker-nut-stats

Docker hub: nut-stats

About

Just display stats from NUT's remote monitored UPS.

License:GNU Lesser General Public License v3.0


Languages

Language:Shell 50.2%Language:Dockerfile 28.1%Language:Makefile 21.8%