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

Collect error parsing interface metric value #134

Open
risewo2997 opened this issue Mar 9, 2022 · 0 comments
Open

Collect error parsing interface metric value #134

risewo2997 opened this issue Mar 9, 2022 · 0 comments

Comments

@risewo2997
Copy link

risewo2997 commented Mar 9, 2022

I use docker.
image: nshttpd/mikrotik-exporter-linux-arm64:1.0.11

And I get an error.
Error:

{"device":"device-name","error":"strconv.ParseFloat: parsing \"\": invalid syntax","interface":"interface-name","level":"error","msg":"error parsing interface metric value","property":"overall-tx-ccq","time":"2001-01-01T01:01:01Z"}

config.yml:

devices:
  - name: Mikrotik
    address: 127.0.0.1
    user: user
    password: password

features:
  wlanif: true

Part response from /metrics:

...
# HELP mikrotik_wlan_interface_overall_tx_ccq overall-tx-ccq
# TYPE mikrotik_wlan_interface_overall_tx_ccq gauge
mikrotik_wlan_interface_overall_tx_ccq{address="127.0.0.1",channel="2447/20-Ce/gn(20dBm)",interface="wlan100",name="name"} 96
...
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