This is an old revision of the document!


Nut

Installation

apt-get install nut

Changes to /etc/nut configuration files

nut.conf

MODE=standalone

ups.conf

Serial

This is used on phoebus:

[phoebus]
      driver = apcsmart
      port = /dev/ttyS0

In this case, we also need /etc/udev/rules.d/99_nut-serialups.rules:

KERNEL=="ttyS0", GROUP="nut"

USB

This is used on charts, mnemosyne:

[localhost]
      driver = usbhid-ups
      port = auto
      vendorid = 051d
      

SNMP

This is used on char:

[apcups1]
      driver = snmp-ups
      port = apcups1
      mibs = apcc
      community = public

upsd.conf

This is used on UPS servers mnemosyne, charts, phoebus:

LISTEN 0.0.0.0

This is used on UPS clients, but isn't required:

LISTEN 127.0.0.1

upsd.users

This is used on char:

[upsmon]
      password  = upsmon
      upsmon master
      actions = ALL
      instcmds = ALL
private/nut.1315661887.txt.gz ยท Last modified: (external edit)
Copyright © 2008-2009 alephnull.com