prometheus / snmp_exporter

SNMP Exporter for Prometheus
Apache License 2.0
1.61k stars 605 forks source link

Synology targets down snmp_exporter #614

Open davidepellegrini opened 3 years ago

davidepellegrini commented 3 years ago

Host operating system: uname -a

Linux "hostname" 3.10.0-1062.1.1.el7.x86_64 #1 SMP Fri Sep 13 22:55:44 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

snmp_exporter version: output of snmp_exporter -version

What device/snmpwalk OID are you using?

Synology MIB

If this is a new device, please link to the MIB(s).

It's not a new device, i already monitoring this synologys before. https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_MIB_File.zip

What did you do that produced an error?

I don't change settings, and i have this issue, this is my prometheus config file about synology:

What did you expect to see?

My targets up and alerts on, like it was a few months ago

What did you see instead?

image

SuperQ commented 3 years ago

For questions/help/support please use our community channels. There are more people available to potentially respond to your request and the whole community can benefit from the answers provided.

cdalvaro commented 2 years ago

@davidepellegrini, did you figure out how to solve this issue?

cdalvaro commented 2 years ago

I managed to fix this issue by setting network_mode: host on my docker-compose file for the snmp-exporter service.

davidepellegrini commented 2 years ago

@cdalvaro I have fixed this issue by change the scrape interval from 60 seconds to 120 seconds. I will try your suggestion too, thanks for your reply.