How to define interval that snmp_exporter queries targets? #839
-
Some of my older snmp targets can't handle being queried every 15s. I verified they're getting queried every 15s by looking at tcpdump and log files. I still consider myself new to prometheus, but my understanding is that the actual querying of the snmp device is defined at the exporter level and not at the prometheus level. the global part of the prometheus config does have scrape_interval and evaluation_interval both set to 15s...but that's just how often it checks the metrics provided by snmp_exporter...right? How can I change the querying interval from snmp_exporter to devices both globally and per device? And if I change a device to something longer, say 5m, do I need to change prometheus to not scrape more often than 5m for that one device? Or is it's scrape_interval only configurable for the entire exporter/job? Or am I entirely off in the woods....? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Scrape intervals are defined in Prometheus, not the exporter. The exporter collects when pulled. |
Beta Was this translation helpful? Give feedback.
Scrape intervals are defined in Prometheus, not the exporter. The exporter collects when pulled.