Otel collector Error scraping metrics {"error": "endpoint /mgmt/shared/authn/login returned code 401"}
Hi there, I've encountered an issue with Otel Collector after running the command "docker compose up". As a result, the dashboard has no data. The error message is "Error scraping metrics {"error": "endpoint /mgmt/shared/authn/login returned code 401"}" I have researched this issue and know that it comes from the account not being authorized, however, I am using an admin account. Does anyone have the same issue? Please help me!
Which dashboard is empty? I assume all of them, but did you follow the configuration outlined? I mean changing your .env file and your defaults or receivers file?
The entire dashboard is empty when I use the administrator local account. When I switch to the other account (Remote account), it works and shows a lot of dashboards, except for ASM. The ASM's dashboard is "No data", maybe this account doesn't have the right to get the information.
I'd check to ensure you have "bash command level access" as many of the metrics are gathered not available through SNMP or API directly.