Not finished, work in progress …
apt-get install nut nut-cgi
cp -a /usr/share/doc/nut/examples/ups.conf /etc/nut cp -a /usr/share/doc/nut/examples/upsd.conf /etc/nut chown nut:nut /dev/ttyS0
vim ups.conf
[power] driver = powercom port = /dev/ttyS0 desc = "Powercom UPS System"
cp -a /usr/share/doc/nut-cgi/examples/* /usr/share/nut cd /var/www ln -s /usr/share/nut ups
access the web interface at http://localhost/ups/upsstats.html