Hi Ben,

I use versions available in Debian repository:
ii  prometheus                              2.7.1+ds-3+b11
 amd64        Monitoring system and time series database
ii  prometheus-alertmanager                 0.15.3+ds-3+b1
 amd64        Handle and deliver alerts created by Prometheus
ii  prometheus-node-exporter                0.17.0+ds-3+b11
amd64        Prometheus exporter for machine metrics
ii  prometheus-snmp-exporter                0.14.0+ds-1+b10
amd64        Prometheus exporter for SNMP-enabled devices

I try building as little as possible since all provisioning is handled by
Ansible at the end.

If there is prometheus external repository for Debian, that could be worth
checking, but I didn't find one.


fre. 21. aug. 2020 kl. 10:25 skrev Ben Kochie <[email protected]>:

> 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/CAE%2BvKfBTFRJFmWdY2kbDR2-RGTWSXUuF43BJCFuC-PaQeq%2B%2Bzg%40mail.gmail.com.

Reply via email to