automatize-it / NUT_UPS_monitoring_webserver_for_Windows

Some htmls, mysqls and scripts for UPS NUT monitoring in local network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NUT_UPS_monitoring_webserver_for_Windows

Web server for Network UPS Tools (UPS) https://networkupstools.org/ Windows version.

NUT monitoring UPS in local network. Just monitoring yet.

06.2021 UPDATE:

  • shell scripts
  • on-battery last start value parameter added
  • less DB usage with getUpsDataEnh.sh
  • nicer authorization
  • small fixes and improvements +! looking for someone to add http authorization, docker it all, and to make client installations less handy

05.2020 UPDATE: Still alive!

  • major web-interface speed improvements
  • re-work on-battery time calculations
  • DBs performance checker
  • some php "backend"
  • optimizations and minor changes

08.2019 UPDATE:

  • added automatic UPS analytics (check it)
  • added database optimization
  • added UPS monitoring suspension/return
  • interface reorganized
  • fixed on-battery time calculations
  • optimizations and minor changes

Feel free to ask any questions.

Usage:

  1. Install and configure NUT hosts;
  2. Add dlls from dll if neccessary;
  3. Get web server. I use http://www.uniformserver.com ;
  4. Put MySQL db from db to server's db dir;
  5. Put files from www to server's www dir;
  6. Put scripts from batch_scripts in NUT dir, set your creds in MySQL;
  7. Run web server, open http://localhost/index_ups.php and add some UPS in format UPS_name@host ;
  8. Run get_ups_list_mysql.cmd ;
  9. Check UPS info ;
  10. If something's not working, check some checks in others.\

About

Some htmls, mysqls and scripts for UPS NUT monitoring in local network


Languages

Language:PHP 46.3%Language:JavaScript 41.6%Language:Batchfile 4.9%Language:Shell 4.5%Language:PowerShell 2.3%Language:HTML 0.5%