table of contents
SNMP-UPS(8) | NUT Manual | SNMP-UPS(8) |
NAME¶
snmp-ups - Multi-MIB Driver for SNMP UPS equipment
NOTE¶
This man page only documents the hardware-specific features of the snmp-ups driver. For information about the core driver, see nutupsdrv(8).
SUPPORTED HARDWARE¶
The snmp-ups driver automatically detects and supports a wide range of devices by loading various MIBS:
ietf
mge
apcc
netvision
pw
pxgx_ups
aphel_genesisII
aphel_revelation
raritan
baytech
cpqpower
cyberpower
huawei
EXTRA ARGUMENTS¶
This driver supports the following optional settings in the ups.conf(5):
mibs=name
community=name
snmp_version=version
snmp_retries=retries
snmp_timeout=timeout
pollfreq=value
notransferoids
secLevel=value
secName=value
authPassword=value
privPassword=value
authProtocol=value
privProtocol=value
REQUIREMENTS¶
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.
LIMITATIONS¶
Shutdown¶
The shutdown sequence should be tested before relying on NUT to send a shutdown command to the UPS. The problem is that the host network stack may have been torn down by the time the driver is invoked to send the shutdown command. The driver attempts to send shutdown.return, shutdown.reboot, and load.off.delay commands to the UPS in sequence, stopping after the first supported command.
INSTALLATION¶
This driver is only built if the Net-SNMP development files are present at configuration time. You can also force it to be built by using configure --with-snmp=yes before calling make.
EXAMPLES¶
The hostname of the UPS is specified with the "port" value in ups.conf:
[snmpv1]
driver = snmp-ups
port = snmp-ups.example.com
community = public
snmp_version = v1
pollfreq = 15
desc = "Example SNMP v1 device"
[snmpv3]
driver = snmp-ups
port = 166.99.224.132
snmp_version = v3
secLevel = authPriv
secName = mysecurityname
authPassword = myauthenticationpassphrase
privPassword = myprivatepassphrase
desc = "Example SNMP v3 device, with the highest security level"
AUTHORS¶
Arnaud Quette, Dmitry Frolov
SEE ALSO¶
The core driver:¶
NUT SNMP Protocols Library¶
Available at: http://www.networkupstools.org/protocols/snmp/
Internet resources:¶
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
12/29/2015 | Network UPS Tools 2.7.3. |