Nut: Difference between revisions

From DWIKI
No edit summary
No edit summary
Line 1: Line 1:
[[http://www.networkupstools.org/ Network UPS Tools]]
== NUT - Network UPS Tools ==
 
* [http://www.networkupstools.org/ Network UPS Tools]
The primary goal of the Network UPS Tools (NUT) project is to provide reliable monitoring of UPS hardware and ensure safe shutdowns of the systems which are connected.


=== building ===
  ./configure --prefix=/usr/local --sysconfdir=/etc/ups --with-user=ups
  ./configure --prefix=/usr/local --sysconfdir=/etc/ups --with-user=ups
  make
  make
Line 14: Line 16:
  chown ups.ups /var/state/ups
  chown ups.ups /var/state/ups


=== configuring ===
first ups.conf
first ups.conf


=== running ===
  upsdrvctl start
  upsdrvctl start
  upsd -u ups &
  upsd -u ups &
  upsmon -u ups
  upsmon -u ups
=== notes ===

Revision as of 18:39, 31 August 2006

NUT - Network UPS Tools

The primary goal of the Network UPS Tools (NUT) project is to provide reliable monitoring of UPS hardware and ensure safe shutdowns of the systems which are connected.

building

./configure --prefix=/usr/local --sysconfdir=/etc/ups --with-user=ups
make
make install
make install-conf
groupadd ups
useradd -g ups ups
chown ups.ups /dev/ttyS0
chmod 0600 /dev/ttyS0
mkdir /var/state/ups
chmod 0700 /var/state/ups
chown ups.ups /var/state/ups

configuring

first ups.conf

running

upsdrvctl start
upsd -u ups &
upsmon -u ups

notes