-
Notifications
You must be signed in to change notification settings - Fork 714
Description
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