VMware vCenter troubleshooting

The vCenter collector reads datacenters, clusters, ESXi hosts, virtual machines and networks from VMware vCenter (or a standalone ESXi host) and needs the Pro edition.

Before you start

Common problems

Message you seeWhat it meansWhat to do
vCenter login failedvCenter refused the username or password. A Test on the connections page shows it as Cannot connect to <host>:<port>: the credentials were refused. The server refused the credentials: check the account and the password or key.Check the account and password. Use the full name, for example [email protected].
Cannot connect to vcenter.example.com:443: …cinqstack could not open the API session. The rest of the message is the underlying error, for example a refused connection, a timeout, a DNS failure or an untrusted certificate.Check the host name, the port and firewalls. For a certificate error, install the CA on the cinqstack host or turn off Verify TLS certificate.
No NetBox connection configured.The snapshot was read, but there is no NetBox connection to plan against.Set up the NetBox connection under Settings › NetBox.
Scope rule points at site '…', which does not exist in NetBox.A scope rule names a site slug that NetBox does not have. Nothing matched by that rule is synced.Create the site in NetBox or correct the rule on the job.
…: its cluster maps to site … but the VM maps to …; the VM is synced without a cluster.The scope rules put a VM and its cluster at different sites.Align the VM and cluster rules so both map to the same site.
ESXi host not in NetBoxA heading in the run report. Hosts are matched to NetBox devices by name, and the short name is allowed.Add the host as a device in NetBox, or rename the existing device to match. The next run links it.
NetBox refused some writesA heading in the run report after apply. Everything else was written.Fix the cause in NetBox (often a duplicate name or a missing site) and run again.
NetBox does not have the custom field vcenter_id that vCenter writes: run the schema pack under Settings › NetBox schema, then apply again.The apply stopped before writing, because NetBox lacks a field this module needs. This happens when the schema pack was provisioned before a licence that enables the module.Run the schema pack under Settings › NetBox schema, then apply the plan again.
NetBox writes are paused: NetBox has … devices and this licence covers …Applying is blocked because NetBox has more devices than the licence allows. Plans and reviews keep working.Reduce the device count or upgrade the licence under Settings › Licence.
A connection saved with Save without testing is first tested by the Relay edge on the job's first run. If that run fails, read the edge's message on the run page.

Collect details for support

  1. Open the job under vCenter, use the arrow next to Run now and choose Run with debug log. A debug run also stores the collected snapshot in the log.
  2. When the run finishes, open the run page (/vcenter/runs/<run id>) and click Download log. The file is named vcenter-run-<run id>.log.
  3. Only operators and admins see the debug detail, so download the log with one of those roles.

Send the log file, the cinqstack version, the vCenter version shown on the connections page, and the job's scope rules. The snapshot lists VM and host names, so check with your site before you share it. Never send the vCenter password.

An admin can also download a diagnostics bundle under Settings › Support › Download diagnostics. The page lists every file in it before you download, so you can check what you send. It never contains passwords, API keys, NetBox tokens, the licence file, device configurations or photos.