-
-
Save jhelmink/ba54e11e6a1b9f448a4a9a5c4cb45b89 to your computer and use it in GitHub Desktop.
Revisions
-
jhelmink revised this gist
Sep 25, 2025 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -67,14 +67,14 @@ systemctl status nut-client systemctl status nut-monitor ``` - To check UPS status from your Proxmox Server `upsc <name>@<address>` for the remote UPS ``` upsc [email protected] ``` This will return a bunch of your UPS info if everything is working correctly - Confirm clients are connecting back on the Synology NAS: ``` upsc -c ups ``` -
jhelmink revised this gist
Sep 25, 2025 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -67,8 +67,8 @@ systemctl status nut-client systemctl status nut-monitor ``` - To check UPS status from your Proxmox Server: `upsc <name>@<address>` for the remote UPS ``` upsc [email protected] ``` -
jhelmink revised this gist
Sep 25, 2025 . 1 changed file with 3 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,10 +3,10 @@ #### [Network UPS Tools User Manual](http://www.networkupstools.org/docs/user-manual.chunked/index.html) ---- - Use Shell on Proxmox Node to install NUT Client ``` apt-get install nut-client ``` - Edit `/etc/nut/nut.conf` using `vi` @@ -39,7 +39,7 @@ There won't be an existing line, look for the other MONITOR example comments and `MONITOR <system> <powervalue> <username> <password> ("master"|"slave")` `<system>` is `ups@your.nas.ip.address` `monuser` and `secret` are the default `<username> <password>` for a Synology NAS @@ -53,13 +53,11 @@ MONITOR [email protected] 1 monuser secret slave - Enable monitoring services to start up with the machine: ``` sudo systemctl enable nut-monitor ``` - Start monitoring: ``` sudo systemctl start nut-monitor ``` -
jhelmink revised this gist
Jan 2, 2025 . 1 changed file with 20 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -51,14 +51,32 @@ Since you're monitoring your NAS you are in `slave` mode MONITOR [email protected] 1 monuser secret slave ``` - Enable monitoring services to start up with the machine: ``` sudo systemctl enable nut-client sudo systemctl enable nut-monitor ``` - Start monitoring: ``` sudo systemctl start nut-client sudo systemctl start nut-monitor ``` - Verify monitoring: ``` systemctl status nut-client systemctl status nut-monitor ``` - To check UPS status: `upsc <name>@<address>` for remote UPS ``` upsc [email protected] ``` This will return a bunch of your UPS info if everything is working correctly - Confirm clients are connecting: ``` upsc -c ups ``` -
jhelmink revised this gist
Sep 4, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -57,7 +57,7 @@ upsmon start ``` - To check UPS status: `upsc <name>@<address>` for remote UPS ``` upsc [email protected] ``` -
jhelmink revised this gist
Sep 4, 2021 . 1 changed file with 9 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -37,11 +37,15 @@ vi /etc/nut/upsmon.conf There won't be an existing line, look for the other MONITOR example comments and add after that. `MONITOR <system> <powervalue> <username> <password> ("master"|"slave")` `<system>` is `[email protected]` `monuser` and `secret` are the default `<username> <password>` for a Synology NAS `<powervalue>` is going to be 1 unless you have multiple UPS's Since you're monitoring your NAS you are in `slave` mode ``` MONITOR [email protected] 1 monuser secret slave @@ -56,4 +60,5 @@ upsmon start `upsc <name>` for direct attached units or `upsc <name>@<address>` for remote ``` upsc [email protected] ``` This will return a bunch of your UPS info if everything is working correctly -
jhelmink revised this gist
Sep 4, 2021 . 1 changed file with 9 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -29,7 +29,15 @@ MODE=netclient `:wq` to save and quit when you get it right - Edit `/etc/nut/upsmon.conf` using `vi` ``` vi /etc/nut/upsmon.conf ``` There won't be an existing line, look for the other MONITOR example comments and add after that. `<powervalue>` is going to be 1 unless you have multiple UPS's `MONITOR <system> <powervalue> <username> <password> ("master"|"slave")` -
jhelmink revised this gist
Sep 4, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -36,7 +36,7 @@ MODE=netclient `monuser` and `secret` are the defaults for a Synology NAS ``` MONITOR [email protected] 1 monuser secret slave ``` - Start monitoring: -
jhelmink revised this gist
Sep 4, 2021 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,18 +3,19 @@ #### [Network UPS Tools User Manual](http://www.networkupstools.org/docs/user-manual.chunked/index.html) ---- - Use Shell on Proxmox Node to install NUT ``` apt-get install nut ``` - Edit `/etc/nut/nut.conf` using `vi` ``` vi /etc/nut/nut.conf ``` Modify the last line `x` to delete existing characters @@ -42,6 +43,7 @@ MONITOR [email protected] monuser secret slave ``` upsmon start ``` - To check UPS status: `upsc <name>` for direct attached units or `upsc <name>@<address>` for remote ``` -
jhelmink revised this gist
Sep 4, 2021 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -15,10 +15,19 @@ vi /etc/nut/nut.conf ``` - Modify the last line `x` to delete existing characters `i` to insert characters. `ESC` to go back to command mode ``` MODE=netclient ``` `:q!` to quit without saving if you fuck it up `:wq` to save and quit when you get it right - Edit `/etc/nut/upsmon.conf`: `MONITOR <system> <powervalue> <username> <password> ("master"|"slave")` -
jhelmink revised this gist
Sep 4, 2021 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -20,7 +20,8 @@ MODE=netclient ``` - Edit `/etc/nut/upsmon.conf`: `MONITOR <system> <powervalue> <username> <password> ("master"|"slave")` `monuser` and `secret` are the defaults for a Synology NAS -
jhelmink renamed this gist
Sep 4, 2021 . 1 changed file with 10 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -11,20 +11,29 @@ apt-get install nut - Edit `/etc/nut/nut.conf`: ``` vi /etc/nut/nut.conf ``` - Modify the last line ``` MODE=netclient ``` - Edit `/etc/nut/upsmon.conf`: `MONITOR <system> <powervalue> <username> <password> ("master"|"slave")`: `monuser` and `secret` are the defaults for a Synology NAS ``` MONITOR [email protected] monuser secret slave ``` - Start monitoring: ``` upsmon start ``` - To check UPS status: `upsc <name>` for direct attached units or `upsc <name>@<address>` for remote ``` upsc ups@192.168.1.5 ``` -
jhelmink revised this gist
Sep 4, 2021 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,10 @@ ## Configuring Proxmox VE node as client for remote NUT server running on Synology NAS #### [Network UPS Tools User Manual](http://www.networkupstools.org/docs/user-manual.chunked/index.html) ---- ## Shell on Proxmox Node ``` apt-get install nut ``` @@ -15,7 +17,7 @@ MODE=netclient - Edit `/etc/nut/upsmon.conf`: `MONITOR <system> <powervalue> <username> <password> ("master"|"slave")`: ``` MONITOR ups@192.168.1.5 monuser secret slave ``` - Start monitoring: ``` -
Inquize revised this gist
Jul 13, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ## Configuring Proxmox VE node as client for remote NUT server #### [Network UPS Tools User Manual](http://www.networkupstools.org/docs/user-manual.chunked/index.html) ---- ``` -
Inquize revised this gist
Sep 19, 2015 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,8 @@ ## Configuring Proxmox VE node as client for remote NUT server ####[Network UPS Tools User Manual](http://www.networkupstools.org/docs/user-manual.chunked/index.html) ---- ``` apt-get install nut ``` -
Inquize created this gist
Sep 19, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ ## Configuring Proxmox VE node as client for remote NUT server ``` apt-get install nut ``` - Edit `/etc/nut/nut.conf`: ``` MODE=netclient ``` - Edit `/etc/nut/upsmon.conf`: `MONITOR <system> <powervalue> <username> <password> ("master"|"slave")`: ``` MONITOR [email protected] 1 upsmon password slave ``` - Start monitoring: ``` upsmon start ``` - To check UPS status: `upsc <name>` for direct attached units or `upsc <name>@<address>` for remote ``` upsc [email protected] ```