Created
July 31, 2021 14:43
-
-
Save colmbuckley/5e378c96f5069662a3c59305090746ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nut.conf | |
MODE=netserver | |
# ups.conf | |
[ipg800] | |
driver = bcmxcp | |
port = /dev/ttyUSB0 | |
desc = "Eaton IPG 800"l | |
# upsd.conf | |
LISTEN 127.0.0.1 3493 | |
LISTEN 127.0.1.1 3493 | |
LISTEN ::1 3493 | |
LISTEN my.real.ipv4.address 3493 | |
LISTEN my:real:ipv6:address 3493 | |
# upsd.users | |
[admin] | |
password = correct.horse.battery.staple | |
actions = SET | |
instcmds = ALL | |
[upsmon] | |
password = hunter2 | |
upsmon = master | |
# upsmon.conf | |
MONITOR ipg800@localhost 1 upsmon hunter2 master | |
# [... other config options as included; easy enough to understand ...] | |
# note you need to roll your own NOTIFYCMD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment