From CSCWiki
Revision as of 13:21, 16 December 2015 by Jxpryde (talk | contribs) (→‎UPS)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


We can monitor two of our UPSs via SNMP from any host on our subnet (see Machine List):

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

Run `download-mibs`

Getting Status

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

This will return something like:

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