➜ ~ cat /etc/nut/ups.conf maxretry = 3 [ups] driver = "usbhid-ups" port = "auto"
➜ ~ cat /etc/nut/upsd.conf MAXAGE 25 LISTEN 0.0.0.0 6502
➜ ~ cat /etc/nut/upsd.users [monuser] password = secret upsmon = master
➜ ~ cat /opt/scripts/upssched-cmd.sh ! /bin/sh /opt/scripts/mail.py "Alarm from PVE" "$1"
大家就当无事发生过
184 条评论