I got it working in phpsysinfo. Just had to edit a line in 
/usr/share/phpsysinfo/config.php

Looked for UPS in that file. It said this:

/**
  * Define the ups monitoring program (!!!names are case-sensitive!!!)
  * We support the following programs so far
  * - 1. Apcupsd  http://www.apcupsd.com/
  * - 2. Nut      http://www.networkupstools.org/
  * Example: If you want to use Apcupsd : define('PSI_UPS_PROGRAM', 
'Apcupsd');
  */

So I replace there line like this:

define('PSI_UPS_PROGRAM', 'Nut');

It's at the end of the config.php file. I got this screen shot of how it 
looks now. Neat that is shows the UPS info in the bottom right corner.

https://goo.gl/photos/37N7QPimdeQMWXUC7

-Raymond Day
_______________________________________________
Nut-upsdev mailing list
Nut-upsdev@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev

Reply via email to