Imported Upstream version 2.6.1
This commit is contained in:
parent
459aaf9392
commit
a367d9bc54
178 changed files with 4651 additions and 3279 deletions
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: ups.conf
|
||||
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: 12/24/2010
|
||||
.\" Date: 05/31/2011
|
||||
.\" Manual: NUT Manual
|
||||
.\" Source: Network UPS Tools
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "UPS\&.CONF" "5" "12/24/2010" "Network UPS Tools" "NUT Manual"
|
||||
.TH "UPS\&.CONF" "5" "05/31/2011" "Network UPS Tools" "NUT Manual"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
@ -132,12 +132,79 @@ You should only use this if your system won\(cqt work without it\&.
|
|||
This may be needed on Mac OS X systems\&.
|
||||
.RE
|
||||
.PP
|
||||
\fBignorelb\fR
|
||||
.RS 4
|
||||
Optional\&. When you specify this, the driver ignores a low battery condition flag that is reported by the UPS (some devices will switch off almost immediately after setting this flag, or will report this as soons as the mains fails)\&. Instead it will use either of the following conditions to determine when the battery is low:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
battery\&.charge < battery\&.charge\&.low
|
||||
battery\&.runtime < battery\&.runtime\&.low
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
The idea is to set the battery\&.charge\&.low and/or battery\&.runtime\&.low levels in
|
||||
\fBups\&.conf\fR
|
||||
to a value that gives enough time to cleanly shutdown your system:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
override\&.battery\&.charge\&.low = 30
|
||||
override\&.battery\&.runtime\&.low = 180
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
In order for this to work, your UPS should be able to (reliably) report charge and/or runtime remaining on battery\&. Use with caution!
|
||||
.RE
|
||||
.PP
|
||||
\fBmaxstartdelay\fR
|
||||
.RS 4
|
||||
Optional\&. This can be set as a global variable above your first UPS definition and it can also be set in a UPS section\&. This value controls how long upsdrvctl will wait for the driver to finish starting\&. This keeps your system from getting stuck due to a broken driver or UPS\&.
|
||||
.sp
|
||||
The default is 45 seconds\&.
|
||||
.RE
|
||||
.PP
|
||||
\fBdefault\&.<variable>\fR
|
||||
.RS 4
|
||||
Optional\&. Set a default value for <variable> which is used in case the UPS doesn\(cqt provide a value, but will be overwritten if a value is available from the UPS:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
default\&.input\&.voltage\&.nominal = 230
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
The above will report the nominal input voltage to be 230, unless the UPS tells us differently\&.
|
||||
.RE
|
||||
.PP
|
||||
\fBoverride\&.<variable>\fR
|
||||
.RS 4
|
||||
Optional\&. Set a value for <value> that overrides any value that may be read from the UPS\&. Used for overriding values from the UPS that are clearly wrong (some devices report wrong values for battery voltage for instance):
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
override\&.battery\&.voltage\&.nominal = 12
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
Use with caution! This will only change the appearance of the variable to the outside world, internally in the UPS the original value is used\&.
|
||||
.RE
|
||||
.sp
|
||||
All other fields are passed through to the hardware\-specific part of the driver\&. See those manuals for the list of what is allowed\&.
|
||||
.SH "INTEGRATION"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue