<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">[please use reply-all to include the list. thanks!]</div><div class=""><br class=""></div>On Oct 16, 2015, at 12:47 PM, Charles Mccrea <<a href="mailto:charlesmccrea@gmail.com" class="">charlesmccrea@gmail.com</a>> wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello,<div class=""><br class=""></div><div class="">We have a small server room for our various <span class="" id=":1a3.1" tabindex="-1">Proxmox</span> Host Servers, <span class="" id=":1a3.2" tabindex="-1">UTM</span> system and managed switches.   I've recently discovered NUT and would like to use it to monitor our UPS boxes using Raspberry <span class="" id=":1a3.3" tabindex="-1">Pi's</span>.  I have a few questions regarding the setup and I'm hoping this community can point me in the right direction.</div><div class=""><br class=""></div><div class="">I'll be installing the latest version of NUT on each Raspberry <span class="" id=":1a3.4" tabindex="-1">Pi's</span> (running either Debian or <span class="" id=":1a3.5" tabindex="-1">Raspbian</span>). </div><div class=""><br class=""></div><div class=""><ul class=""><li class="">Should I use one Raspberry Pi per UPS or can a Raspberry Pi monitor more than one UPS at a time.<br class=""></li></ul></div></div></div></blockquote><div>This depends on whether each UPS has a unique identifier. Many inexpensive UPS models do not have a serial number that can be retrieved over USB, so the drivers can only attach to the first one they find. (The version of libusb that NUT uses does not have an API for selecting an UPS based on which port it is plugged into.)</div><div><br class=""></div><div>You can check for a serial number by running "lsusb -vvv" as root, and then verifying that the string next to "iSerial" is unique. Or, you can check for your UPS in our collection of user-submitted data dumps: <a href="http://buildbot.networkupstools.org/~buildbot/cayman/docs/latest/ddl/#_supported_devices" class="">http://buildbot.networkupstools.org/~buildbot/cayman/docs/latest/ddl/#_supported_devices</a></div><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><ul class=""><li class="">For each Raspberry Pi, is there a <span class="" id=":1a3.6" tabindex="-1">webpage</span> I can serve up to view the status of that battery backup?</li></ul></div></div></div></blockquote><div><a href="https://packages.debian.org/jessie/nut-cgi" class="">https://packages.debian.org/jessie/nut-cgi</a> contains a CGI script that can be templated.</div><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><ul class=""><li class="">I have 11 battery backups to monitor in our server room.  Is there a dashboard or a way to view all battery backups from one location or even better a <span class="" id=":1a3.7" tabindex="-1">webpage</span>?<br class=""></li></ul></div></div></div></blockquote>It's been a while since I configured the NUT CGI scripts, but I am fairly certain that you can monitor many UPSes from one page.<br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><ul class=""><li class="">If a central location can't be served up then I am planning on using <span class="" id=":1a3.8" tabindex="-1">Zabbix</span> in our server room.  Would <span class="" id=":1a3.9" tabindex="-1">Zabbix</span> be able to receive the details from each Raspberry Pi NUT server for this dashboard?</li></ul></div></div></div></blockquote></div><div>This came up with a quick Google search for "zabbix nut": <a href="https://www.zabbix.org/wiki/Zabbix_Templates#Power_.28UPS.29" class="">https://www.zabbix.org/wiki/Zabbix_Templates#Power_.28UPS.29</a> </div><div><br class=""></div><div>Zabbix hasn't been discussed much on the NUT lists, but if that works, please let us know.</div><div><br class=""></div><div>Another easy-to-setup monitoring system compatible with NUT is collectd: <a href="https://collectd.org/wiki/index.php/Plugin:NUT" class="">https://collectd.org/wiki/index.php/Plugin:NUT</a></div><div><br class=""></div><div class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div class="">-- </div><div class="">Charles Lepple</div><div class="">clepple@gmail</div><div class=""><br class=""></div></span><br class="Apple-interchange-newline">

</div>
<br class=""></body></html>