From CSCWiki
Revision as of 13:18, 16 December 2015 by Ztseguin (talk | contribs) (Start documenting SNMP for UPS)
Jump to navigation Jump to search


We can monitor two of our UPSs via SNMP #UPS:

Debian Setup

Install snmp and snmp-mibs-downloader (note: snmp-mibs-downloader is not available in stretch repository, so just download the deb from sid).

Download and place it in /usr/share/snmp/mibs

Getting Status

   snmpget -v 1 -c MSO PowerNet-MIB::upsBasicOutputStatus.0

This will return something like:

   PowerNet-MIB::upsBasicOutputStatus.0 = INTEGER: onLine(2)