vCenter Discovery shows warning in discovery log: "vCenter Message: This method requires authentication."
The warning is thrown by probe: "VMWare - vCenter VM Tags".
The probe "VMWare - vCenter VM Tags" is calling MID server script include: VMWarevCenterVMTagsProbe, which is then calling function getTagsForResources in MID server script include AVMWareProbe.
The function getTagsForResources is trying to make a post request to https://'+ 'vCenter IP' +'/rest/com/vmware/cis/session, using basic auth.
The detailed error is:
This error can be thrown if the user / password combo is incorrect / cannot authenticate.
However under vCenter discovery context (where the credential works for other probes), below is more likely to be the cause:
- Check if https://kb.vmware.com/s/article/67483 applies
- Check log in /var/log/vmware/messages
- Restarting applmgmt service or rebooting vCenter Server Appliance then try again
Other resource that may help with troubleshooting: