1
response

Setup according to documentation here:

vCenter CLI installed

The issue I'm having isn't so much with NXLog, but rather the .pl script in the documentation. When attempting to run the script:

c:\ perl vcenter.pl -s=x.x.x.x -u=ServiceAccount -p=password

I receive the following:

`{"EventTime":"2021-04-15T19:40:39","Message":"Server version unavailable at 'https://x.x.x.x:443/sdk/vimService.wsdl' at C:/Program Files (x86)/VMware/VMware vSphere CLI/Perl/lib/VMware/VICommon.pm line 551.

","UserName":"ServiceAccount"}
{"EventTime":"2021-04-15T19:40:39","Message":"Vim::get_service_content called, but no global session is defined at vcenter.pl line 87
","UserName":"ServiceAccount"}`

I can confirm these credentials were working before, as I used to have an Arcsight Smart Connector pulling these logs. Any insight that can be provided would be greatly appreciated. Thanks in advance!

AskedApril 16, 2021 - 1:49am

Answer (1)

Solved...

Was due to not using the latest version of the CLI. Hope this helps someone that might run in to this. May even be worth a note in the doc too.