You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested on aos-cx OVA and Aruba 8100 switch, same issues
Update
Tried re-creating vendor mod after mod clean -cache and -modcache, no luck
Tried Go version 1.22.3 & 1.19, no luck
The go mod module.txt looks good to me.
Tried copying $GOPATH/pkg/mod (mod cache) to offline server and run go run main.go -mod=mod/vendor, no luck with same undefined error message
Tried built aruba_exporter with internet access, got the same file size and same behaviour
Tried go run -mod=vendor ./main.go -config.file=config.yml on both online & offline environment, with or without -mod flag. Here's the error message/output:
The text was updated successfully, but these errors were encountered:
liam-ng
changed the title
Failed to scrape content and unusually slow
Failed to scrape content with empty command match and no metrics output
Jun 5, 2024
Was your main.go modified? In the source, line 75 is whitespace and line 76 is devices, err = devicesForConfig(c) but it looks like there is a typo in yours, defvicesForConfig.
I downloaded and re-built the aruba_exporter again.
It has the same issue with empty command match.
From the Aruba 8100 log, I can see the operator user from my config.yml logged in and out when I go to http://:9909/metrics
Please let me know if there is anything I should try, thank you!
Hello team,
Did anyone run into the same issue? could anyone share some insight how to troubleshoot this?
Thank you all in advance!
Error Message / Output:
Only
aruba_up gauge
is scraped after 15 minutesaruba_exporter metrics output.txt
Many empty
command match:
, ran commands every 5 minutes or so, and finally timeout.aruba_exporter service status.txt
Config file
./aruba_exporter -config.file=config.yaml
Hardware-wise
go mod vendor
&go build
Update
Tried re-creating vendor mod after mod clean -cache and -modcache, no luck
Tried Go version 1.22.3 & 1.19, no luck
The go mod module.txt looks good to me.
Tried copying $GOPATH/pkg/mod (mod cache) to offline server and run
go run main.go -mod=mod/vendor
, no luck with same undefined error messageTried built aruba_exporter with internet access, got the same file size and same behaviour
Tried
go run -mod=vendor ./main.go -config.file=config.yml
on both online & offline environment, with or without-mod
flag. Here's the error message/output:Is it related to the issues?
The text was updated successfully, but these errors were encountered: