Merge tag 'upstream/2.7.4' into debian

Upstream version 2.7.4
This commit is contained in:
Laurent Bigonville 2016-07-18 02:11:43 +02:00
commit 0512813b41
290 changed files with 7473 additions and 2607 deletions

1100
ChangeLog

File diff suppressed because it is too large Load diff

View file

@ -207,8 +207,8 @@ Debian, Ubuntu and other derivatives
NOTE: NUT is packaged and well maintained in these systems. NOTE: NUT is packaged and well maintained in these systems.
The official Debian packager is part of the NUT Team. The official Debian packager is part of the NUT Team.
Using your prefered method (apt-get, aptitude, Synaptic, ...), install Using your preferred method (apt-get, aptitude, Synaptic, ...), install
the 'nut' package, and optionaly the following: the 'nut' package, and optionally the following:
- 'nut-cgi', if you need the CGI (HTML) option, - 'nut-cgi', if you need the CGI (HTML) option,
- 'nut-snmp', if you need the snmp-ups driver, - 'nut-snmp', if you need the snmp-ups driver,
@ -233,32 +233,32 @@ Mandriva
NOTE: NUT is packaged and well maintained in these systems. NOTE: NUT is packaged and well maintained in these systems.
The official Mandriva packager is part of the NUT Team. The official Mandriva packager is part of the NUT Team.
Using your prefered method (urpmi, RPMdrake, ...), install one of the two below Using your preferred method (urpmi, RPMdrake, ...), install one of the two below
packages: packages:
- 'nut-server' if you have a 'standalone' or 'netserver' installation, - 'nut-server' if you have a 'standalone' or 'netserver' installation,
- 'nut' if you have a 'netclient' installation. - 'nut' if you have a 'netclient' installation.
Optionaly, you can also install the following: Optionally, you can also install the following:
- 'nut-cgi', if you need the CGI (HTML) option, - 'nut-cgi', if you need the CGI (HTML) option,
- 'nut-devel', if you need the development files. - 'nut-devel', if you need the development files.
[[Suse]] [[SUSE]]
Suse / Opensuse SUSE / openSUSE
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
NOTE: NUT is packaged and well maintained in these systems. NOTE: NUT is packaged and well maintained in these systems.
The official Suse packager is part of the NUT Team. The official SUSE packager is part of the NUT Team.
Install the 'nut-classic' package, and optionaly the following: Install the 'nut-classic' package, and optionally the following:
- 'nut-drivers-net', if you need the snmp-ups or the netxml-ups drivers, - 'nut-drivers-net', if you need the snmp-ups or the netxml-ups drivers,
- 'nut-cgi', if you need the CGI (HTML) option, - 'nut-cgi', if you need the CGI (HTML) option,
- 'nut-devel', if you need the development files, - 'nut-devel', if you need the development files,
NOTE: Suse and Opensuse users can use the NOTE: SUSE and openSUSE users can use the
link:http://software.opensuse.org/search?baseproject=ALL&p=1&q=nut[one-click install method] link:http://software.opensuse.org/search?baseproject=ALL&p=1&q=nut[one-click install method]
to install NUT. to install NUT.
@ -270,13 +270,13 @@ Red Hat, Fedora and CentOS
NOTE: NUT is packaged and well maintained in these systems. NOTE: NUT is packaged and well maintained in these systems.
The official Red Hat packager is part of the NUT Team. The official Red Hat packager is part of the NUT Team.
Using your prefered method (yum, Add/Remove Software, ...), install one of the Using your preferred method (yum, Add/Remove Software, ...), install one of the
two below packages: two below packages:
- 'nut' if you have a 'standalone' or 'netserver' installation, - 'nut' if you have a 'standalone' or 'netserver' installation,
- 'nut-client' if you have a 'netclient' installation. - 'nut-client' if you have a 'netclient' installation.
Optionaly, you can also install the following: Optionally, you can also install the following:
- 'nut-cgi', if you need the CGI (HTML) option, - 'nut-cgi', if you need the CGI (HTML) option,
- 'nut-xml', if you need the netxml-ups driver, - 'nut-xml', if you need the netxml-ups driver,
@ -306,7 +306,7 @@ To install it, use the following command:
You have to define WITH_NUT_CGI to build the optional CGI scripts. You have to define WITH_NUT_CGI to build the optional CGI scripts.
Optionaly, you can also install the following ports: Optionally, you can also install the following ports:
- sysutils/nut-snmp, for the SNMP driver, - sysutils/nut-snmp, for the SNMP driver,
- sysutils/nut-usb, for the USB drivers, - sysutils/nut-usb, for the USB drivers,

View file

@ -56,6 +56,7 @@ ChangeLog: tools/gitlog2changelog.py dummy-stamp
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Maintainers targets: distribution signature and hashes # Maintainers targets: distribution signature and hashes
dist-sig: dist-sig:
rm -f nut-@PACKAGE_VERSION@.tar.gz.sig
gpg --detach-sign nut-@PACKAGE_VERSION@.tar.gz gpg --detach-sign nut-@PACKAGE_VERSION@.tar.gz
dist-hash: dist-hash:
@ -107,7 +108,7 @@ install-cgi-man install-cgi-conf install-cgi-html:
@echo "Use './configure --with-cgi' instead." @echo "Use './configure --with-cgi' instead."
install-lib: install-lib:
@echo "Error: 'make $@' no longer exists." @echo "Error: 'make $@' no longer exists."
@echo "Use './configure --with-lib' instead." @echo "Use './configure --with-dev' instead."
usb build-usb install-usb: usb build-usb install-usb:
@echo "Error: 'make $@' no longer exists." @echo "Error: 'make $@' no longer exists."
@echo "Use './configure --with-usb' instead." @echo "Use './configure --with-usb' instead."

View file

@ -273,6 +273,7 @@ LD = @LD@
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@ LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@
LIBAVAHI_LIBS = @LIBAVAHI_LIBS@ LIBAVAHI_LIBS = @LIBAVAHI_LIBS@
LIBDIR = @LIBDIR@
LIBGD_CFLAGS = @LIBGD_CFLAGS@ LIBGD_CFLAGS = @LIBGD_CFLAGS@
LIBGD_LDFLAGS = @LIBGD_LDFLAGS@ LIBGD_LDFLAGS = @LIBGD_LDFLAGS@
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@ LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@
@ -931,6 +932,7 @@ ChangeLog: tools/gitlog2changelog.py dummy-stamp
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Maintainers targets: distribution signature and hashes # Maintainers targets: distribution signature and hashes
dist-sig: dist-sig:
rm -f nut-@PACKAGE_VERSION@.tar.gz.sig
gpg --detach-sign nut-@PACKAGE_VERSION@.tar.gz gpg --detach-sign nut-@PACKAGE_VERSION@.tar.gz
dist-hash: dist-hash:
@ -976,7 +978,7 @@ install-cgi-man install-cgi-conf install-cgi-html:
@echo "Use './configure --with-cgi' instead." @echo "Use './configure --with-cgi' instead."
install-lib: install-lib:
@echo "Error: 'make $@' no longer exists." @echo "Error: 'make $@' no longer exists."
@echo "Use './configure --with-lib' instead." @echo "Use './configure --with-dev' instead."
usb build-usb install-usb: usb build-usb install-usb:
@echo "Error: 'make $@' no longer exists." @echo "Error: 'make $@' no longer exists."
@echo "Use './configure --with-usb' instead." @echo "Use './configure --with-usb' instead."

120
NEWS
View file

@ -3,6 +3,124 @@ If you're upgrading from an earlier version, see the UPGRADING file.
For a complete and more detailed list of changes, please refer to the For a complete and more detailed list of changes, please refer to the
ChangeLog file. ChangeLog file.
---------------------------------------------------------------------------
Release notes for NUT 2.7.4 - what's new since 2.7.3:
- New class of device supported: ATS - Automatic Transfer Switch are now
supported in NUT. Eaton ATS are supported, and APC ones should be too. Users
are welcomed to test and provide feedback
- NUT command and variable naming scheme:
* Document battery.charger.status, which will in time replace the historic
CHRG and DISCHRG flags published in ups.status
* Many extensions to support outlets groups, thresholds / alarms (ambient,
input, output, outlet and outlet.group)
- support for new devices:
AEG PROTECT B / NAS
APC ATS AP7724 (should be supported)
Asium P700
Eaton ATS
Eaton 5E 1100iUSB
Eaton E Series DX UPS 1-20 kVA
Eaton Powerware 9125-5000g
Electrys UPS 2500
Fideltronic INIGO Viper 1200
Legrand Keor Multiplug
LYONN CTB-800V
Micropower LCD 1000
NHS Laser Senoidal 5000VA
Sweex model P220
TS Shara
Various APCUPSD-controlled APC devices
- snmp-ups:
* Improve automatic detection algorithm
* Provide access to Net-SNMP timeout and retries
* Proper handling of integer RW variables
* Implement support for alarms, through ups.alarm and outlet.n.alarm
* Improve log/debug output trace
* Fix loss of precision when setting values, using upsrw
* Support for outlets group management
* Many improvements and simplification
* Add support for Tripplite units using IETF mib
* Improve communication staleness detection and recovery
* Add devices MAC address publication
* Register values enumerations, when available
* Many improvements and fixes to the SNMP subdriver creation script
- Eaton:
* 3ph SNMP:
Many improvements to Powerware / XUPS MIB, for data and commands
Add support for Eaton Power Xpert Gateway UPS Card
Improve support for temperature and humidity, including low / high values
Alarms handling
* ePDU (G2 and G3):
Improve support for ambient sensor, including thresholds and dry contacts
Outlet groups handling, including data, thresholds, settings and commands
Alarms handling
* XML/PDC (netxml-ups):
Fix Eaton XML published data
Add some settings (R/W flags) on ambient thresholds
- bcmxcp_usb: improvements for device claiming and multi-packets responses
- dummy-ups: allow any variable to be modified
- libnutclient: Fix for reads when the socket was closed by NUT server
- macosx-ups:
* fix for 10.10 (Yosemite), v1.1
* gracefully handle disconnection of UPS (return "data stale")
- nutdrv_atcl_usb: point to nutdrv_qx (fuji) for 0001:0000
- nutdrv_qx:
* Add new 'sgs' USB subdriver to support TS Shara units
* various improvements and simplification, to the code and documentation
- nut-ipmipsu: improve FreeIPMI support
- nut-scanner:
* Don't depend on development libraries, by looking at some known paths,
including the one provided through --libdir, to find the correct libraries
* Fix a crash on a 2nd call to libnutscan with SNMP method
- powercom: fix the processing of input and output voltage for KIN units
- solis:
* many improvements and cleanup
* resync with end-of-packet character
* fixes for Microsol Back-Ups BZ1200-BR
- tripplitesu: Fix initialization when tripplite firmware is buggy (for
Tripplite SU1000RT2U and possibly more)
- usbhid-ups:
* various minor improvements
* support for Eaton UPS with dual HID report descriptor in HID Parser
* handle missing USB strings in APC code
- SSL support through Mozilla NSS: Rework the NSS tests to ensure that NSS is
actually installed and usable for enabling SSL support in NUT
- Augeas support: Augeas lens for ups.conf was updated to add various missing
global directives and ups fields
- scripts/systemd/nut-server.service.in: Restore systemd relationship since it
was preventing upsd from starting whenever one or more drivers, among several,
was failing to start
- Fix UPower device matching for recent kernels, since hiddev* devices now have
class "usbmisc", rather than "usb"
- Network protocol information: default to type NUMBER for variables that are
not flagged as STRING . This point is subject to improvements or change in
the next release 2.7.5. Refer to docs/net-protocol.txt for more information
- As usual, more bugfixes, cleanup and improvements, on both source code
and documentation.
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
Release notes for NUT 2.7.3 - what's new since 2.7.2: Release notes for NUT 2.7.3 - what's new since 2.7.2:
@ -323,7 +441,7 @@ Release notes for NUT 2.6.4 - what's new since 2.6.3:
- bestups has also received some care, though users are encouraged to switch - bestups has also received some care, though users are encouraged to switch
to blazer_ser, since bestups will soon be deprecated. to blazer_ser, since bestups will soon be deprecated.
- newmge-shut has been heavilly improved. However, replacement of the - newmge-shut has been heavily improved. However, replacement of the
current mge-shut has been postponed to the next release, due to the CVE current mge-shut has been postponed to the next release, due to the CVE
issue. issue.

View file

@ -7,6 +7,22 @@ This file lists changes that affect users who installed older versions
of this software. When upgrading from an older version, be sure to of this software. When upgrading from an older version, be sure to
check this file to see if you need to make changes to your system. check this file to see if you need to make changes to your system.
Changes from 2.7.3 to 2.7.4
---------------------------
- scripts/systemd/nut-server.service.in: Restore systemd relationship since it
was preventing upsd from starting whenever one or more drivers, among several,
was failing to start
- Fix UPower device matching for recent kernels, since hiddev* devices now have
class "usbmisc", rather than "usb"
- macosx-ups: the "port" driver option no longer has any effect
- Network protocol information: default to type NUMBER for variables that are
not flagged as STRING . This point is subject to improvements or change in
the next release 2.7.5. Refer to docs/net-protocol.txt for more information
Changes from 2.7.2 to 2.7.3 Changes from 2.7.2 to 2.7.3
--------------------------- ---------------------------
@ -191,7 +207,7 @@ automake). Refer to packaging/debian/ for an example of migration.
ie not using upsdrvctl. ie not using upsdrvctl.
- Developers of external client application using libupsclient are - Developers of external client application using libupsclient are
encouraged to rename the "UPSCONN" client structure to "UPSCONN_t" encouraged to rename the "UPSCONN" client structure to "UPSCONN_t"
since the former will disapear by the release of NUT 2.4. since the former will disappear by the release of NUT 2.4.
Changes from 2.0.4 to 2.0.5 Changes from 2.0.4 to 2.0.5
--------------------------- ---------------------------

View file

@ -366,6 +366,7 @@ LD = @LD@
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@ LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@
LIBAVAHI_LIBS = @LIBAVAHI_LIBS@ LIBAVAHI_LIBS = @LIBAVAHI_LIBS@
LIBDIR = @LIBDIR@
LIBGD_CFLAGS = @LIBGD_CFLAGS@ LIBGD_CFLAGS = @LIBGD_CFLAGS@
LIBGD_LDFLAGS = @LIBGD_LDFLAGS@ LIBGD_LDFLAGS = @LIBGD_LDFLAGS@
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@ LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@

View file

@ -374,6 +374,11 @@ std::string Socket::read()throw(nut::IOException)
// Read new buffer // Read new buffer
size_t sz = read(&buff, 256); size_t sz = read(&buff, 256);
if(sz==0)
{
disconnect();
throw nut::IOException("Server closed connection unexpectedly");
}
_buffer.assign(buff, sz); _buffer.assign(buff, sz);
} }
} }

View file

@ -366,6 +366,11 @@ static void do_type(const char *varname)
} }
if (!strcasecmp(answer[i], "NUMBER")) {
printf("Type: NUMBER\n");
return;
}
/* ignore this one */ /* ignore this one */
if (!strcasecmp(answer[i], "RW")) { if (!strcasecmp(answer[i], "RW")) {
continue; continue;

View file

@ -9,8 +9,8 @@ libparseconf_la_SOURCES = parseconf.c
# 'dist', and is only required for actual build, in which case # 'dist', and is only required for actual build, in which case
# BUILT_SOURCES (in ../include) will ensure nut_version.h will # BUILT_SOURCES (in ../include) will ensure nut_version.h will
# be built before anything else # be built before anything else
libcommon_la_SOURCES = common.c state.c upsconf.c libcommon_la_SOURCES = common.c state.c str.c upsconf.c
libcommonclient_la_SOURCES = common.c state.c libcommonclient_la_SOURCES = common.c state.c str.c
# ensure inclusion of local implementation of missing systems functions # ensure inclusion of local implementation of missing systems functions
# using LTLIBOBJS. Refer to configure.in -> AC_REPLACE_FUNCS # using LTLIBOBJS. Refer to configure.in -> AC_REPLACE_FUNCS
libcommon_la_LIBADD = libparseconf.la @LTLIBOBJS@ libcommon_la_LIBADD = libparseconf.la @LTLIBOBJS@

View file

@ -82,8 +82,8 @@ build_triplet = @build@
host_triplet = @host@ host_triplet = @host@
target_triplet = @target@ target_triplet = @target@
subdir = common subdir = common
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am strerror.c \ DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am atexit.c \
atexit.c setenv.c snprintf.c $(top_srcdir)/depcomp snprintf.c setenv.c strerror.c $(top_srcdir)/depcomp
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_compare_version.m4 \ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_compare_version.m4 \
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
@ -114,14 +114,14 @@ CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES = CONFIG_CLEAN_VPATH_FILES =
LTLIBRARIES = $(noinst_LTLIBRARIES) LTLIBRARIES = $(noinst_LTLIBRARIES)
libcommon_la_DEPENDENCIES = libparseconf.la @LTLIBOBJS@ libcommon_la_DEPENDENCIES = libparseconf.la @LTLIBOBJS@
am_libcommon_la_OBJECTS = common.lo state.lo upsconf.lo am_libcommon_la_OBJECTS = common.lo state.lo str.lo upsconf.lo
libcommon_la_OBJECTS = $(am_libcommon_la_OBJECTS) libcommon_la_OBJECTS = $(am_libcommon_la_OBJECTS)
AM_V_lt = $(am__v_lt_@AM_V@) AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent am__v_lt_0 = --silent
am__v_lt_1 = am__v_lt_1 =
libcommonclient_la_DEPENDENCIES = libparseconf.la @LTLIBOBJS@ libcommonclient_la_DEPENDENCIES = libparseconf.la @LTLIBOBJS@
am_libcommonclient_la_OBJECTS = common.lo state.lo am_libcommonclient_la_OBJECTS = common.lo state.lo str.lo
libcommonclient_la_OBJECTS = $(am_libcommonclient_la_OBJECTS) libcommonclient_la_OBJECTS = $(am_libcommonclient_la_OBJECTS)
libparseconf_la_LIBADD = libparseconf_la_LIBADD =
am_libparseconf_la_OBJECTS = parseconf.lo am_libparseconf_la_OBJECTS = parseconf.lo
@ -241,6 +241,7 @@ LD = @LD@
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@ LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@
LIBAVAHI_LIBS = @LIBAVAHI_LIBS@ LIBAVAHI_LIBS = @LIBAVAHI_LIBS@
LIBDIR = @LIBDIR@
LIBGD_CFLAGS = @LIBGD_CFLAGS@ LIBGD_CFLAGS = @LIBGD_CFLAGS@
LIBGD_LDFLAGS = @LIBGD_LDFLAGS@ LIBGD_LDFLAGS = @LIBGD_LDFLAGS@
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@ LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@
@ -382,8 +383,8 @@ libparseconf_la_SOURCES = parseconf.c
# 'dist', and is only required for actual build, in which case # 'dist', and is only required for actual build, in which case
# BUILT_SOURCES (in ../include) will ensure nut_version.h will # BUILT_SOURCES (in ../include) will ensure nut_version.h will
# be built before anything else # be built before anything else
libcommon_la_SOURCES = common.c state.c upsconf.c libcommon_la_SOURCES = common.c state.c str.c upsconf.c
libcommonclient_la_SOURCES = common.c state.c libcommonclient_la_SOURCES = common.c state.c str.c
# ensure inclusion of local implementation of missing systems functions # ensure inclusion of local implementation of missing systems functions
# using LTLIBOBJS. Refer to configure.in -> AC_REPLACE_FUNCS # using LTLIBOBJS. Refer to configure.in -> AC_REPLACE_FUNCS
libcommon_la_LIBADD = libparseconf.la @LTLIBOBJS@ libcommon_la_LIBADD = libparseconf.la @LTLIBOBJS@
@ -456,6 +457,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parseconf.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parseconf.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/state.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/state.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/str.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/upsconf.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/upsconf.Plo@am__quote@
.c.o: .c.o:

View file

@ -584,47 +584,6 @@ char *xstrdup(const char *string)
return p; return p;
} }
/* modify in - strip all trailing instances of <sep> */
char *rtrim(char *in, const char sep)
{
char seps[2] = { sep, '\0' };
return rtrim_m(in, seps);
}
/* modify in - strip all trailing instances of each char in <seps> */
char *rtrim_m(char *in, const char *seps)
{
char *p;
if (in && strlen(in)) {
p = &in[strlen(in) - 1];
while ((p >= in) && (strchr(seps, *p) != NULL))
*p-- = '\0';
}
return in;
}
/* modify in - strip all leading instances of <sep> */
char* ltrim(char *in, const char sep)
{
char seps[2] = { sep, '\0' };
return ltrim_m(in, seps);
}
/* modify in - strip all leading instances of each char in <seps> */
char* ltrim_m(char *in, const char *seps)
{
if (in && strlen(in)) {
while ((*in != '\0') && (strchr(seps, *in) != NULL))
memmove(in, in + 1, strlen(in));
}
return in;
}
/* Read up to buflen bytes from fd and return the number of bytes /* Read up to buflen bytes from fd and return the number of bytes
read. If no data is available within d_sec + d_usec, return 0. read. If no data is available within d_sec + d_usec, return 0.
On error, a value < 0 is returned (errno indicates error). */ On error, a value < 0 is returned (errno indicates error). */

607
common/str.c Normal file
View file

@ -0,0 +1,607 @@
/* str.c - Common string-related functions
*
* Copyright (C)
* 2000 Russell Kroll <rkroll@exploits.org>
* 2015 Daniele Pezzini <hyouko@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include "str.h"
char *str_trim(char *string, const char character)
{
return str_rtrim(str_ltrim(string, character), character);
}
char *str_trim_m(char *string, const char *characters)
{
return str_rtrim_m(str_ltrim_m(string, characters), characters);
}
char *str_ltrim(char *string, const char character)
{
char characters[2] = { character, '\0' };
return str_ltrim_m(string, characters);
}
char *str_ltrim_m(char *string, const char *characters)
{
if (
string == NULL ||
*string == '\0' ||
characters == NULL ||
*characters == '\0'
)
return string;
while (
*string != '\0' &&
strchr(characters, *string) != NULL
)
memmove(string, string + 1, strlen(string));
return string;
}
char *str_rtrim(char *string, const char character)
{
char characters[2] = { character, '\0' };
return str_rtrim_m(string, characters);
}
char *str_rtrim_m(char *string, const char *characters)
{
char *ptr;
if (
string == NULL ||
*string == '\0' ||
characters == NULL ||
*characters == '\0'
)
return string;
ptr = &string[strlen(string) - 1];
while (
ptr >= string &&
strchr(characters, *ptr) != NULL
)
*ptr-- = '\0';
return string;
}
char *str_trim_space(char *string)
{
return str_rtrim_space(str_ltrim_space(string));
}
char *str_ltrim_space(char *string)
{
if (
string == NULL ||
*string == '\0'
)
return string;
while (
*string != '\0' &&
isspace(*string)
)
memmove(string, string + 1, strlen(string));
return string;
}
char *str_rtrim_space(char *string)
{
char *ptr;
if (
string == NULL ||
*string == '\0'
)
return string;
ptr = &string[strlen(string) - 1];
while (
ptr >= string &&
isspace(*ptr)
)
*ptr-- = '\0';
return string;
}
int str_is_short(const char *string, const int base)
{
short number;
return str_to_short(string, &number, base);
}
int str_is_short_strict(const char *string, const int base)
{
short number;
return str_to_short_strict(string, &number, base);
}
int str_is_ushort(const char *string, const int base)
{
unsigned short number;
return str_to_ushort(string, &number, base);
}
int str_is_ushort_strict(const char *string, const int base)
{
unsigned short number;
return str_to_ushort_strict(string, &number, base);
}
int str_is_int(const char *string, const int base)
{
int number;
return str_to_int(string, &number, base);
}
int str_is_int_strict(const char *string, const int base)
{
int number;
return str_to_int_strict(string, &number, base);
}
int str_is_uint(const char *string, const int base)
{
unsigned int number;
return str_to_uint(string, &number, base);
}
int str_is_uint_strict(const char *string, const int base)
{
unsigned int number;
return str_to_uint_strict(string, &number, base);
}
int str_is_long(const char *string, const int base)
{
long number;
return str_to_long(string, &number, base);
}
int str_is_long_strict(const char *string, const int base)
{
long number;
return str_to_long_strict(string, &number, base);
}
int str_is_ulong(const char *string, const int base)
{
unsigned long number;
return str_to_ulong(string, &number, base);
}
int str_is_ulong_strict(const char *string, const int base)
{
unsigned long number;
return str_to_ulong_strict(string, &number, base);
}
int str_is_double(const char *string, const int base)
{
double number;
return str_to_double(string, &number, base);
}
int str_is_double_strict(const char *string, const int base)
{
double number;
return str_to_double_strict(string, &number, base);
}
int str_to_short(const char *string, short *number, const int base)
{
long num;
*number = 0;
if (!str_to_long(string, &num, base))
return 0;
if (
num < SHRT_MIN ||
num > SHRT_MAX
) {
errno = ERANGE;
return 0;
}
*number = num;
return 1;
}
int str_to_short_strict(const char *string, short *number, const int base)
{
long num;
*number = 0;
if (!str_to_long_strict(string, &num, base))
return 0;
if (
num < SHRT_MIN ||
num > SHRT_MAX
) {
errno = ERANGE;
return 0;
}
*number = num;
return 1;
}
int str_to_ushort(const char *string, unsigned short *number, const int base)
{
unsigned long num;
*number = 0;
if (!str_to_ulong(string, &num, base))
return 0;
if (num > USHRT_MAX) {
errno = ERANGE;
return 0;
}
*number = num;
return 1;
}
int str_to_ushort_strict(const char *string, unsigned short *number, const int base)
{
unsigned long num;
*number = 0;
if (!str_to_ulong_strict(string, &num, base))
return 0;
if (num > USHRT_MAX) {
errno = ERANGE;
return 0;
}
*number = num;
return 1;
}
int str_to_int(const char *string, int *number, const int base)
{
long num;
*number = 0;
if (!str_to_long(string, &num, base))
return 0;
if (
num < INT_MIN ||
num > INT_MAX
) {
errno = ERANGE;
return 0;
}
*number = num;
return 1;
}
int str_to_int_strict(const char *string, int *number, const int base)
{
long num;
*number = 0;
if (!str_to_long_strict(string, &num, base))
return 0;
if (
num < INT_MIN ||
num > INT_MAX
) {
errno = ERANGE;
return 0;
}
*number = num;
return 1;
}
int str_to_uint(const char *string, unsigned int *number, const int base)
{
unsigned long num;
*number = 0;
if (!str_to_ulong(string, &num, base))
return 0;
if (num > UINT_MAX) {
errno = ERANGE;
return 0;
}
*number = num;
return 1;
}
int str_to_uint_strict(const char *string, unsigned int *number, const int base)
{
unsigned long num;
*number = 0;
if (!str_to_ulong_strict(string, &num, base))
return 0;
if (num > UINT_MAX) {
errno = ERANGE;
return 0;
}
*number = num;
return 1;
}
int str_to_long(const char *string, long *number, const int base)
{
char *str;
*number = 0;
if (
string == NULL ||
*string == '\0'
) {
errno = EINVAL;
return 0;
}
str = strdup(string);
if (str == NULL)
return 0;
str_trim_space(str);
if (!str_to_long_strict(str, number, base)) {
free(str);
return 0;
}
free(str);
return 1;
}
int str_to_long_strict(const char *string, long *number, const int base)
{
char *ptr = NULL;
*number = 0;
if (
string == NULL ||
*string == '\0' ||
isspace(*string)
) {
errno = EINVAL;
return 0;
}
errno = 0;
*number = strtol(string, &ptr, base);
if (
errno == EINVAL ||
*ptr != '\0'
) {
*number = 0;
errno = EINVAL;
return 0;
}
if (errno == ERANGE) {
*number = 0;
return 0;
}
return 1;
}
int str_to_ulong(const char *string, unsigned long *number, const int base)
{
char *str;
*number = 0;
if (
string == NULL ||
*string == '\0'
) {
errno = EINVAL;
return 0;
}
str = strdup(string);
if (str == NULL)
return 0;
str_trim_space(str);
if (!str_to_ulong_strict(str, number, base)) {
free(str);
return 0;
}
free(str);
return 1;
}
int str_to_ulong_strict(const char *string, unsigned long *number, const int base)
{
char *ptr = NULL;
*number = 0;
if (
string == NULL ||
*string == '\0' ||
*string == '+' ||
*string == '-' ||
isspace(*string)
) {
errno = EINVAL;
return 0;
}
errno = 0;
*number = strtoul(string, &ptr, base);
if (
errno == EINVAL ||
*ptr != '\0'
) {
*number = 0;
errno = EINVAL;
return 0;
}
if (errno == ERANGE) {
*number = 0;
return 0;
}
return 1;
}
int str_to_double(const char *string, double *number, const int base)
{
char *str;
*number = 0;
if (
string == NULL ||
*string == '\0'
) {
errno = EINVAL;
return 0;
}
str = strdup(string);
if (str == NULL)
return 0;
str_trim_space(str);
if (!str_to_double_strict(str, number, base)) {
free(str);
return 0;
}
free(str);
return 1;
}
int str_to_double_strict(const char *string, double *number, const int base)
{
char *ptr = NULL;
*number = 0;
if (
string == NULL ||
*string == '\0' ||
isspace(*string)
) {
errno = EINVAL;
return 0;
}
switch (base)
{
case 0:
break;
case 10:
if (strlen(string) != strspn(string, "-+.0123456789Ee")) {
errno = EINVAL;
return 0;
}
break;
case 16:
if (strlen(string) != strspn(string, "-+.0123456789ABCDEFabcdefXxPp")) {
errno = EINVAL;
return 0;
}
break;
default:
errno = EINVAL;
return 0;
}
errno = 0;
*number = strtod(string, &ptr);
if (
errno == EINVAL ||
*ptr != '\0'
) {
*number = 0;
errno = EINVAL;
return 0;
}
if (errno == ERANGE) {
*number = 0;
return 0;
}
return 1;
}

View file

@ -220,6 +220,7 @@ LD = @LD@
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@ LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@
LIBAVAHI_LIBS = @LIBAVAHI_LIBS@ LIBAVAHI_LIBS = @LIBAVAHI_LIBS@
LIBDIR = @LIBDIR@
LIBGD_CFLAGS = @LIBGD_CFLAGS@ LIBGD_CFLAGS = @LIBGD_CFLAGS@
LIBGD_LDFLAGS = @LIBGD_LDFLAGS@ LIBGD_LDFLAGS = @LIBGD_LDFLAGS@
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@ LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@

98
configure vendored
View file

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for nut 2.7.3. # Generated by GNU Autoconf 2.69 for nut 2.7.4.
# #
# Report bugs to <https://github.com/networkupstools/nut/issues>. # Report bugs to <https://github.com/networkupstools/nut/issues>.
# #
@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='nut' PACKAGE_NAME='nut'
PACKAGE_TARNAME='nut' PACKAGE_TARNAME='nut'
PACKAGE_VERSION='2.7.3' PACKAGE_VERSION='2.7.4'
PACKAGE_STRING='nut 2.7.3' PACKAGE_STRING='nut 2.7.4'
PACKAGE_BUGREPORT='https://github.com/networkupstools/nut/issues' PACKAGE_BUGREPORT='https://github.com/networkupstools/nut/issues'
PACKAGE_URL='' PACKAGE_URL=''
@ -652,6 +652,7 @@ RUN_AS_USER
PORT PORT
SBINDIR SBINDIR
DRVPATH DRVPATH
LIBDIR
BINDIR BINDIR
CONFPATH CONFPATH
STATEPATH STATEPATH
@ -1511,7 +1512,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures nut 2.7.3 to adapt to many kinds of systems. \`configure' configures nut 2.7.4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1582,7 +1583,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of nut 2.7.3:";; short | recursive ) echo "Configuration of nut 2.7.4:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@ -1784,7 +1785,7 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
nut configure 2.7.3 nut configure 2.7.4
generated by GNU Autoconf 2.69 generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
@ -2374,7 +2375,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by nut $as_me 2.7.3, which was It was created by nut $as_me 2.7.4, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@ $ $0 $@
@ -3493,7 +3494,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='nut' PACKAGE='nut'
VERSION='2.7.3' VERSION='2.7.4'
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
@ -10271,32 +10272,33 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LIBS}" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LIBS}" >&5
$as_echo "${LIBS}" >&6; } $as_echo "${LIBS}" >&6; }
for ac_header in nss.h for ac_func in NSS_Init
do :
ac_fn_c_check_header_compile "$LINENO" "nss.h" "ac_cv_header_nss_h" "$ac_includes_default
"
if test "x$ac_cv_header_nss_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_NSS_H 1
_ACEOF
nut_have_libnss=yes
else
nut_have_libnss=no
fi
done
for ac_func in NSS_Init
do : do :
ac_fn_c_check_func "$LINENO" "NSS_Init" "ac_cv_func_NSS_Init" ac_fn_c_check_func "$LINENO" "NSS_Init" "ac_cv_func_NSS_Init"
if test "x$ac_cv_func_NSS_Init" = xyes; then : if test "x$ac_cv_func_NSS_Init" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_NSS_INIT 1 #define HAVE_NSS_INIT 1
_ACEOF
nut_have_libnss=yes
else
nut_have_libnss=no
fi
done
for ac_header in nss.h ssl.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
"
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF _ACEOF
else else
nut_have_libnss=no nut_have_libnss=no
fi fi
done done
@ -10601,32 +10603,33 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LIBS}" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LIBS}" >&5
$as_echo "${LIBS}" >&6; } $as_echo "${LIBS}" >&6; }
for ac_header in nss.h for ac_func in NSS_Init
do :
ac_fn_c_check_header_compile "$LINENO" "nss.h" "ac_cv_header_nss_h" "$ac_includes_default
"
if test "x$ac_cv_header_nss_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_NSS_H 1
_ACEOF
nut_have_libnss=yes
else
nut_have_libnss=no
fi
done
for ac_func in NSS_Init
do : do :
ac_fn_c_check_func "$LINENO" "NSS_Init" "ac_cv_func_NSS_Init" ac_fn_c_check_func "$LINENO" "NSS_Init" "ac_cv_func_NSS_Init"
if test "x$ac_cv_func_NSS_Init" = xyes; then : if test "x$ac_cv_func_NSS_Init" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_NSS_INIT 1 #define HAVE_NSS_INIT 1
_ACEOF
nut_have_libnss=yes
else
nut_have_libnss=no
fi
done
for ac_header in nss.h ssl.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
"
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF _ACEOF
else else
nut_have_libnss=no nut_have_libnss=no
fi fi
done done
@ -23333,6 +23336,16 @@ cat >>confdefs.h <<_ACEOF
_ACEOF _ACEOF
conftemp="${libdir}"
eval conftemp=\"${conftemp}\"
eval conftemp=\"${conftemp}\"
LIBDIR=${conftemp}
cat >>confdefs.h <<_ACEOF
#define LIBDIR "${conftemp}"
_ACEOF
now=`TZ=UTC date +%Y-%m-%d` now=`TZ=UTC date +%Y-%m-%d`
@ -23384,6 +23397,7 @@ now=`TZ=UTC date +%Y-%m-%d`
ac_config_files="$ac_config_files clients/Makefile common/Makefile conf/Makefile conf/upsmon.conf.sample conf/upssched.conf.sample data/html/header.html data/html/Makefile data/Makefile data/driver.list docs/Makefile docs/docinfo.xml docs/man/Makefile drivers/Makefile include/Makefile lib/libupsclient-config lib/libupsclient.pc lib/libnutclient.pc lib/libnutscan.pc lib/Makefile scripts/Aix/nut-aix.spec scripts/augeas/Makefile scripts/augeas/nutnutconf.aug scripts/augeas/nutupsconf.aug scripts/augeas/nutupsdconf.aug scripts/augeas/nutupsdusers.aug scripts/augeas/nutupsmonconf.aug scripts/augeas/nutupsschedconf.aug scripts/augeas/nuthostsconf.aug scripts/augeas/nutupssetconf.aug scripts/avahi/nut.service scripts/devd/Makefile scripts/devd/nut-usb.conf scripts/hotplug/Makefile scripts/hotplug/libhidups scripts/HP-UX/nut.psf scripts/HP-UX/postinstall scripts/python/Makefile scripts/systemd/Makefile scripts/systemd/nut-driver.service scripts/systemd/nut-monitor.service scripts/systemd/nut-server.service scripts/systemd/nutshutdown scripts/Solaris/Makefile scripts/Solaris/pkginfo scripts/Solaris/postinstall scripts/Solaris/preremove scripts/Solaris/nut scripts/udev/Makefile scripts/udev/nut-ipmipsu.rules scripts/udev/nut-usbups.rules scripts/ufw/nut.ufw.profile scripts/Makefile server/Makefile tools/Makefile tools/nut-scanner/Makefile tests/Makefile Makefile" ac_config_files="$ac_config_files clients/Makefile common/Makefile conf/Makefile conf/upsmon.conf.sample conf/upssched.conf.sample data/html/header.html data/html/Makefile data/Makefile data/driver.list docs/Makefile docs/docinfo.xml docs/man/Makefile drivers/Makefile include/Makefile lib/libupsclient-config lib/libupsclient.pc lib/libnutclient.pc lib/libnutscan.pc lib/Makefile scripts/Aix/nut-aix.spec scripts/augeas/Makefile scripts/augeas/nutnutconf.aug scripts/augeas/nutupsconf.aug scripts/augeas/nutupsdconf.aug scripts/augeas/nutupsdusers.aug scripts/augeas/nutupsmonconf.aug scripts/augeas/nutupsschedconf.aug scripts/augeas/nuthostsconf.aug scripts/augeas/nutupssetconf.aug scripts/avahi/nut.service scripts/devd/Makefile scripts/devd/nut-usb.conf scripts/hotplug/Makefile scripts/hotplug/libhidups scripts/HP-UX/nut.psf scripts/HP-UX/postinstall scripts/python/Makefile scripts/systemd/Makefile scripts/systemd/nut-driver.service scripts/systemd/nut-monitor.service scripts/systemd/nut-server.service scripts/systemd/nutshutdown scripts/Solaris/Makefile scripts/Solaris/pkginfo scripts/Solaris/postinstall scripts/Solaris/preremove scripts/Solaris/nut scripts/udev/Makefile scripts/udev/nut-ipmipsu.rules scripts/udev/nut-usbups.rules scripts/ufw/nut.ufw.profile scripts/Makefile server/Makefile tools/Makefile tools/nut-scanner/Makefile tests/Makefile Makefile"
@ -24051,7 +24065,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by nut $as_me 2.7.3, which was This file was extended by nut $as_me 2.7.4, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@ -24117,7 +24131,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\ ac_cs_version="\\
nut config.status 2.7.3 nut config.status 2.7.4
configured by $0, generated by GNU Autoconf 2.69, configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"

View file

@ -3,7 +3,8 @@ dnl | Network UPS Tools: configure.ac |
dnl +------------------------------------------------------------------+ dnl +------------------------------------------------------------------+
dnl NUT version number is defined here, with a Git suffix in include/nut_version.h dnl NUT version number is defined here, with a Git suffix in include/nut_version.h
AC_INIT(nut, 2.7.3, [https://github.com/networkupstools/nut/issues]) AC_INIT(nut, 2.7.4, [https://github.com/networkupstools/nut/issues])
AC_CONFIG_AUX_DIR([.])
AC_CONFIG_SRCDIR(server/upsd.c) AC_CONFIG_SRCDIR(server/upsd.c)
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
echo "Network UPS Tools version ${PACKAGE_VERSION}" echo "Network UPS Tools version ${PACKAGE_VERSION}"
@ -1202,6 +1203,13 @@ eval conftemp=\"${conftemp}\"
SBINDIR=${conftemp} SBINDIR=${conftemp}
AC_DEFINE_UNQUOTED(SBINDIR, "${conftemp}", [Default path for system executables]) AC_DEFINE_UNQUOTED(SBINDIR, "${conftemp}", [Default path for system executables])
dnl same for libdir
conftemp="${libdir}"
eval conftemp=\"${conftemp}\"
eval conftemp=\"${conftemp}\"
LIBDIR=${conftemp}
AC_DEFINE_UNQUOTED(LIBDIR, "${conftemp}", [Default path for system libraries])
dnl Current date dnl Current date
now=`TZ=UTC date +%Y-%m-%d` now=`TZ=UTC date +%Y-%m-%d`
@ -1239,6 +1247,7 @@ AC_SUBST(PIDPATH)
AC_SUBST(STATEPATH) AC_SUBST(STATEPATH)
AC_SUBST(CONFPATH) AC_SUBST(CONFPATH)
AC_SUBST(BINDIR) AC_SUBST(BINDIR)
AC_SUBST(LIBDIR)
AC_SUBST(DRVPATH) AC_SUBST(DRVPATH)
AC_SUBST(SBINDIR) AC_SUBST(SBINDIR)
AC_SUBST(PORT) AC_SUBST(PORT)

View file

@ -274,6 +274,7 @@ LD = @LD@
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@ LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@
LIBAVAHI_LIBS = @LIBAVAHI_LIBS@ LIBAVAHI_LIBS = @LIBAVAHI_LIBS@
LIBDIR = @LIBDIR@
LIBGD_CFLAGS = @LIBGD_CFLAGS@ LIBGD_CFLAGS = @LIBGD_CFLAGS@
LIBGD_LDFLAGS = @LIBGD_LDFLAGS@ LIBGD_LDFLAGS = @LIBGD_LDFLAGS@
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@ LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@

View file

@ -47,6 +47,11 @@ VARDESC input.voltage "Input voltage (V)"
VARDESC input.voltage.extended "Extended input voltage range" VARDESC input.voltage.extended "Extended input voltage range"
VARDESC input.voltage.maximum "Maximum incoming voltage seen (V)" VARDESC input.voltage.maximum "Maximum incoming voltage seen (V)"
VARDESC input.voltage.minimum "Minimum incoming voltage seen (V)" VARDESC input.voltage.minimum "Minimum incoming voltage seen (V)"
VARDESC input.voltage.status "Voltage status relative to the thresholds"
VARDESC input.voltage.low.warning "Input voltage low warning threshold (V)"
VARDESC input.voltage.low.critical "Input voltage low critical threshold (V)"
VARDESC input.voltage.high.warning "Input voltage high warning threshold (V)"
VARDESC input.voltage.high.critical "Input voltage high critical threshold (V)"
VARDESC input.voltage.nominal "Nominal input voltage (V)" VARDESC input.voltage.nominal "Nominal input voltage (V)"
VARDESC input.transfer.reason "Reason for last transfer to battery" VARDESC input.transfer.reason "Reason for last transfer to battery"
VARDESC input.transfer.low "Low voltage transfer point (V)" VARDESC input.transfer.low "Low voltage transfer point (V)"
@ -59,8 +64,14 @@ VARDESC input.sensitivity "Input power sensitivity"
VARDESC input.quality "Input power quality" VARDESC input.quality "Input power quality"
VARDESC input.current "Input current (A)" VARDESC input.current "Input current (A)"
VARDESC input.current.nominal "Nominal input current (A)" VARDESC input.current.nominal "Nominal input current (A)"
VARDESC input.current.status "Current status relative to the thresholds"
VARDESC input.current.low.warning "Input current low warning threshold (A)"
VARDESC input.current.low.critical "Input current low critical threshold (A)"
VARDESC input.current.high.warning "Input current high warning threshold (A)"
VARDESC input.current.high.critical "Input current high critical threshold (A)"
VARDESC input.frequency "Input line frequency (Hz)" VARDESC input.frequency "Input line frequency (Hz)"
VARDESC input.frequency.extended "Extended input frequency range" VARDESC input.frequency.extended "Extended input frequency range"
VARDESC input.frequency.status "Frequency status"
VARDESC input.frequency.nominal "Nominal input line frequency (Hz)" VARDESC input.frequency.nominal "Nominal input line frequency (Hz)"
VARDESC input.frequency.low "Minimum input line frequency (Hz)" VARDESC input.frequency.low "Minimum input line frequency (Hz)"
VARDESC input.frequency.high "Maximum input line frequency (Hz)" VARDESC input.frequency.high "Maximum input line frequency (Hz)"
@ -72,6 +83,8 @@ VARDESC input.transfer.delay "Delay before transfer to mains"
VARDESC input.load "Load on (ePDU) input (percent of full)" VARDESC input.load "Load on (ePDU) input (percent of full)"
VARDESC input.realpower "Current sum value of all (ePDU) phases real power (W)" VARDESC input.realpower "Current sum value of all (ePDU) phases real power (W)"
VARDESC input.power "Current sum value of all (ePDU) phases apparent power (VA)" VARDESC input.power "Current sum value of all (ePDU) phases apparent power (VA)"
VARDESC input.source "The current input power source"
VARDESC input.source.preferred "The prefered input power source"
VARDESC output.voltage "Output voltage (V)" VARDESC output.voltage "Output voltage (V)"
VARDESC output.voltage.nominal "Nominal output voltage (V)" VARDESC output.voltage.nominal "Nominal output voltage (V)"
@ -106,14 +119,31 @@ VARDESC battery.charger.status "Battery charger status"
VARDESC ambient.temperature "Ambient temperature (degrees C)" VARDESC ambient.temperature "Ambient temperature (degrees C)"
VARDESC ambient.temperature.alarm "Ambient temperature alarm is active" VARDESC ambient.temperature.alarm "Ambient temperature alarm is active"
VARDESC ambient.temperature.alarm.maximum "Maximum allowed ambient temperature" VARDESC ambient.temperature.status "Ambient temperature status relative to the configured thresholds"
VARDESC ambient.temperature.alarm.minimum "Minimum allowed ambient temperature" VARDESC ambient.temperature.alarm.maximum "Maximum allowed ambient temperature (degrees C)"
VARDESC ambient.temperature.alarm.minimum "Minimum allowed ambient temperature (degrees C)"
VARDESC ambient.temperature.alarm.enable "Enable ambient temperature alarm" VARDESC ambient.temperature.alarm.enable "Enable ambient temperature alarm"
VARDESC ambient.humidity "Ambient humidity" VARDESC ambient.temperature.low "Temperature threshold low (degrees C)"
VARDESC ambient.temperature.low.warning "Temperature threshold low warning (degrees C)"
VARDESC ambient.temperature.low.critical "Temperature threshold low critical (degrees C)"
VARDESC ambient.temperature.high "Temperature threshold high (degrees C)"
VARDESC ambient.temperature.high.warning "Temperature threshold high warning (degrees C)"
VARDESC ambient.temperature.high.critical "Temperature threshold high critical (degrees C)"
VARDESC ambient.humidity "Ambient humidity (percent)"
VARDESC ambient.humidity.alarm "Ambient humidity alarm is active" VARDESC ambient.humidity.alarm "Ambient humidity alarm is active"
VARDESC ambient.humidity.alarm.maximum "Maximum allowed ambient humidity" VARDESC ambient.humidity.status "Ambient humidity status relative to the configured thresholds"
VARDESC ambient.humidity.alarm.minimum "Minimum allowed ambient humidity" VARDESC ambient.humidity.alarm.maximum "Maximum allowed ambient humidity (percent)"
VARDESC ambient.humidity.alarm.minimum "Minimum allowed ambient humidity (percent)"
VARDESC ambient.humidity.alarm.enable "Enable ambient humidity alarm" VARDESC ambient.humidity.alarm.enable "Enable ambient humidity alarm"
VARDESC ambient.humidity.low "Ambient humidity threshold low (percent)"
VARDESC ambient.humidity.low.warning "Ambient humidity threshold low warning (percent)"
VARDESC ambient.humidity.low.critical "Ambient humidity threshold low critical (percent)"
VARDESC ambient.humidity.high "Ambient humidity threshold high (percent)"
VARDESC ambient.humidity.high.warning "Ambient humidity threshold high warning (percent)"
VARDESC ambient.humidity.high.critical "Ambient humidity threshold high critical (percent)"
VARDESC ambient.present "Ambient sensor presence"
VARDESC ambient.contacts.1.status "State of the dry contact sensor 1"
VARDESC ambient.contacts.2.status "State of the dry contact sensor 2"
# FIXME: the outlet collection is indexed - solve with regexs? # FIXME: the outlet collection is indexed - solve with regexs?
# #

View file

@ -18,6 +18,7 @@
# "ups" for Uninterruptible Power Supply # "ups" for Uninterruptible Power Supply
# "pdu" for Power Distributions Unit # "pdu" for Power Distributions Unit
# "scd" for Solar Controlers Device # "scd" for Solar Controlers Device
# "ats" for Automatic Transfer Switch
# #
# - support level: a number from "1" to "5" (stars) meaning: # - support level: a number from "1" to "5" (stars) meaning:
# * protocol based on reverse engineering # * protocol based on reverse engineering
@ -47,6 +48,8 @@
"AEC" "ups" "1" "MiniGuard UPS 700" "Megatec M2501 cable" "genericups upstype=21" "AEC" "ups" "1" "MiniGuard UPS 700" "Megatec M2501 cable" "genericups upstype=21"
"AEG Power Solutions" "ups" "2" "PROTECT HOME" "" "blazer_ser or blazer_usb" "AEG Power Solutions" "ups" "2" "PROTECT HOME" "" "blazer_ser or blazer_usb"
"AEG Power Solutions" "ups" "3" "PROTECT NAS" "" "usbhid-ups"
"AEG Power Solutions" "ups" "3" "PROTECT B" "" "usbhid-ups"
"APC" "ups" "2" "Back-UPS 1200BR (Microsol)" "" "solis" "APC" "ups" "2" "Back-UPS 1200BR (Microsol)" "" "solis"
"APC" "ups" "2" "Back-UPS BZ2200BI-BR (Microsol)" "" "solis" "APC" "ups" "2" "Back-UPS BZ2200BI-BR (Microsol)" "" "solis"
@ -70,10 +73,12 @@
"APC" "ups" "3" "Smart-UPS RT XL" "AP9618 SNMP monitoring card" "snmp-ups" "APC" "ups" "3" "Smart-UPS RT XL" "AP9618 SNMP monitoring card" "snmp-ups"
"APC" "ups" "3" "(various)" "AP9618 SNMP monitoring card" "snmp-ups" "APC" "ups" "3" "(various)" "AP9618 SNMP monitoring card" "snmp-ups"
"APC" "ups" "3" "(various)" "AP9630 SNMP monitoring card" "snmp-ups privProtocol=AES" "APC" "ups" "3" "(various)" "AP9630 SNMP monitoring card" "snmp-ups privProtocol=AES"
"APC" "ups" "3" "(various)" "APCUPSD-controlled devices" "apcupsd-ups"
"APC" "pdu" "1" "Masterswitch" "940-0020 cable" "genericups upstype=12" "APC" "pdu" "1" "Masterswitch" "940-0020 cable" "genericups upstype=12"
"APC" "pdu" "1" "AP9210" "8 outlets" "powerman-pdu (experimental)" "APC" "pdu" "1" "AP9210" "8 outlets" "powerman-pdu (experimental)"
"APC" "pdu" "1" "AP79xx" "8 to 24 outlets" "powerman-pdu (experimental)" "APC" "pdu" "1" "AP79xx" "8 to 24 outlets" "powerman-pdu (experimental)"
"APC" "pdu" "3" "(various)" "SNMP monitoring card" "snmp-ups (experimental)" "APC" "pdu" "3" "(various)" "SNMP monitoring card" "snmp-ups (experimental)"
"APC" "ats" "3" "ATS AP7724" "" "snmp-ups (experimental)"
"Aphel" "pdu" "3" "various PDU" "" "snmp-ups (experimental)" "Aphel" "pdu" "3" "various PDU" "" "snmp-ups (experimental)"
@ -93,7 +98,9 @@
"ARTronic" "ups" "2" "ARTon Platinium Combo 3.1 10/15/20 kVA" "USB" "blazer_usb" "ARTronic" "ups" "2" "ARTon Platinium Combo 3.1 10/15/20 kVA" "USB" "blazer_usb"
"ARTronic" "ups" "2" "ARTon Platinium RT 1/2/3/6/10 kVA" "USB" "blazer_usb" "ARTronic" "ups" "2" "ARTon Platinium RT 1/2/3/6/10 kVA" "USB" "blazer_usb"
"ASEM SPA" "UPS" "5" "PB1300 UPS" "i2c" "asem" "ASEM SPA" "ups" "5" "PB1300 UPS" "i2c" "asem"
"Asium" "ups" "3" "P700" "USB" "blazer_usb" # http://www.asiumpower.com/Asium-ASIUM-P700-650VA-360W/dp/B009SMEQ10
"ATEK" "ups" "2" "Defensor 1K Tower / Rack" "USB" "blazer_usb" "ATEK" "ups" "2" "Defensor 1K Tower / Rack" "USB" "blazer_usb"
"ATEK" "ups" "2" "Defensor 2K Tower / Rack" "USB" "blazer_usb" "ATEK" "ups" "2" "Defensor 2K Tower / Rack" "USB" "blazer_usb"
@ -242,8 +249,8 @@
"Dell" "ups" "5" "Rack 3750W High Efficiency Online HV" "USB port" "usbhid-ups" "Dell" "ups" "5" "Rack 3750W High Efficiency Online HV" "USB port" "usbhid-ups"
"Dell" "ups" "5" "Rack 4200W High Efficiency Online HV" "USB port" "usbhid-ups" "Dell" "ups" "5" "Rack 4200W High Efficiency Online HV" "USB port" "usbhid-ups"
"Dell" "ups" "5" "Rack 5600W HV" "USB port" "usbhid-ups" "Dell" "ups" "5" "Rack 5600W HV" "USB port" "usbhid-ups"
"Dell" "ups" "5" "Various (SNMP mode)" "UPS Network Management Card " "snmp-ups" "Dell" "ups" "5" "Various (SNMP mode)" "UPS Network Management Card" "snmp-ups"
"Dell" "ups" "5" "Various (XML/HTTP mode)" "UPS Network Management Card " "netxml-ups (experimental)" "Dell" "ups" "5" "Various (XML/HTTP mode)" "UPS Network Management Card" "netxml-ups (experimental)"
"Delta" "ups" "1" "GES602N" "" "belkin" "Delta" "ups" "1" "GES602N" "" "belkin"
@ -275,6 +282,8 @@
"Eaton" "ups" "5" "MX 5/8/10/15/20 kVA" "USB port" "usbhid-ups" "Eaton" "ups" "5" "MX 5/8/10/15/20 kVA" "USB port" "usbhid-ups"
"Eaton" "ups" "5" "5 PX" "USB port" "usbhid-ups" "Eaton" "ups" "5" "5 PX" "USB port" "usbhid-ups"
"Eaton" "ups" "5" "Nova AVR 625/1250" "USB" "usbhid-ups" "Eaton" "ups" "5" "Nova AVR 625/1250" "USB" "usbhid-ups"
"Eaton" "ups" "5" "5E650iUSB" "USB port" "usbhid-ups"
"Eaton" "ups" "5" "5E1100iUSB" "USB port" "usbhid-ups" # http://powerquality.eaton.com/5E1100iUSB.aspx?CX&GUID=8D85FE66-3102-427C-8F33-B8D56BBDD4D3
"Eaton" "ups" "5" "5S" "USB port" "usbhid-ups" "Eaton" "ups" "5" "5S" "USB port" "usbhid-ups"
"Eaton" "ups" "5" "5SC" "USB port" "usbhid-ups" "Eaton" "ups" "5" "5SC" "USB port" "usbhid-ups"
"Eaton" "ups" "5" "5P" "USB port" "usbhid-ups" "Eaton" "ups" "5" "5P" "USB port" "usbhid-ups"
@ -296,9 +305,10 @@
"Eaton" "ups" "5" "EX RT (XML/HTTP)" "NMC Transverse card (ref 66074)" "netxml-ups (experimental)" "Eaton" "ups" "5" "EX RT (XML/HTTP)" "NMC Transverse card (ref 66074)" "netxml-ups (experimental)"
"Eaton" "ups" "5" "EX RT (SNMP)" "NMC Transverse card (ref 66074)" "snmp-ups (experimental)" "Eaton" "ups" "5" "EX RT (SNMP)" "NMC Transverse card (ref 66074)" "snmp-ups (experimental)"
"Eaton" "ups" "5" "E Series NV UPS 400-2000 VA" "" "blazer_usb" "Eaton" "ups" "5" "E Series NV UPS 400-2000 VA" "" "blazer_usb"
"Eaton" "ups" "5" "E Series DX UPS 1-20 kVA" "" "mge-utalk" "Eaton" "ups" "5" "E Series DX UPS 1-20 kVA" "" "blazer_ser" # http://www.eaton.com/Eaton/ESeriesUPS/DXUPS/
"Eaton" "ups" "4" "NetUPS SE 450/700/1000/1500" "" "upscode2" "Eaton" "ups" "4" "NetUPS SE 450/700/1000/1500" "" "upscode2"
"Eaton" "ups" "5" "BladeUPS (SNMP)" "ConnectUPS Web/SNMP Card" "snmp-ups (experimental)" "Eaton" "ups" "5" "BladeUPS (SNMP)" "ConnectUPS Web/SNMP Card" "snmp-ups (experimental)"
"Eaton" "ups" "5" "various models (SNMP mode)" "Power Xpert Gateway UPS Card" "snmp-ups (experimental)"
"Eaton" "ups" "5" "various models (XML/HTTP mode)" "NMC Minislot (ref 66102)" "netxml-ups (experimental)" "Eaton" "ups" "5" "various models (XML/HTTP mode)" "NMC Minislot (ref 66102)" "netxml-ups (experimental)"
"Eaton" "ups" "5" "various models (SNMP mode)" "NMC Minislot (ref 66102)" "snmp-ups (experimental)" "Eaton" "ups" "5" "various models (SNMP mode)" "NMC Minislot (ref 66102)" "snmp-ups (experimental)"
"Eaton" "ups" "5" "various models (XML/HTTP mode)" "SNMP/Web Minislot card (ref 66244)" "netxml-ups (experimental)" "Eaton" "ups" "5" "various models (XML/HTTP mode)" "SNMP/Web Minislot card (ref 66244)" "netxml-ups (experimental)"
@ -308,6 +318,7 @@
"Eaton" "pdu" "5" "ePDU Switched" "" "snmp-ups" "Eaton" "pdu" "5" "ePDU Switched" "" "snmp-ups"
"Eaton" "pdu" "5" "ePDU Monitored" "" "snmp-ups or netxml-ups" "Eaton" "pdu" "5" "ePDU Monitored" "" "snmp-ups or netxml-ups"
"Eaton" "ups" "5" "Powerware 3105" "USB" "bcmxcp_usb" # http://powerquality.eaton.com/Products-services/Backup-Power-UPS/3105-eol.aspx "Eaton" "ups" "5" "Powerware 3105" "USB" "bcmxcp_usb" # http://powerquality.eaton.com/Products-services/Backup-Power-UPS/3105-eol.aspx
"Eaton" "ups" "5" "Powerware 9125" "USB card" "bcmxcp_usb"
"Eaton" "ups" "5" "Powerware 9130" "" "bcmxcp or usbhid-ups" "Eaton" "ups" "5" "Powerware 9130" "" "bcmxcp or usbhid-ups"
"Eaton" "ups" "5" "Powerware 9140" "" "bcmxcp or usbhid-ups" "Eaton" "ups" "5" "Powerware 9140" "" "bcmxcp or usbhid-ups"
"Eaton" "ups" "5" "Powerware 5130" "" "usbhid-ups" "Eaton" "ups" "5" "Powerware 5130" "" "usbhid-ups"
@ -316,10 +327,13 @@
"Eaton" "ups" "5" "ConnectUPS X / BD / E Slot" "Serial Pass-through mode" "bcmxcp" "Eaton" "ups" "5" "ConnectUPS X / BD / E Slot" "Serial Pass-through mode" "bcmxcp"
"Eaton" "ups" "5" "ConnectUPS X / BD / E Slot" "Network port" "snmp-ups" "Eaton" "ups" "5" "ConnectUPS X / BD / E Slot" "Network port" "snmp-ups"
"Eaton" "ups" "5" "Management Card Contact" "Config 3 - Cable 66033" "genericups upstype=7" "Eaton" "ups" "5" "Management Card Contact" "Config 3 - Cable 66033" "genericups upstype=7"
"Eaton" "ats" "5" "Eaton ATS16" "" "snmp-ups"
"Effekta" "ups" "2" "MI/MT/MH" "2502 cable" "blazer_ser" "Effekta" "ups" "2" "MI/MT/MH" "2502 cable" "blazer_ser"
"Effekta" "ups" "2" "RM2000MH" "" "blazer_ser" "Effekta" "ups" "2" "RM2000MH" "" "blazer_ser"
"Electrys" "ups" "2" "UPS 2500" "" "nutdrv_qx or blazer_ser"
"Energy Sistem" "ups" "2" "(various)" "" "blazer_ser" "Energy Sistem" "ups" "2" "(various)" "" "blazer_ser"
"ETA" "ups" "1" "mini+UPS" "WinNT/Upsoft cable" "genericups upstype=7" "ETA" "ups" "1" "mini+UPS" "WinNT/Upsoft cable" "genericups upstype=7"
@ -351,6 +365,7 @@
"Fideltronik" "ups" "1" "Ares 700 and larger" "" "genericups upstype=6" "Fideltronik" "ups" "1" "Ares 700 and larger" "" "genericups upstype=6"
"Fideltronik" "ups" "2" "LUPUS 500" "USB" "nutdrv_qx" "Fideltronik" "ups" "2" "LUPUS 500" "USB" "nutdrv_qx"
"Fideltronik" "ups" "1" "Other Ares models" "" "genericups upstype=19" "Fideltronik" "ups" "1" "Other Ares models" "" "genericups upstype=19"
"Fideltronik INIGO" "ups" "2" "Viper 1200" "USB" "nutdrv_qx" # http://fideltronikinigo.com/viper/viper-1200/
"Fiskars" "ups" "4" "PowerRite MAX" "" "upscode2" "Fiskars" "ups" "4" "PowerRite MAX" "" "upscode2"
"Fiskars" "ups" "4" "PowerServer 10" "" "upscode2" "Fiskars" "ups" "4" "PowerServer 10" "" "upscode2"
@ -414,9 +429,11 @@
"HP" "ups" "3" "R/T 2200 G2" "" "usbhid-ups" "HP" "ups" "3" "R/T 2200 G2" "" "usbhid-ups"
"HP" "ups" "3" "R/T3000" "USB port" "usbhid-ups" "HP" "ups" "3" "R/T3000" "USB port" "usbhid-ups"
"HP" "ups" "3" "R5000 / R7000" "USB port" "usbhid-ups" "HP" "ups" "3" "R5000 / R7000" "USB port" "usbhid-ups"
"HP" "ups" "4" "Various (SNMP mode)" "HP UPS Management Module " "snmp-ups" "HP" "ups" "4" "Various (SNMP mode)" "HP UPS Management Module" "snmp-ups"
"HP" "pdu" "1" "HP3488 Switch/Control Unit" "" "powerman-pdu (experimental)" "HP" "pdu" "1" "HP3488 Switch/Control Unit" "" "powerman-pdu (experimental)"
"Huawei" "ups" "4" "UPS5000-E" "" "snmp-ups"
"IBM" "pdu" "1" "Blade Center Management Module" "15 outlets" "powerman-pdu (experimental)" "IBM" "pdu" "1" "Blade Center Management Module" "15 outlets" "powerman-pdu (experimental)"
"ICS" "pdu" "1" "8064 Ethernet Relay Interface" "16 outlets" "powerman-pdu (experimental)" "ICS" "pdu" "1" "8064 Ethernet Relay Interface" "16 outlets" "powerman-pdu (experimental)"
@ -478,6 +495,8 @@
"LDLC" "ups" "2" "UPS-1200D" "" "blazer_usb langid_fix=0x4095" "LDLC" "ups" "2" "UPS-1200D" "" "blazer_usb langid_fix=0x4095"
"Legrand" "ups" "2" "Keor Multiplug" "" "nutdrv_qx"
"Lestar" "ups" "2" "MD-800E" "" "blazer_ser" "Lestar" "ups" "2" "MD-800E" "" "blazer_ser"
"Lexis" "ups" "2" "X-Power Tigra 1kVA" "" "blazer_ser or bestups" "Lexis" "ups" "2" "X-Power Tigra 1kVA" "" "blazer_ser or bestups"
@ -491,6 +510,7 @@
"LNXI" "pdu" "1" "Icebox" "10 outlets" "powerman-pdu (experimental)" "LNXI" "pdu" "1" "Icebox" "10 outlets" "powerman-pdu (experimental)"
"Lyonn" "ups" "2" "CTB-800V" "" "nutdrv_qx"
"Lyonn" "ups" "2" "CTB-1200" "" "blazer_usb" "Lyonn" "ups" "2" "CTB-1200" "" "blazer_usb"
"Masterguard" "ups" "1" "(various)" "" "masterguard" "Masterguard" "ups" "1" "(various)" "" "masterguard"
@ -691,6 +711,8 @@
"Microline" "ups" "2" "C-Lion Innova Tower 6K/10K" "" "blazer_usb" "Microline" "ups" "2" "C-Lion Innova Tower 6K/10K" "" "blazer_usb"
"Microline" "ups" "2" "C-Lion Innova Combo 10K/20K (3/1)" "" "blazer_usb" "Microline" "ups" "2" "C-Lion Innova Combo 10K/20K (3/1)" "" "blazer_usb"
"Micropower" "ups" "2" "LCD 1000" "USB" "blazer_usb"
"Microsol" "ups" "4" "Solis 1.0" "1000VA" "solis" "Microsol" "ups" "4" "Solis 1.0" "1000VA" "solis"
"Microsol" "ups" "4" "Solis 1.5" "1500VA" "solis" "Microsol" "ups" "4" "Solis 1.5" "1500VA" "solis"
"Microsol" "ups" "4" "Solis 2.0" "2000VA" "solis" "Microsol" "ups" "4" "Solis 2.0" "2000VA" "solis"
@ -711,7 +733,7 @@
"Mustek" "ups" "2" "Powermust" "2000VA USB" "blazer_ser" "Mustek" "ups" "2" "Powermust" "2000VA USB" "blazer_ser"
"Mustek" "ups" "2" "Powermust Office 650" "USB" "blazer_usb" "Mustek" "ups" "2" "Powermust Office 650" "USB" "blazer_usb"
"Mustek" "ups" "2" "PowerMust 424 / 636 / 848" "USB" "blazer_usb" "Mustek" "ups" "2" "PowerMust 424 / 636 / 848" "USB" "blazer_usb"
"Mustek" "ups" "2" "Yukai PowerMust" "1000 USB (PID: 5161)" "blazer_usb" "Mustek" "ups" "2" "Yukai PowerMust" "1000 USB (PID: 5161)" "blazer_usb"
"Mustek" "ups" "2" "Various" "" "blazer_ser" "Mustek" "ups" "2" "Various" "" "blazer_ser"
"Neus" "ups" "2" "400va / 600va" "" "blazer_ser" "Neus" "ups" "2" "400va / 600va" "" "blazer_ser"
@ -723,6 +745,7 @@
"NHS Sistemas de Energia" "ups" "5" "Expert S Online 8000" "" "gamatronic" "NHS Sistemas de Energia" "ups" "5" "Expert S Online 8000" "" "gamatronic"
"NHS Sistemas de Energia" "ups" "5" "Expert S Online 10000" "" "gamatronic" "NHS Sistemas de Energia" "ups" "5" "Expert S Online 10000" "" "gamatronic"
"NHS Sistemas de Energia" "ups" "5" "Expert S Online 10000" "" "gamatronic" "NHS Sistemas de Energia" "ups" "5" "Expert S Online 10000" "" "gamatronic"
"NHS Sistemas de Energia" "ups" "5" "Laser Senoidal 5000VA" "USB" "gamatronic" # http://www.nhs.com.br/produtos_interna/id/T0RrPQ==
"Nitram" "ups" "1" "Elite 500" "" "genericups upstype=8" "Nitram" "ups" "1" "Elite 500" "" "genericups upstype=8"
"Nitram" "ups" "1" "Elite 2002" "" "genericups upstype=16" "Nitram" "ups" "1" "Elite 2002" "" "genericups upstype=16"
@ -936,6 +959,7 @@
"Sweex" "ups" "1" "500/1000" "" "genericups upstype=7" "Sweex" "ups" "1" "500/1000" "" "genericups upstype=7"
"Sweex" "ups" "1" "1000" "USB" "richcomm_usb" "Sweex" "ups" "1" "1000" "USB" "richcomm_usb"
"Sweex" "ups" "2" "(various)" "" "blazer_ser" "Sweex" "ups" "2" "(various)" "" "blazer_ser"
"Sweex" "ups" "2" "INTELLIGENT UPS 1500VA P220" "USB" "blazer_usb (USB ID 0665:5161)" # http://www.sweex.com/en/notebook-pc-accessoires/ups/PP220/
"Syndome" "ups" "2" "Era 500VA" "USB" "blazer_usb" "Syndome" "ups" "2" "Era 500VA" "USB" "blazer_usb"
@ -1077,6 +1101,8 @@
"Trust" "ups" "2" "UPS 1200VA Management PW-4120M" "" "blazer_ser" "Trust" "ups" "2" "UPS 1200VA Management PW-4120M" "" "blazer_ser"
"Trust" "ups" "2" "UPS 1300VA Management PW-4130M" "" "blazer_ser" "Trust" "ups" "2" "UPS 1300VA Management PW-4130M" "" "blazer_ser"
"TS Shara" "ups" "4" "(various)" "" "nutdrv_qx"
"UNITEK" "ups" "2" "ALPHA 500 IC" "" "blazer_ser" "UNITEK" "ups" "2" "ALPHA 500 IC" "" "blazer_ser"
"UNITEK" "ups" "2" "Alpha 1000is" "" "blazer_ser" "UNITEK" "ups" "2" "Alpha 1000is" "" "blazer_ser"
"UNITEK" "ups" "2" "Alpha 500" "" "blazer_ser" "UNITEK" "ups" "2" "Alpha 500" "" "blazer_ser"

View file

@ -213,6 +213,7 @@ LD = @LD@
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@ LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@
LIBAVAHI_LIBS = @LIBAVAHI_LIBS@ LIBAVAHI_LIBS = @LIBAVAHI_LIBS@
LIBDIR = @LIBDIR@
LIBGD_CFLAGS = @LIBGD_CFLAGS@ LIBGD_CFLAGS = @LIBGD_CFLAGS@
LIBGD_LDFLAGS = @LIBGD_LDFLAGS@ LIBGD_LDFLAGS = @LIBGD_LDFLAGS@
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@ LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@

View file

@ -561,6 +561,8 @@ The most frequent issue is that udev has not actually applied the rule:
- and if the device USB cord was already plugged when installing NUT. - and if the device USB cord was already plugged when installing NUT.
In this case, just unplug and plug back the USB cord, then restart NUT. In this case, just unplug and plug back the USB cord, then restart NUT.
Instead of unplugging, you might also be able to run `udevadm trigger
--subsystem-match=usb --action=change` to fix permissions.
There was a mistake in the naming of the NUT udev rules file which resulted in There was a mistake in the naming of the NUT udev rules file which resulted in
the rules being overridden by another udev configuration file. While this has the rules being overridden by another udev configuration file. While this has
@ -590,7 +592,7 @@ will appear in dmesg:
usbfs: process 29641 (usbhid-ups) did not claim interface 0 before use usbfs: process 29641 (usbhid-ups) did not claim interface 0 before use
This can be a symptom of a source install conflicting with a package install. This can be a symptom of a source install conflicting with a package install.
There is a rudimetary locking mechanism in NUT, but there is a chance that the There is a rudimentary locking mechanism in NUT, but there is a chance that the
packages might not use the same directory as the NUT default, and the conflict packages might not use the same directory as the NUT default, and the conflict
will be reported by the kernel. will be reported by the kernel.

View file

@ -111,18 +111,21 @@ A2X_COMMON_OPTS = $(ASCIIDOC_VERBOSE) --attribute icons \
$(A2X) $(A2X_COMMON_OPTS) --attribute=pdf_format --format=pdf -a docinfo1 $< $(A2X) $(A2X_COMMON_OPTS) --attribute=pdf_format --format=pdf -a docinfo1 $<
if HAVE_ASPELL if HAVE_ASPELL
# FIXME: also check ../{NEWS,README,UPGRADING}+other dirs
# Non-interactively spell check all documentation source files. # Non-interactively spell check all documentation source files.
# This is useful for Buildbot and automated QA processing # This is useful for Buildbot and automated QA processing
# FIXME: how to present output (std{out,err}, single file or per target)? # FIXME: how to present output (std{out,err}, single file or per target)?
SPELLCHECK_SRC = $(ALL_TXT_SRC) ../README ../INSTALL.nut ../UPGRADING ../NEWS \
../TODO ../scripts/ufw/README ../scripts/augeas/README ../lib/README \
../tools/nut-scanner/README
spellcheck: spellcheck:
@for docsrc in $(ALL_TXT_SRC); do \ @for docsrc in $(SPELLCHECK_SRC); do \
echo "Spell checking on $$docsrc"; \ echo "Spell checking on $$docsrc"; \
LANG=C $(ASPELL) -a -t -p $(NUT_SPELL_DICT) < $$docsrc | grep [^*]; \ LANG=C $(ASPELL) -a -t -p $(NUT_SPELL_DICT) < $$docsrc | grep [^*]; \
done done
# Interactively spell check all documentation source files # Interactively spell check all documentation source files
spellcheck-interactive: spellcheck-interactive:
@for docsrc in $(ALL_TXT_SRC); do\ @for docsrc in $(SPELLCHECK_SRC); do\
echo "Spell checking on $$docsrc"; \ echo "Spell checking on $$docsrc"; \
LANG=C $(ASPELL) check -p $(NUT_SPELL_DICT) $$docsrc; \ LANG=C $(ASPELL) check -p $(NUT_SPELL_DICT) $$docsrc; \
done done

View file

@ -242,6 +242,7 @@ LD = @LD@
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@ LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@
LIBAVAHI_LIBS = @LIBAVAHI_LIBS@ LIBAVAHI_LIBS = @LIBAVAHI_LIBS@
LIBDIR = @LIBDIR@
LIBGD_CFLAGS = @LIBGD_CFLAGS@ LIBGD_CFLAGS = @LIBGD_CFLAGS@
LIBGD_LDFLAGS = @LIBGD_LDFLAGS@ LIBGD_LDFLAGS = @LIBGD_LDFLAGS@
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@ LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@
@ -464,6 +465,14 @@ A2X_COMMON_OPTS = $(ASCIIDOC_VERBOSE) --attribute icons \
--attribute tree_version=@TREE_VERSION@ \ --attribute tree_version=@TREE_VERSION@ \
-a toc -a numbered --destination-dir=. -a toc -a numbered --destination-dir=.
# Non-interactively spell check all documentation source files.
# This is useful for Buildbot and automated QA processing
# FIXME: how to present output (std{out,err}, single file or per target)?
@HAVE_ASPELL_TRUE@SPELLCHECK_SRC = $(ALL_TXT_SRC) ../README ../INSTALL.nut ../UPGRADING ../NEWS \
@HAVE_ASPELL_TRUE@ ../TODO ../scripts/ufw/README ../scripts/augeas/README ../lib/README \
@HAVE_ASPELL_TRUE@ ../tools/nut-scanner/README
all: all-recursive all: all-recursive
.SUFFIXES: .SUFFIXES:
@ -802,18 +811,14 @@ packager-guide.html packager-guide.chunked packager-guide.pdf: packager-guide.tx
.txt.pdf: docinfo.xml .txt.pdf: docinfo.xml
$(A2X) $(A2X_COMMON_OPTS) --attribute=pdf_format --format=pdf -a docinfo1 $< $(A2X) $(A2X_COMMON_OPTS) --attribute=pdf_format --format=pdf -a docinfo1 $<
# FIXME: also check ../{NEWS,README,UPGRADING}+other dirs
# Non-interactively spell check all documentation source files.
# This is useful for Buildbot and automated QA processing
# FIXME: how to present output (std{out,err}, single file or per target)?
@HAVE_ASPELL_TRUE@spellcheck: @HAVE_ASPELL_TRUE@spellcheck:
@HAVE_ASPELL_TRUE@ @for docsrc in $(ALL_TXT_SRC); do \ @HAVE_ASPELL_TRUE@ @for docsrc in $(SPELLCHECK_SRC); do \
@HAVE_ASPELL_TRUE@ echo "Spell checking on $$docsrc"; \ @HAVE_ASPELL_TRUE@ echo "Spell checking on $$docsrc"; \
@HAVE_ASPELL_TRUE@ LANG=C $(ASPELL) -a -t -p $(NUT_SPELL_DICT) < $$docsrc | grep [^*]; \ @HAVE_ASPELL_TRUE@ LANG=C $(ASPELL) -a -t -p $(NUT_SPELL_DICT) < $$docsrc | grep [^*]; \
@HAVE_ASPELL_TRUE@ done @HAVE_ASPELL_TRUE@ done
# Interactively spell check all documentation source files # Interactively spell check all documentation source files
@HAVE_ASPELL_TRUE@spellcheck-interactive: @HAVE_ASPELL_TRUE@spellcheck-interactive:
@HAVE_ASPELL_TRUE@ @for docsrc in $(ALL_TXT_SRC); do\ @HAVE_ASPELL_TRUE@ @for docsrc in $(SPELLCHECK_SRC); do\
@HAVE_ASPELL_TRUE@ echo "Spell checking on $$docsrc"; \ @HAVE_ASPELL_TRUE@ echo "Spell checking on $$docsrc"; \
@HAVE_ASPELL_TRUE@ LANG=C $(ASPELL) check -p $(NUT_SPELL_DICT) $$docsrc; \ @HAVE_ASPELL_TRUE@ LANG=C $(ASPELL) check -p $(NUT_SPELL_DICT) $$docsrc; \
@HAVE_ASPELL_TRUE@ done @HAVE_ASPELL_TRUE@ done

View file

@ -30,7 +30,7 @@ configuration directive. This may be something like MONITOR, NOTIFYCMD,
or ACCESS. The case does matter here. "monitor" won't be recognized. or ACCESS. The case does matter here. "monitor" won't be recognized.
Next, the parser does not care about whitespace between words. If you Next, the parser does not care about whitespace between words. If you
like to indent things with tabs or spaces, feel free to do it here. like to indent things with tabs or spaces, feel free to do it here.
If you need to set a value to something containing spaces, it has to be If you need to set a value to something containing spaces, it has to be
contained within "quotes" to keep the parser from splitting up the line. contained within "quotes" to keep the parser from splitting up the line.
@ -45,46 +45,46 @@ configuration directive for some reason. You can do that too.
NOTIFYCMD "/bin/notifyme -foo -bar \"hi there\" -baz" NOTIFYCMD "/bin/notifyme -foo -bar \"hi there\" -baz"
In other words, *\* can be used to escape the *"*. In other words, `\` can be used to escape the `"`.
Finally, for the situation where you need to put the *\* character into your Finally, for the situation where you need to put the `\` character into your
string, you just escape it. string, you just escape it.
NOTIFYCMD "/bin/notifyme c:\\dos\\style\\path" NOTIFYCMD "/bin/notifyme c:\\dos\\style\\path"
The *\* can actually be used to escape any character, but you only really The `\` can actually be used to escape any character, but you only really
need it for *\*, *"*, and *#* as they have special meanings to the parser. need it for `\`, `"`, and `#` as they have special meanings to the parser.
When using file names with space characters, you may end up having tricky When using file names with space characters, you may end up having tricky
things since you need to write them inside *""* which must be escaped: things since you need to write them inside `""` which must be escaped:
NOTIFYCMD "\"c:\\path with space\\notifyme\" \"c:\\path with space\\name\"" NOTIFYCMD "\"c:\\path with space\\notifyme\" \"c:\\path with space\\name\""
*#* is the comment character. Anything after an unescaped *#* is ignored. `#` is the comment character. Anything after an unescaped `#` is ignored.
Something like this... Something like this...
identity = my#1ups identity = my#1ups
... will actually turn into "identity = my", since the *#* stops the will actually turn into `identity = my`, since the `#` stops the
parsing. If you really need to have a *#* in your configuration, then parsing. If you really need to have a `#` in your configuration, then
escape it. escape it.
identity = my\#1ups identity = my\#1ups
Much better. Much better.
The *=* character should be used with care too. There should be only one The `=` character should be used with care too. There should be only one
"simple" *=* character in a line: between the parameter name and its value. "simple" `=` character in a line: between the parameter name and its value.
All other *=* characters should be either escaped or within "quotes". All other `=` characters should be either escaped or within "quotes".
password = 123=123 password = 123=123
... is incorrect. You should use: is incorrect. You should use:
password = 123\=123 password = 123\=123
... or : or:
password = "123=123" password = "123=123"
@ -95,7 +95,7 @@ You can put a backslash at the end of the line to join it to the next
one. This creates one virtual line that is composed of more than one one. This creates one virtual line that is composed of more than one
physical line. physical line.
Also, if you leave the *""* quote container open before a newline, it will Also, if you leave the `""` quote container open before a newline, it will
keep scanning until it reaches another one. If you see bizarre behavior keep scanning until it reaches another one. If you see bizarre behavior
in your configuration files, check for an unintentional instance of in your configuration files, check for an unintentional instance of
quotes spanning multiple lines. quotes spanning multiple lines.
@ -176,9 +176,9 @@ right one for your hardware. You might need to try other drivers
by changing the "driver=" value in ups.conf. by changing the "driver=" value in ups.conf.
Be sure to check the driver's man page to see if it needs any extra Be sure to check the driver's man page to see if it needs any extra
settings in ups.conf to detect your hardware. settings in `ups.conf` to detect your hardware.
If it says "can't bind /var/state/ups/..." or similar, then your If it says `can't bind /var/state/ups/...` or similar, then your
state path probably isn't writable by the driver. Check the state path probably isn't writable by the driver. Check the
<<StatePath,permissions and mode on that directory>>. <<StatePath,permissions and mode on that directory>>.
@ -204,7 +204,7 @@ NOTE: Refer to the NUT user manual <<NUT_Security,security chapter>> for
information on how to access and secure upsd clients connections. information on how to access and secure upsd clients connections.
Next, create upsd.users. For now, this can be an empty file. Next, create upsd.users. For now, this can be an empty file.
You can come back and add more to it later when it's time to You can come back and add more to it later when it's time to
configure upsmon or run one of the management tools. configure upsmon or run one of the management tools.
Do not make either file world-readable, since they both hold Do not make either file world-readable, since they both hold
@ -266,7 +266,7 @@ You should see just one line in response:
OL means your system is running on line power. If it says something OL means your system is running on line power. If it says something
else (like OB - on battery, or LB - low battery), your driver was else (like OB - on battery, or LB - low battery), your driver was
probably misconfigured during the <<Driver_configuration, Driver configuration>> probably misconfigured during the <<Driver_configuration, Driver configuration>>
step. If you reconfigure the driver, use 'upsdrvctl stop' to stop it, then step. If you reconfigure the driver, use `upsdrvctl stop` to stop it, then
start it again as shown in the <<Starting_drivers, Starting driver(s)>> step. start it again as shown in the <<Starting_drivers, Starting driver(s)>> step.
Reference: man page: linkman:upsc[8] Reference: man page: linkman:upsc[8]
@ -335,7 +335,7 @@ Reference: man page: linkman:upsc[8],
Startup scripts Startup scripts
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
NOTE: This step is not need if you installed from packages. NOTE: This step is not necessary if you installed from packages.
Edit your startup scripts, and make sure upsdrvctl and upsd are run every time Edit your startup scripts, and make sure upsdrvctl and upsd are run every time
your system starts. your system starts.
@ -347,7 +347,7 @@ Configuring automatic shutdowns for low battery events
The whole point of UPS software is to bring down the OS cleanly when you The whole point of UPS software is to bring down the OS cleanly when you
run out of battery power. Everything else is roughly eye candy. run out of battery power. Everything else is roughly eye candy.
To make sure your system shuts down properly, you will need to perform some To make sure your system shuts down properly, you will need to perform some
additional configuration and run upsmon. Here are the basics. additional configuration and run upsmon. Here are the basics.
[[Shutdown_design]] [[Shutdown_design]]
@ -384,9 +384,9 @@ The exact behavior depends on the specific device, and is related to:
- call their SHUTDOWNCMD - call their SHUTDOWNCMD
- disconnect from upsd - disconnect from upsd
5. The upsmon master system waits up to HOSTSYNC seconds (typically 15) 5. The upsmon master system waits up to HOSTSYNC seconds (typically 15)
for the slaves to disconnect from upsd. If any are connected after for the slaves to disconnect from upsd. If any are connected after
this time, upsmon stops waiting and proceeds with the shutdown this time, upsmon stops waiting and proceeds with the shutdown
process. process.
6. The upsmon master: 6. The upsmon master:
@ -433,7 +433,7 @@ References: linkman:upsd[8], linkman:upsd.users[5]
Reloading the data server Reloading the data server
^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
Reload upsd. Depending on your configuration, you may be able to Reload upsd. Depending on your configuration, you may be able to
do this without stopping upsd: do this without stopping upsd:
/usr/local/ups/sbin/upsd -c reload /usr/local/ups/sbin/upsd -c reload
@ -441,7 +441,7 @@ do this without stopping upsd:
If that doesn't work (check the syslog), just restart it: If that doesn't work (check the syslog), just restart it:
/usr/local/ups/sbin/upsd -c stop /usr/local/ups/sbin/upsd -c stop
/usr/local/ups/sbin/upsd /usr/local/ups/sbin/upsd
NOTE: if you want to make reloading work later, see the entry in the NOTE: if you want to make reloading work later, see the entry in the
link:FAQ.html[FAQ] about starting upsd as a different user. link:FAQ.html[FAQ] about starting upsd as a different user.
@ -479,7 +479,7 @@ adding sensitive data in the next step.
Create a MONITOR directive for upsmon Create a MONITOR directive for upsmon
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Edit upsmon.conf and create a MONITOR line with the UPS definition Edit upsmon.conf and create a MONITOR line with the UPS definition
(<upsname>@<hostname>), username and password from the <<NUT_user_creation, NUT user creation>> (<upsname>@<hostname>), username and password from the <<NUT_user_creation, NUT user creation>>
step, and the master or slave setting. step, and the master or slave setting.
@ -655,7 +655,7 @@ to keep this running either.
After stopping driver, server and client you'll have to send the UPS After stopping driver, server and client you'll have to send the UPS
the command to shutdown only if the POWERDOWNFLAG is present. Note the command to shutdown only if the POWERDOWNFLAG is present. Note
that most likely you'll have to allow for a grace period after sending that most likely you'll have to allow for a grace period after sending
'upsdrvctl shutdown' since the system will still have to take a 'upsdrvctl shutdown' since the system will still have to take a
snapshot of itself after that. Not all drivers support this, so before snapshot of itself after that. Not all drivers support this, so before
going down this road, make sure that the one you're using does. going down this road, make sure that the one you're using does.
@ -706,7 +706,7 @@ for individual hosts:
A small to medium sized data room usually has one C and a bunch of Bs. A small to medium sized data room usually has one C and a bunch of Bs.
This means that there's a system (type C) hooked to the UPS which depends This means that there's a system (type C) hooked to the UPS which depends
on it for power. There are also some other systems in there (type B) on it for power. There are also some other systems in there (type B)
which depend on that same UPS for power, but aren't directly connected to which depend on that same UPS for power, but aren't directly connected to
it. it.
@ -715,7 +715,7 @@ of the "single C, many Bs" depending on how it's all wired.
Finally, there's a special case. Type A systems are connected to a UPS's Finally, there's a special case. Type A systems are connected to a UPS's
serial port, but don't depend on it for power. This usually happens when serial port, but don't depend on it for power. This usually happens when
a UPS is physically close to a box and can reach the serial port, but a UPS is physically close to a box and can reach the serial port, but
the wiring is such that it doesn't actually feed it. the wiring is such that it doesn't actually feed it.
Once you identify a system's type, use this list to decide which of the Once you identify a system's type, use this list to decide which of the

View file

@ -90,9 +90,9 @@ Verbose output can be enabled using: ASCIIDOC_VERBOSE=-v make
This feature requires AsciiDoc 8.6.3 (http://www.methods.co.nz/asciidoc). This feature requires AsciiDoc 8.6.3 (http://www.methods.co.nz/asciidoc).
--with-lib (default: no) --with-dev (default: no)
Build and install the upsclient library and header files. Build and install the upsclient and nutclient library and header files.
--with-all (no default) --with-all (no default)
@ -227,7 +227,7 @@ Sets the base directories for the man pages. The default is
--includedir=PATH --includedir=PATH
Sets the path for include files to be installed when --with-lib is Sets the path for include files to be installed when `--with-dev` is
selected. For example, upsclient.h is installed here. The default selected. For example, upsclient.h is installed here. The default
is <prefix>/include. is <prefix>/include.
@ -266,7 +266,7 @@ HTML files will be installed to this path. By default, this is
--with-pkgconfig-dir=PATH --with-pkgconfig-dir=PATH
Where to install pkg-config *.pc files. This option only has an Where to install pkg-config *.pc files. This option only has an
effect if --with-lib is selected, and causes a pkg-config file to effect if `--with-dev` is selected, and causes a pkg-config file to
be installed in the named location. The default is be installed in the named location. The default is
<exec_prefix>/pkgconfig. <exec_prefix>/pkgconfig.

View file

@ -46,11 +46,13 @@ Offsite Links
------------- -------------
[[general_powerdev_info]] [[general_powerdev_info]]
These are general information about UPS and PDU. These are general information about UPS, PDU, ATS, PSU and SCD:
- link:http://tldp.org/HOWTO/UPS-HOWTO/[UPS HOWTO] (The Linux Documentation Project) - link:http://tldp.org/HOWTO/UPS-HOWTO/[UPS HOWTO] (The Linux Documentation Project)
- link:http://en.wikipedia.org/wiki/Uninterruptible_power_supply[UPS on Wikipedia] - link:http://en.wikipedia.org/wiki/Uninterruptible_power_supply[UPS on Wikipedia]
- link:http://en.wikipedia.org/wiki/Power_distribution_unit[PDU on Wikipedia] - link:http://en.wikipedia.org/wiki/Power_distribution_unit[PDU on Wikipedia]
- link:https://en.wikipedia.org/wiki/Transfer_switch[Automatic Transfer Switch]
- link:https://en.wikipedia.org/wiki/Power_supply_unit_%28computer%29[Power Supply Units]
- link:http://en.wikipedia.org/wiki/Solar_controller[Solar controller on Wikipedia] - link:http://en.wikipedia.org/wiki/Solar_controller[Solar controller on Wikipedia]
- link:http://www.pcguide.com/ref/power/ext/ups/over.htm[UPS on The PC Guide] - link:http://www.pcguide.com/ref/power/ext/ups/over.htm[UPS on The PC Guide]

View file

@ -103,11 +103,11 @@ NOTE: The only official releases from this project are source code.
NUT is already available in the following systems: NUT is already available in the following systems:
- Linux: - Linux:
link:http://aur.archlinux.org/packages.php?ID=5379[Arch Linux], link:https://aur.archlinux.org/packages/network-ups-tools[Arch Linux],
link:http://packages.debian.org/nut[Debian], link:http://packages.debian.org/nut[Debian],
link:http://packages.gentoo.org/package/sys-power/nut[Gentoo Linux], link:http://packages.gentoo.org/package/sys-power/nut[Gentoo Linux],
Mandriva, Mandriva,
link:https://admin.fedoraproject.org/pkgdb/acls/name/nut[Red Hat / Fedora], link:https://apps.fedoraproject.org/packages/nut[Red Hat / Fedora],
link:http://software.opensuse.org/package/nut[Novell Suse / openSUSE], link:http://software.opensuse.org/package/nut[Novell Suse / openSUSE],
link:https://forum.openwrt.org/viewtopic.php?id=26269[OpenWrt], link:https://forum.openwrt.org/viewtopic.php?id=26269[OpenWrt],
link:http://packages.ubuntu.com/nut[Ubuntu], link:http://packages.ubuntu.com/nut[Ubuntu],
@ -115,16 +115,16 @@ link:https://github.com/voidlinux/xbps-packages/blob/master/srcpkgs/network-ups-
- BSD systems: - BSD systems:
link:http://www.FreeBSD.org/cgi/ports.cgi?query=^nut-&amp;stype=name[FreeBSD], link:http://www.FreeBSD.org/cgi/ports.cgi?query=^nut-&amp;stype=name[FreeBSD],
link:ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/sysutils/ups-nut/README.html[NetBSD], link:http://pkgsrc.se/sysutils/ups-nut[NetBSD],
link:http://www.openbsd.org/cgi-bin/cvsweb/ports/sysutils/nut/[OpenBSD], link:http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/sysutils/nut/[OpenBSD],
link:http://doc.freenas.org/index.php/UPS[FreeNAS]. link:http://doc.freenas.org/9.3/freenas_services.html#ups[FreeNAS].
- Mac OS X: - Mac OS X:
link:http://pdb.finkproject.org/pdb/package.php/nut[Fink], link:http://pdb.finkproject.org/pdb/package.php/nut[Fink],
link:http://trac.macports.org/browser/trunk/dports/sysutils/nut/Portfile[MacPorts] link:http://trac.macports.org/browser/trunk/dports/sysutils/nut/Portfile[MacPorts]
- Windows (complete port, Beta): - Windows (complete port, Beta):
link:http://www.networkupstools.org/package/windows/NUT-Installer-2.6.5-3.msi[Windows MSI installer 2.6.5-3] link:http://www.networkupstools.org/package/windows/NUT-Installer-2.6.5-6.msi[Windows MSI installer 2.6.5-6]
Java packages Java packages

View file

@ -18,10 +18,12 @@ More and more appliances manufacturers are bundling NUT...
Multiple manufacturer and device support Multiple manufacturer and device support
---------------------------------------- ----------------------------------------
- Monitors many UPS, PDU and SCD models from more than 100 manufacturers with a - Monitors many UPS, PDU, ATS, PSU and SCD models from more than 140
unified interface (link:stable-hcl.html[Hardware Compatibility List]). manufacturers with a unified interface
(link:stable-hcl.html[Hardware Compatibility List]).
- Various communication types are supported with the same common interface: - Various communication types and many protocols are supported with the same
common interface:
* serial, * serial,
* USB, * USB,
* network (SNMP, Eaton / MGE XML/HTTP). * network (SNMP, Eaton / MGE XML/HTTP).

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 226 KiB

View file

@ -245,6 +245,7 @@ LD = @LD@
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@ LIBAVAHI_CFLAGS = @LIBAVAHI_CFLAGS@
LIBAVAHI_LIBS = @LIBAVAHI_LIBS@ LIBAVAHI_LIBS = @LIBAVAHI_LIBS@
LIBDIR = @LIBDIR@
LIBGD_CFLAGS = @LIBGD_CFLAGS@ LIBGD_CFLAGS = @LIBGD_CFLAGS@
LIBGD_LDFLAGS = @LIBGD_LDFLAGS@ LIBGD_LDFLAGS = @LIBGD_LDFLAGS@
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@ LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@

View file

@ -2,12 +2,12 @@
.\" Title: al175 .\" Title: al175
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "AL175" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "AL175" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: apcsmart-old .\" Title: apcsmart-old
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "APCSMART\-OLD" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "APCSMART\-OLD" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: apcsmart .\" Title: apcsmart
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "APCSMART" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "APCSMART" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: apcupsd-ups .\" Title: apcupsd-ups
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "APCUPSD\-UPS" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "APCUPSD\-UPS" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: asem .\" Title: asem
.\" Author: [see the "AUTHORS" section] .\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "ASEM" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "ASEM" "8" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: bcmxcp .\" Title: bcmxcp
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "BCMXCP" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "BCMXCP" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: bcmxcp_usb .\" Title: bcmxcp_usb
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "BCMXCP_USB" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "BCMXCP_USB" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: belkin .\" Title: belkin
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "BELKIN" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "BELKIN" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: belkinunv .\" Title: belkinunv
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "BELKINUNV" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "BELKINUNV" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: bestfcom .\" Title: bestfcom
.\" Author: [see the "AUTHORS" section] .\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "BESTFCOM" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "BESTFCOM" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: bestfortress .\" Title: bestfortress
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "BESTFORTRESS" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "BESTFORTRESS" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: bestuferrups .\" Title: bestuferrups
.\" Author: [see the "AUTHORS" section] .\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "BESTUFERRUPS" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "BESTUFERRUPS" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: bestups .\" Title: bestups
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "BESTUPS" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "BESTUPS" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: blazer_ser .\" Title: blazer_ser
.\" Author: [see the "AUTHORS" section] .\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "BLAZER_SER" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "BLAZER_SER" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: blazer_usb .\" Title: blazer_usb
.\" Author: [see the "AUTHORS" section] .\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "BLAZER_USB" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "BLAZER_USB" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: clone .\" Title: clone
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "CLONE" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "CLONE" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: dummy-ups .\" Title: dummy-ups
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "DUMMY\-UPS" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "DUMMY\-UPS" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: etapro .\" Title: etapro
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "ETAPRO" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "ETAPRO" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: everups .\" Title: everups
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "EVERUPS" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "EVERUPS" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: gamatronic .\" Title: gamatronic
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "GAMATRONIC" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "GAMATRONIC" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: genericups .\" Title: genericups
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "GENERICUPS" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "GENERICUPS" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: hosts.conf .\" Title: hosts.conf
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "HOSTS\&.CONF" "5" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "HOSTS\&.CONF" "5" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: isbmex .\" Title: isbmex
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "ISBMEX" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "ISBMEX" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: ivtscd .\" Title: ivtscd
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "IVTSCD" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "IVTSCD" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: libnutclient .\" Title: libnutclient
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "LIBNUTCLIENT" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "LIBNUTCLIENT" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: libnutclient_commands .\" Title: libnutclient_commands
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "LIBNUTCLIENT_COMMAND" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "LIBNUTCLIENT_COMMAND" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: libnutclient_devices .\" Title: libnutclient_devices
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "LIBNUTCLIENT_DEVICES" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "LIBNUTCLIENT_DEVICES" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: libnutclient_general .\" Title: libnutclient_general
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "LIBNUTCLIENT_GENERAL" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "LIBNUTCLIENT_GENERAL" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: libnutclient_misc .\" Title: libnutclient_misc
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "LIBNUTCLIENT_MISC" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "LIBNUTCLIENT_MISC" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: libnutclient_tcp .\" Title: libnutclient_tcp
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "LIBNUTCLIENT_TCP" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "LIBNUTCLIENT_TCP" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: libnutclient_variables .\" Title: libnutclient_variables
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "LIBNUTCLIENT_VARIABL" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "LIBNUTCLIENT_VARIABL" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: libupsclient-config .\" Title: libupsclient-config
.\" Author: [see the "AUTHORS" section] .\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "LIBUPSCLIENT\-CONFIG" "1" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "LIBUPSCLIENT\-CONFIG" "1" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: liebert-esp2 .\" Title: liebert-esp2
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "LIEBERT\-ESP2" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "LIEBERT\-ESP2" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: liebert .\" Title: liebert
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "LIEBERT" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "LIEBERT" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: macosx-ups .\" Title: macosx-ups
.\" Author: [see the "AUTHORS" section] .\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "MACOSX\-UPS" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "MACOSX\-UPS" "8" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
@ -39,14 +39,12 @@ This man page only documents the hardware\-specific features of the \fBmacosx\-u
If the UPS is visible in the Energy Saver preferences pane of System Preferences, this driver should be able to monitor it\&. If the UPS is visible in the Energy Saver preferences pane of System Preferences, this driver should be able to monitor it\&.
.SH "EXTRA ARGUMENTS" .SH "EXTRA ARGUMENTS"
.PP .PP
\fBport\fR=\fIregex\fR \fBport\fR=auto
.RS 4 .RS 4
The Due to changes in the way that Mac OS X lists power sources, the
\fBport\fR \fBport\fR
parameter in the configuration file can be a case\-insensitive extended regular expression (see parameter no longer has any effect\&. The rest of NUT still requres a value here, and our traditional "don\(cqt care" value is
\fBregex\fR(3) for details) to match against specific UPS and battery names\&. auto\&.
.sp
The traditional NUT auto\-detection value of "auto" will be changed to "/UPS"\&. To test this driver against the internal battery of a laptop, a value such as "battery" can be used\&.
.RE .RE
.PP .PP
\fBmodel\fR=\fIregex\fR \fBmodel\fR=\fIregex\fR

View file

@ -23,40 +23,16 @@ Preferences, this driver should be able to monitor it.
EXTRA ARGUMENTS EXTRA ARGUMENTS
---------------- ----------------
*port*='regex':: *port*=auto::
The *port* parameter in the configuration file can be a case-insensitive Due to changes in the way that Mac OS X lists power sources, the *port*
extended regular expression (see *regex*(3) for details) to match against parameter no longer has any effect. The rest of NUT still requres a value here,
specific UPS and battery names. and our traditional "don't care" value is `auto`.
+
The traditional NUT auto-detection value of "auto" will be changed to "/UPS".
To test this driver against the internal battery of a laptop, a value such as
"battery" can be used.
*model*='regex':: *model*='regex'::
Likewise, if you have more than one UPS, it may be necessary to specify a Likewise, if you have more than one UPS, it may be necessary to specify a
*model* name to match against. This parameter is also a case-insensitive *model* name to match against. This parameter is also a case-insensitive
extended regular expression. extended regular expression.
//////////////////////////////////////////
This driver also supports the following optional settings:
*option1*='num'::
Set the value of ... to 'num'. Contrast with *option2*.
*option2*='string'::
Some other option.
//////////////////////////////////////////
//////////////////////////////////////////
Optional: list supported instant commands here:
INSTANT COMMANDS
----------------
*instcmd1*::
Command 1.
//////////////////////////////////////////
DIAGNOSTICS DIAGNOSTICS
----------- -----------

View file

@ -2,12 +2,12 @@
.\" Title: masterguard .\" Title: masterguard
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "MASTERGUARD" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "MASTERGUARD" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: metasys .\" Title: metasys
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "METASYS" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "METASYS" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: mge-shut .\" Title: mge-shut
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "MGE\-SHUT" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "MGE\-SHUT" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: mge-utalk .\" Title: mge-utalk
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "MGE\-UTALK" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "MGE\-UTALK" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: microdowell .\" Title: microdowell
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "MICRODOWELL" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "MICRODOWELL" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: netxml-ups .\" Title: netxml-ups
.\" Author: [see the "AUTHORS" section] .\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NETXML\-UPS" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NETXML\-UPS" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nut-ipmipsu .\" Title: nut-ipmipsu
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUT\-IPMIPSU" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUT\-IPMIPSU" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nut-recorder .\" Title: nut-recorder
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUT\-RECORDER" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUT\-RECORDER" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nut-scanner .\" Title: nut-scanner
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUT\-SCANNER" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUT\-SCANNER" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nut.conf .\" Title: nut.conf
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUT\&.CONF" "5" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUT\&.CONF" "5" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutdrv_atcl_usb .\" Title: nutdrv_atcl_usb
.\" Author: [see the "AUTHORS" section] .\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/09/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTDRV_ATCL_USB" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTDRV_ATCL_USB" "8" "03/09/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
@ -34,7 +34,7 @@ nutdrv_atcl_usb \- Driver for \*(AqATCL FOR UPS\*(Aq equipment
This man page only documents the specific features of the nutdrv_atcl_usb driver\&. For information about the core driver, see \fBnutupsdrv\fR(8)\&. This man page only documents the specific features of the nutdrv_atcl_usb driver\&. For information about the core driver, see \fBnutupsdrv\fR(8)\&.
.SH "SUPPORTED HARDWARE" .SH "SUPPORTED HARDWARE"
.sp .sp
This driver is for UPS hardware which identifies itself as USB idVendor 0001 and idProduct 0000, and iManufacturer ATCL FOR UPS\&. Known manufacturers include Kanji and Plexus\&. The UPS interface seems to be a USB frontend to a traditional contact\-closure interface, which translates into only three states in ups\&.status: \fBOL\fR, \fBOB\fR and \fBOB LB\fR\&. See also \fBgenericups\fR(8)\&. This driver is for UPS hardware which identifies itself as USB idVendor 0001 and idProduct 0000, and iManufacturer ATCL FOR UPS\&. Known manufacturers include Kanji and Plexus\&. The UPS interface seems to be a generic USB\-to\-serial chip, and for hardware manufactured by Kanji and Plexus, the microcontroller appears to emulate a traditional contact\-closure interface\&. This translates into only three states in ups\&.status: \fBOL\fR, \fBOB\fR and \fBOB LB\fR (similar to \fBgenericups\fR(8)), with no other dynamic status values reported\&. Note that these USB identifiers (including the iManufacturer string) have also been seen on devices that are supported by the fuji subdriver of \fBnutdrv_qx\fR(8)\&.
.SH "EXTRA ARGUMENTS" .SH "EXTRA ARGUMENTS"
.sp .sp
This driver supports the following optional setting: This driver supports the following optional setting:
@ -66,7 +66,7 @@ Charles Lepple
\fBgenericups\fR(8) \fBgenericups\fR(8)
.SS "The Qx driver:" .SS "The Qx driver:"
.sp .sp
\fBnutdrv_qx\fR(8) \fBnutdrv_qx\fR(8) (fuji subdriver)
.SS "Internet resources:" .SS "Internet resources:"
.sp .sp
The NUT (Network UPS Tools) home page: http://www\&.networkupstools\&.org/ The NUT (Network UPS Tools) home page: http://www\&.networkupstools\&.org/

View file

@ -14,9 +14,13 @@ SUPPORTED HARDWARE
------------------ ------------------
This driver is for UPS hardware which identifies itself as USB idVendor 0001 This driver is for UPS hardware which identifies itself as USB idVendor 0001
and idProduct 0000, and iManufacturer +ATCL FOR UPS+. Known manufacturers and idProduct 0000, and iManufacturer +ATCL FOR UPS+. Known manufacturers
include Kanji and Plexus. The UPS interface seems to be a USB frontend to a include Kanji and Plexus. The UPS interface seems to be a generic USB-to-serial
traditional contact-closure interface, which translates into only three states chip, and for hardware manufactured by Kanji and Plexus, the microcontroller
in ups.status: *OL*, *OB* and *OB LB*. See also linkman:genericups[8]. appears to emulate a traditional contact-closure interface. This translates
into only three states in ups.status: *OL*, *OB* and *OB LB* (similar to
linkman:genericups[8]), with no other dynamic status values reported. Note that
these USB identifiers (including the iManufacturer string) have also been seen
on devices that are supported by the `fuji` subdriver of linkman:nutdrv_qx[8].
EXTRA ARGUMENTS EXTRA ARGUMENTS
--------------- ---------------
@ -63,7 +67,7 @@ linkman:genericups[8]
The Qx driver: The Qx driver:
~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
linkman:nutdrv_qx[8] linkman:nutdrv_qx[8] (`fuji` subdriver)
Internet resources: Internet resources:
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~

View file

@ -2,12 +2,12 @@
.\" Title: nutdrv_qx .\" Title: nutdrv_qx
.\" Author: [see the "AUTHORS" section] .\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/22/2015 .\" Date: 03/09/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTDRV_QX" "8" "04/22/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTDRV_QX" "8" "03/09/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
@ -558,9 +558,10 @@ Select a serial\-over\-USB subdriver to use\&. You have a choice between
\fBfabula\fR, \fBfabula\fR,
\fBfuji\fR, \fBfuji\fR,
\fBippon\fR, \fBippon\fR,
\fBkrauler\fR \fBkrauler\fR,
\fBphoenix\fR
and and
\fBphoenix\fR\&. When using this option, it is mandatory to also specify the \fBsgs\fR\&. When using this option, it is mandatory to also specify the
\fBvendorid\fR \fBvendorid\fR
and and
\fBproductid\fR\&. \fBproductid\fR\&.

View file

@ -322,7 +322,7 @@ The argument is a regular expression that must match the bus name where the UPS
*subdriver =* 'string':: *subdriver =* 'string'::
Select a serial-over-USB subdriver to use. Select a serial-over-USB subdriver to use.
You have a choice between *cypress*, *fabula*, *fuji*, *ippon*, *krauler* and *phoenix*. You have a choice between *cypress*, *fabula*, *fuji*, *ippon*, *krauler*, *phoenix* and *sgs*.
When using this option, it is mandatory to also specify the *vendorid* and *productid*. When using this option, it is mandatory to also specify the *vendorid* and *productid*.
*langid_fix =* 'value':: *langid_fix =* 'value'::

View file

@ -2,12 +2,12 @@
.\" Title: nutscan .\" Title: nutscan
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_add_device_to_device .\" Title: nutscan_add_device_to_device
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_ADD_DEVICE_T" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_ADD_DEVICE_T" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_add_option_to_device .\" Title: nutscan_add_option_to_device
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_ADD_OPTION_T" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_ADD_OPTION_T" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_cidr_to_ip .\" Title: nutscan_cidr_to_ip
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_CIDR_TO_IP" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_CIDR_TO_IP" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_display_parsable .\" Title: nutscan_display_parsable
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_DISPLAY_PARS" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_DISPLAY_PARS" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_display_ups_conf .\" Title: nutscan_display_ups_conf
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_DISPLAY_UPS_" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_DISPLAY_UPS_" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_free_device .\" Title: nutscan_free_device
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_FREE_DEVICE" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_FREE_DEVICE" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_get_serial_ports_list .\" Title: nutscan_get_serial_ports_list
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_GET_SERIAL_P" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_GET_SERIAL_P" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_init .\" Title: nutscan_init
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_INIT" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_INIT" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_new_device .\" Title: nutscan_new_device
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_NEW_DEVICE" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_NEW_DEVICE" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_scan_avahi .\" Title: nutscan_scan_avahi
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_SCAN_AVAHI" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_SCAN_AVAHI" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_scan_eaton_serial .\" Title: nutscan_scan_eaton_serial
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_SCAN_EATON_S" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_SCAN_EATON_S" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_scan_ipmi .\" Title: nutscan_scan_ipmi
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_SCAN_IPMI" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_SCAN_IPMI" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_scan_nut .\" Title: nutscan_scan_nut
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_SCAN_NUT" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_SCAN_NUT" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_scan_snmp .\" Title: nutscan_scan_snmp
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_SCAN_SNMP" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_SCAN_SNMP" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_scan_usb .\" Title: nutscan_scan_usb
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_SCAN_USB" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_SCAN_USB" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutscan_scan_xml_http .\" Title: nutscan_scan_xml_http
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 03/02/2016
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTSCAN_SCAN_XML_HTT" "3" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTSCAN_SCAN_XML_HTT" "3" "03/02/2016" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: nutupsdrv .\" Title: nutupsdrv
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "NUTUPSDRV" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "NUTUPSDRV" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: oneac .\" Title: oneac
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "ONEAC" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "ONEAC" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

View file

@ -2,12 +2,12 @@
.\" Title: optiups .\" Title: optiups
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 04/17/2015 .\" Date: 12/29/2015
.\" Manual: NUT Manual .\" Manual: NUT Manual
.\" Source: Network UPS Tools 2.7.3 .\" Source: Network UPS Tools 2.7.3.1
.\" Language: English .\" Language: English
.\" .\"
.TH "OPTIUPS" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual" .TH "OPTIUPS" "8" "12/29/2015" "Network UPS Tools 2\&.7\&.3\&." "NUT Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------

Some files were not shown because too many files have changed in this diff Show more