This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| private:nut [2011/09/10 13:38] – faith | private:nut [2026/10/11 21:01] (current) – removed faith | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== 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 / | ||
| - | |||
| - | KERNEL==" | ||
| - | |||
| - | |||
| - | === 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 master | ||
| - | actions = ALL | ||
| - | instcmds = ALL | ||
| - | |||