VMware vCenter and ESXi¶
At the end of this page Ferrule will be reading vCenter 7 or 8: hosts, datastores, virtual machines, and vCenter's own alarms. Standalone ESXi hosts are read through vCenter.
In vCenter¶
- Administration → Single Sign On → Users and Groups: add a user in
vsphere.local, such astelemetry, with a long password. - Administration → Access Control → Global Permissions → Add: that user, role Read-only, with Propagate to children ticked.
In Ferrule¶
- Click Settings ⚙ and find Add a source.
- Kind: VMware vCenter. Fill in Name (anything you'll recognise), Address and User.
- Ferrule writes two lines, such as
SOURCE_1=...andSOURCE_1_SECRET=.... Click Copy. - Add both lines to your settings, and replace the placeholder in the
_SECRETline with the password:
- Open the
ferrulestack and find Environment variables. - Add or change the lines. In Advanced mode you can paste several at once.
- Click Pull and redeploy.
- Open
.envin the folder where you clonedferrule-deploy. - Add or change the lines.
- Run
docker compose up -din that folder.
Ferrule never asks for the password
It only goes into your settings. The Settings page shows whether it's set, never what it is.
- Address:
https://<vcenter> - User:
[email protected]
How to know it worked¶
- Settings → Sources lists it, with the state polling. Right after an update it says waiting for first poll for up to a minute.
- It appears on the Virtualization tab.
What it alerts on¶
vCenter's own alarms. Ferrule adds no thresholds of its own: you tune the alarms in vCenter as usual. Acknowledging an alarm in vCenter clears it in Ferrule.
Certificates
Most vCenters use their own certificate authority, so Ferrule doesn't check the certificate by default. Once vCenter has one the container trusts, tick Verify TLS certificate in Add a source.