What version is this, it's likely out of date. I would recommend building from source.
On Thu, Aug 20, 2020, 21:11 Mario Polario <[email protected]> wrote: > Hi, > > I am trying to set-up prometheus-snmp-exporter to collect data from my > Synology NAS. > I downloaded mibs (Synology mibs included) to /usr/share/snmp/mibs. > > When running prometheus-snmp-generator I get an error: > > root@monitoring:/etc/prometheus# prometheus-snmp-generator generate > > INFO[0000] Loading MIBs from > $HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp > source="net_snmp.go:136" > WARN[0000] NetSNMP reported 2 parse errors > source="main.go:103" > FATA[0000] Error parsing yml config: Invalid metric type override > 'EnumAsInfo' source="main.go:44" > > > I tried removing all from generator.yml except Synology module, but no > change. > > I was following instructions noted > in /usr/share/doc/prometheus-snmp-exporter/README.Debian but I can't seem > to generate snmp.yml file. > > Any help in understanding what I did wrong is more than welcomed. > > Thanks in advance! > > Best regards, > > Mario. > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/b8f2f195-efc1-4c48-b85b-88a8687964bfn%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/b8f2f195-efc1-4c48-b85b-88a8687964bfn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CABbyFmrSVVdewTDqiNHt8-4P_U5K_J%3DdLD9Xt9QuDZBX%3Dn4jvQ%40mail.gmail.com.

