Skip to content

Instantly share code, notes, and snippets.

@Dids
Last active November 27, 2022 16:12
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dids/ebba2e09a39e273d6adcdfd8028fa439 to your computer and use it in GitHub Desktop.
Save Dids/ebba2e09a39e273d6adcdfd8028fa439 to your computer and use it in GitHub Desktop.
Installing NUT for ESXi 7.x
  1. Set ESXi package acceptance level to community:
esxcli software acceptance set --level=CommunitySupported
  1. Install the VIB:
cd /tmp
wget https://blog.rylander.io/2017/01/15/connect-a-esxi-6.5-host-to-a-ups-connected-to-a-synology-nas/NutClient-ESXi500-1.4.0.tar.gz
tar -xvzf NutClient-ESXi500-1.4.0.tar.gz
# NOTE: Modify the upsmon-install.sh file to adjust the default options (optional)
chmod +x upsmon-install.sh
./upsmon-install.sh
  1. In the ESXi web UI, set the upsmon service policy to start and stop with host

  2. Reboot

If you run into further issues, remove the VIB and try again:

# NOTE: Be sure to set the acceptance level to community!
esxcli software vib remove --vibname=upsmon

Original source can be found here.

@XDavidT
Copy link

XDavidT commented Mar 8, 2022

How do we know it's installed and see my UPS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment