Imported Upstream version 2.7.2
This commit is contained in:
parent
0121794af9
commit
a356b56d11
263 changed files with 6039 additions and 8151 deletions
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: snmp-ups
|
||||
.\" Author: [see the "AUTHORS" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
|
||||
.\" Date: 09/13/2013
|
||||
.\" Date: 02/25/2014
|
||||
.\" Manual: NUT Manual
|
||||
.\" Source: Network UPS Tools 2.7.1-pre1
|
||||
.\" Source: Network UPS Tools 2.7.1.5
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "SNMP\-UPS" "8" "09/13/2013" "Network UPS Tools 2\&.7\&.1\-p" "NUT Manual"
|
||||
.TH "SNMP\-UPS" "8" "02/25/2014" "Network UPS Tools 2\&.7\&.1\&." "NUT Manual"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
@ -34,7 +34,12 @@ snmp-ups \- Multi\-MIB Driver for SNMP UPS equipment
|
|||
This man page only documents the hardware\-specific features of the snmp\-ups driver\&. For information about the core driver, see \fBnutupsdrv\fR(8)\&.
|
||||
.SH "SUPPORTED HARDWARE"
|
||||
.sp
|
||||
The snmp\-ups driver automatically detects and supports a wide range of devices by loading various MIBS: \fBietf\fR:: UPS that is RFC 1628 (UPS MIB) compliant, e\&.g\&. MGE UPS SYSTEMS, Liebert, perhaps others (default)
|
||||
The snmp\-ups driver automatically detects and supports a wide range of devices by loading various MIBS:
|
||||
.PP
|
||||
\fBietf\fR
|
||||
.RS 4
|
||||
UPS that is RFC 1628 (UPS MIB) compliant, e\&.g\&. MGE UPS SYSTEMS, Liebert, perhaps others (default)
|
||||
.RE
|
||||
.PP
|
||||
\fBmge\fR
|
||||
.RS 4
|
||||
|
|
@ -91,14 +96,12 @@ This driver supports the following optional settings in the \fBups.conf\fR(5):
|
|||
.PP
|
||||
\fBmibs\fR=\fIname\fR
|
||||
.RS 4
|
||||
Set MIB compliance (default=auto, allowed entries: refer to the above SUPPORTED HARDWARE)\&. With "auto", the driver will try a select set of SNMP objects until it finds one that the device responds to\&. Note that, since NUT 2\&.6\&.2, snmp\-ups has a new method that uses sysObjectID, which is a pointer to the prefered MIB of the device, to detect supported devices\&. This renders void the use of
|
||||
\fImib\fR
|
||||
option\&.
|
||||
Set MIB compliance (default=auto, allowed entries: refer to SUPPORTED HARDWARE above)\&. With "auto", the driver will try a select set of SNMP objects until it finds one that the device responds to\&. Note that since NUT 2\&.6\&.2, snmp\-ups has a new method that uses sysObjectID (which is a pointer to the prefered MIB of the device) to detect supported devices\&. This renders void the use of "mibs" option\&.
|
||||
.RE
|
||||
.PP
|
||||
\fBcommunity\fR=\fIname\fR
|
||||
.RS 4
|
||||
Set community name (default = public)\&. Note that you require a RW community name to change UPS settings (as for a powerdown)\&.
|
||||
Set community name (default = public)\&. Note that a RW community name is required to change UPS settings (as for a powerdown)\&.
|
||||
.RE
|
||||
.PP
|
||||
\fBsnmp_version\fR=\fIversion\fR
|
||||
|
|
@ -150,16 +153,16 @@ Set the privacy protocol (DES or AES) used for encrypted SNMPv3 messages (defaul
|
|||
You will need to install the Net\-SNMP package from http://www\&.net\-snmp\&.org/ before building this driver\&.
|
||||
.sp
|
||||
SNMP v3 also requires OpenSSL support from http://www\&.openssl\&.org\&.
|
||||
.SH "LIMITATION"
|
||||
.SH "LIMITATIONS"
|
||||
.SS "Shutdown"
|
||||
.sp
|
||||
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 \fBupscmd\fR(8) and hope for the best that the system will have finished shutting down before the power is cut\&.
|
||||
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\&.
|
||||
.SH "INSTALLATION"
|
||||
.sp
|
||||
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\&.
|
||||
.SH "IMPLEMENTATION"
|
||||
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\&.
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
The hostname of the UPS is specified with the "port" value in ups\&.conf, i\&.e\&.:
|
||||
The hostname of the UPS is specified with the "port" value in ups\&.conf:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue