Results 1 to 6 of 6

Thread: USB UPS can it be made network aware?

  1. #1
    Premium Lager

    Join Date
    Jan 2008
    Age
    60
    Posts
    4,882
    Thanks
    1,635
    Thanked 2,711 Times in 1,230 Posts
    Rep Power
    1174
    Reputation
    40746

    Default USB UPS can it be made network aware?

    Strange question......

    I have a number of Netgear NAS's. They are connected to a UPS but there is no shutdown "link" to make them aware when power fails so as they can enter their shutdown mode to protect data.

    The UPS they are connected to does not link to a computer at all.

    I have just got a HP T1500 G4 UPS with a USB connection to enable it to hook up to a PC (running HPE power management software).

    Now, to my question,

    Anyone know if I can tell the NAS's that they is a UPS on a networked PC and to enable the PC to signal, across the network, when there is a power outage?

    I see that there is a "network" card for the T1500 but I am having trouble sourcing one.

    Thanks for looking in
    __________________________________________________ __
    Statistically, if you wait long enough, everything will happen!



Look Here ->
  • #2
    Premium Member
    wotnot's Avatar
    Join Date
    Nov 2019
    Location
    Scenic Rim, SE Qld
    Posts
    3,236
    Thanks
    1,462
    Thanked 2,934 Times in 1,510 Posts
    Rep Power
    1334
    Reputation
    58690

    Default

    It's even stranger that I'm on the mailing list..... which model NAS?



    As per usual, I've only got the linux/open source viewpoint, but that UPS seems widely supported and the configurata will be much the same....ie; configure your UPS monitoring software on the PC to generate an SNMP message to send to the NAS telling it mains power is OFF and UPS is active, and NAS should shutdown....(and there may also be a SNMP message the NAS can respond to when mains power comes good).

    HTH

  • The Following User Says Thank You to wotnot For This Useful Post:

    porkop (10-08-22)

  • #3
    Premium Lager

    Join Date
    Jan 2008
    Age
    60
    Posts
    4,882
    Thanks
    1,635
    Thanked 2,711 Times in 1,230 Posts
    Rep Power
    1174
    Reputation
    40746

    Default

    I found NUT after posting my question. have installed it on a PI and trying to configure it to my HP UPS and Netgear ReadyNAS's
    __________________________________________________ __
    Statistically, if you wait long enough, everything will happen!

  • The Following User Says Thank You to porkop For This Useful Post:

    wotnot (10-08-22)

  • #4
    Premium Member
    wotnot's Avatar
    Join Date
    Nov 2019
    Location
    Scenic Rim, SE Qld
    Posts
    3,236
    Thanks
    1,462
    Thanked 2,934 Times in 1,510 Posts
    Rep Power
    1334
    Reputation
    58690

    Default

    Sortta looks trivial (famous last words without the actual hardware in front of me =) ...

    Would be 2 ways to do it...NUT on the readynas (actually becomes the 'remote master' wrt the topography), or the more usual NUT on the server/PC end to send messages to everyone else.

    Which T1500 G is it?...serial or USB comms?

    Repeating... which model NAS? =)
    Last edited by wotnot; 10-08-22 at 10:27 PM.

  • #5
    Premium Lager

    Join Date
    Jan 2008
    Age
    60
    Posts
    4,882
    Thanks
    1,635
    Thanked 2,711 Times in 1,230 Posts
    Rep Power
    1174
    Reputation
    40746

    Default

    Quote Originally Posted by wotnot View Post
    Sortta looks trivial (famous last words without the actual hardware in front of me =) ...

    Would be 2 ways to do it...NUT on the readynas (actually becomes the 'remote master' wrt the topography), or the more usual NUT on the server/PC end to send messages to everyone else.

    Which T1500 G is it?...serial or USB comms?

    Repeating... which model NAS? =)
    Its a USB and serial T1500.

    The NAS's are Netgear Readynas, a RND104 and RND102. (running OS 6.0.7) I also have a number of NV and NV+ models that I can place into service.

    Ive but NUT on a Raspberry Pi.
    __________________________________________________ __
    Statistically, if you wait long enough, everything will happen!

  • #6
    Premium Member
    wotnot's Avatar
    Join Date
    Nov 2019
    Location
    Scenic Rim, SE Qld
    Posts
    3,236
    Thanks
    1,462
    Thanked 2,934 Times in 1,510 Posts
    Rep Power
    1334
    Reputation
    58690

    Default

    ....// the sysadmin side of me gets itchy with not knowing the deployment scenario - I'll read in 'home usage' and presume the RPi is running Raspbian OS and connection to the UPS is via USB //...

    Just to clarify something, the upsd server is effectively being the USB<->network bridge here, thus negating the need for a network card in the T1500....and although it doesn't say it, the readynas is infact running the NUT suite.

    First set is to get things running locally on the RPi -> ....that's almost a template for you...ie; all you have to change is 'eaton650' to whatever you like, and use the specific USB vendor-id your UPS has, and test things work as expected.

    Once that is all going, you edit nut.conf again and change the MODE from 'standalone' to 'netserver' ....edit upsd.conf to define which IP the server is listening to (and optionally [port], else it defaults to localhost).

    Then you add a user/password pairing for the NAS into the upsd.users file (this is the username/password you enter into the NAS UPS config page for remote only UPS). restart upsd to apply the changes and test stuff works.

    There's a bit more detail here --

  • The Following User Says Thank You to wotnot For This Useful Post:

    porkop (12-08-22)

  • Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •