Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jhelmink/ba54e11e6a1b9f448a4a9a5c4cb45b89 to your computer and use it in GitHub Desktop.
Save jhelmink/ba54e11e6a1b9f448a4a9a5c4cb45b89 to your computer and use it in GitHub Desktop.

Revisions

  1. jhelmink revised this gist Sep 25, 2025. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Proxomox - NUT Client - Synology NAS.md
    Original 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:
    - 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:
    - Confirm clients are connecting back on the Synology NAS:
    ```
    upsc -c ups
    ```
  2. jhelmink revised this gist Sep 25, 2025. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Proxomox - NUT Client - Synology NAS.md
    Original 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:
    `upsc <name>@<address>` for remote UPS
    - To check UPS status from your Proxmox Server:
    `upsc <name>@<address>` for the remote UPS
    ```
    upsc [email protected]
    ```
  3. jhelmink revised this gist Sep 25, 2025. 1 changed file with 3 additions and 5 deletions.
    8 changes: 3 additions & 5 deletions Proxomox - NUT Client - Synology NAS.md
    Original 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
    - Use Shell on Proxmox Node to install NUT Client

    ```
    apt-get install nut
    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 `anything@your.nas.ip.address`
    `<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-client
    sudo systemctl enable nut-monitor
    ```

    - Start monitoring:
    ```
    sudo systemctl start nut-client
    sudo systemctl start nut-monitor
    ```

  4. jhelmink revised this gist Jan 2, 2025. 1 changed file with 20 additions and 2 deletions.
    22 changes: 20 additions & 2 deletions Proxomox - NUT Client - Synology NAS.md
    Original 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:
    ```
    upsmon start
    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
    This will return a bunch of your UPS info if everything is working correctly

    - Confirm clients are connecting:
    ```
    upsc -c ups
    ```
  5. jhelmink revised this gist Sep 4, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Proxomox - NUT Client - Synology NAS.md
    Original file line number Diff line number Diff line change
    @@ -57,7 +57,7 @@ upsmon start
    ```

    - To check UPS status:
    `upsc <name>` for direct attached units or `upsc <name>@<address>` for remote
    `upsc <name>@<address>` for remote UPS
    ```
    upsc [email protected]
    ```
  6. jhelmink revised this gist Sep 4, 2021. 1 changed file with 9 additions and 4 deletions.
    13 changes: 9 additions & 4 deletions Proxomox - NUT Client - Synology NAS.md
    Original 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.

    `<powervalue>` is going to be 1 unless you have multiple UPS's

    `MONITOR <system> <powervalue> <username> <password> ("master"|"slave")`

    `monuser` and `secret` are the defaults for a Synology NAS
    `<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
  7. jhelmink revised this gist Sep 4, 2021. 1 changed file with 9 additions and 1 deletion.
    10 changes: 9 additions & 1 deletion Proxomox - NUT Client - Synology NAS.md
    Original 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`:
    - 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")`

  8. jhelmink revised this gist Sep 4, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Proxomox - NUT Client - Synology NAS.md
    Original 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] monuser secret slave
    MONITOR [email protected] 1 monuser secret slave
    ```

    - Start monitoring:
  9. jhelmink revised this gist Sep 4, 2021. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions Proxomox - NUT Client - Synology NAS.md
    Original 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)
    ----

    ## Shell on Proxmox Node
    - Use Shell on Proxmox Node to install NUT

    ```
    apt-get install nut
    ```

    - Edit `/etc/nut/nut.conf`:
    - Edit `/etc/nut/nut.conf` using `vi`

    ```
    vi /etc/nut/nut.conf
    ```

    - Modify the last line
    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
    ```
  10. jhelmink revised this gist Sep 4, 2021. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions Proxomox - NUT Client - Synology NAS.md
    Original 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")`
  11. jhelmink revised this gist Sep 4, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion Proxomox - NUT Client - Synology NAS.md
    Original 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")`:

    `MONITOR <system> <powervalue> <username> <password> ("master"|"slave")`

    `monuser` and `secret` are the defaults for a Synology NAS

  12. jhelmink renamed this gist Sep 4, 2021. 1 changed file with 10 additions and 1 deletion.
    Original 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@10.2.0.2
    upsc ups@192.168.1.5
    ```
  13. jhelmink revised this gist Sep 4, 2021. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions Proxomox - NUT Client.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,10 @@
    ## Configuring Proxmox VE node as client for remote NUT server
    ## 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@10.2.0.2 1 upsmon password slave
    MONITOR ups@192.168.1.5 monuser secret slave
    ```
    - Start monitoring:
    ```
  14. @Inquize Inquize revised this gist Jul 13, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Proxomox - NUT Client.md
    Original 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)
    #### [Network UPS Tools User Manual](http://www.networkupstools.org/docs/user-manual.chunked/index.html)
    ----

    ```
  15. @Inquize Inquize revised this gist Sep 19, 2015. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions Proxomox - NUT Client.md
    Original 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
    ```
  16. @Inquize Inquize created this gist Sep 19, 2015.
    25 changes: 25 additions & 0 deletions Proxomox - NUT Client.md
    Original 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]
    ```