Open liam-ng opened 6 months ago
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
.
newArubaCollector comes from aruba_collector.go
Thank you so much for the response. I revisited the issue today, the main.go is not modified, sorry for the typo:
# command-line-arguments
./main.go:75:17: undefined: devicesForConfig
./main.go:156:7: undefined: newArubaCollector
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://
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 minutes aruba_exporter metrics output.txtMany empty
command match:
, ran commands every 5 minutes or so, and finally timeout. aruba_exporter service status.txtConfig 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?