Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Module mikrotik:error in unmarshalResponse: expected a sequence when unmarshalling a VB, got 2 #1182

Closed
matgapa opened this issue May 9, 2024 · 0 comments

Comments

@matgapa
Copy link

matgapa commented May 9, 2024

Host operating system: output of uname -a

Ubuntu 20.04

snmp_exporter version: output of snmp_exporter -version

snmp_exporter, version 0.22.0


I have two router mikrotik I want use prometheus with grafana for monitoring panel... I tried with several version 0.17 to 0.25 only worked 0.22 correctly with panel on grafana this no really important only want solve problem with snmp_exporter this running on port 9116 when try use module mikrotik on 1 router this working without problem but another router error

working:
http://xxx.xxx.xxx.xxx:9116/snmp?auth=public_v2&module=mikrotik&target=xxx.xxx.xxx.aaa

show all metrics

not working

http://xxx.xxx.xxx.xxx:9116/snmp?auth=public_v2&module=mikrotik&target=xxx.xxx.xxx.bbb

An error has occurred while serving metrics:

error collecting metric Desc{fqName: "snmp_error", help: "Error scraping target", constLabels: {}, variableLabels: []}: error walking target xxx.xxx.xxx.bbb: error in unmarshalResponse: expected a sequence when unmarshalling a VB, got 25

id use another module "if_mib" show some dates but need use module mikrotik

from shell using snmpwalk all working fine

snmpwalk -v2c -c public xxx.xxx.xxx.aaa

show metrics

snmpwalk -v2c -c public xxx.xxx.xxx.bbb

show metrics

@prometheus prometheus locked and limited conversation to collaborators Jun 13, 2024
@SuperQ SuperQ converted this issue into discussion #1205 Jun 13, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant