Skip to content
Snippets Groups Projects

Automatically restart NUT

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by David G. Martin IV

    Bash script to automatically restart nut-server if a UPS stops responding.

    Now also restarts the driver, which seems necessary more times than not.

    Optionally resets the USB interface, which is necessary on some Cyberpower models.

    Mainly used for Cyberpower's USB connection, which is incredibly unreliable.

    Edited
    auto-restart-nut.sh 928 B
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment