Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why return "Unauthorized" on start script? #107

Open
MatheusLopCor opened this issue Nov 29, 2022 · 0 comments
Open

Why return "Unauthorized" on start script? #107

MatheusLopCor opened this issue Nov 29, 2022 · 0 comments

Comments

@MatheusLopCor
Copy link

Hello,

I'm trying to use the script to collect data form VMware, but when a run the script I receive "Unauthorized".
I would like to know what permissions my user to have assigned.

Script output:
[xpto@xxxxxxxxx etc]# /usr/local/bin/vsphere-influxdb-go
2022/11/29 09:54:31 Starting vsphere-influxdb-go with config file /etc/vsphere-influxdb-go.json
2022/11/29 09:54:31 Successfully connected to Influx
2022/11/29 09:54:31 Connecting to vcenter: xxxxxxxxxxx.com
2022/11/29 09:54:33 Setting up query inventory of vcenter: xxxxxxxxxxx.com
2022/11/29 09:54:41 {"code":"unauthorized","message":"Unauthorized"}

Someone could help me on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant