<div dir="ltr">Thanks very much Charles for this helpful reply! <div><br></div><div>I've not had much luck to be honest with tracking down how to get a CGI script to work with NUT...but upon thinking my end-result I don't think having a webpage for each Pi to show UPS status would be used all that much. I'll stick to using a monitoring system to help me gather all my Pi UPS in one place for alerts.</div><div><br></div><div>Thank you,</div><div><br></div><div>Charles.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 17, 2015 at 8:30 AM, Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>[please use reply-all to include the list. thanks!]</div><span class=""><div><br></div>On Oct 16, 2015, at 12:47 PM, Charles Mccrea <<a href="mailto:charlesmccrea@gmail.com" target="_blank">charlesmccrea@gmail.com</a>> wrote:<br></span><div><span class=""><blockquote type="cite"><br><div><div dir="ltr">Hello,<div><br></div><div>We have a small server room for our various <span>Proxmox</span> Host Servers, <span>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>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><br></div><div>I'll be installing the latest version of NUT on each Raspberry <span>Pi's</span> (running either Debian or <span>Raspbian</span>). </div><div><br></div><div><ul><li>Should I use one Raspberry Pi per UPS or can a Raspberry Pi monitor more than one UPS at a time.<br></li></ul></div></div></div></blockquote></span><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></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" target="_blank">http://buildbot.networkupstools.org/~buildbot/cayman/docs/latest/ddl/#_supported_devices</a></div><span class=""><blockquote type="cite"><div><div dir="ltr"><div><ul><li>For each Raspberry Pi, is there a <span>webpage</span> I can serve up to view the status of that battery backup?</li></ul></div></div></div></blockquote></span><div><a href="https://packages.debian.org/jessie/nut-cgi" target="_blank">https://packages.debian.org/jessie/nut-cgi</a> contains a CGI script that can be templated.</div><span class=""><blockquote type="cite"><div><div dir="ltr"><div><ul><li>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>webpage</span>?<br></li></ul></div></div></div></blockquote></span>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.<span class=""><br><blockquote type="cite"><div><div dir="ltr"><div><ul><li>If a central location can't be served up then I am planning on using <span>Zabbix</span> in our server room. Would <span>Zabbix</span> be able to receive the details from each Raspberry Pi NUT server for this dashboard?</li></ul></div></div></div></blockquote></span></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" target="_blank">https://www.zabbix.org/wiki/Zabbix_Templates#Power_.28UPS.29</a> </div><div><br></div><div>Zabbix hasn't been discussed much on the NUT lists, but if that works, please let us know.</div><div><br></div><div>Another easy-to-setup monitoring system compatible with NUT is collectd: <a href="https://collectd.org/wiki/index.php/Plugin:NUT" target="_blank">https://collectd.org/wiki/index.php/Plugin:NUT</a></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>
<span style="border-collapse:separate;border-spacing:0px"><div>-- </div><div>Charles Lepple</div><div>clepple@gmail</div><div><br></div></span><br>
</div>
<br></font></span></div></blockquote></div><br></div>