This man page only documents the hardware-specific features of the snmp-ups driver. For information about the core driver, see nutupsdrv(8).
The snmp-ups driver automatically detects and supports a wide range of devices by loading various MIBS: ietf:: UPS that is RFC 1628 (UPS MIB) compliant, e.g. MGE UPS SYSTEMS, Liebert, perhaps others (default)
mge
apcc
netvision
pw
aphel_genesisII
aphel_revelation
raritan
baytech
cpqpower
This driver supports the following optional settings in the ups.conf(5):
mibs=name
community=name
snmp_version=version
pollfreq=value
notransferoids
secLevel=value
secName=value
authPassword=value
privPassword=value
authProtocol=value
privProtocol=value
You will need to install the Net-SNMP package from http://www.net-snmp.org/ before building this driver.
SNMP v3 also requires OpenSSL support from http://www.openssl.org.
This driver does not provide a proper upsdrv_shutdown() function. There probably never will be one, since at the time this script should run (near the end of the system halt script), there will be no network capabilities anymore. Probably the only way to shutdown an SNMP UPS is by sending it a shutdown with delay command through upscmd(8) and hope for the best that the system will have finished shutting down before the power is cut.
This driver is only built if the Net-SNMP development files are present on the system. You can also force it to be built by using "configure --with-snmp=yes" before calling make.
The hostname of the UPS is specified with the "port" value in ups.conf, i.e.:
[snmpv1]
driver = snmp-ups
port = snmp-ups.example.com
community = public
snmp_version = v1
mibs = ietf
pollfreq = 15
desc = "Example SNMP v1 device"
[snmpv3]
driver = snmp-ups
port = 166.99.224.132
mibs = mge
secLevel = authPriv
secName = mysecurityname
authPassword = myauthenticationpassphrase
privPassword = myprivatepassphrase
desc = "Example SNMP v3 device, with the highest security level"
Arnaud Quette, Dmitry Frolov
Sponsored by Eaton http://www.eaton.com and originally by MGE UPS SYSTEMS http://www.mgeups.com/
nutupsdrv(8)
Available at: http://www.networkupstools.org/protocols/snmp/
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/