Prometheus poll interval to/from SNMP Exporter?

464 views
Skip to first unread message

Kevin Morales

unread,
Jul 29, 2021, 12:14:45 PM7/29/21
to Prometheus Users
Hi, I installed Prometheus + SNMP_Exporter and everything go well!,  the issue is  monitoring BGP Session Status. Prometheus take almost 2 minutes to update itself, and I check SNMP Exporter http://127.0.0.1:9116/snmp?target=192.168.1.100&module=bgp-monitor and it get fast the value of queries SNMP from remote device

bgpPeerState{bgpPeerRemoteAddr="192.168.1.100"} 6 

There is a way to configure Prometheus to poll interval to/from SNMP Exporter? 

I am using Ubuntu 18.0.4

Thanks!

Ben Kochie

unread,
Jul 29, 2021, 1:15:16 PM7/29/21
to Kevin Morales, Prometheus Users
What is your scrape_interval and scrape_timeout in the prometheus.yml?

What do you see for the `scrape_duration_seconds` metric?

--
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 prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/bd0266f0-c52b-451f-93ba-a8bc2bc8fd87n%40googlegroups.com.

Kevin Morales

unread,
Aug 9, 2021, 1:52:26 PM8/9/21
to Ben Kochie, Prometheus Users
Hi Ben, I have this configurations:

global:
  scrape_interval:     15s # By default, scrape targets every 15 seconds.
  evaluation_interval: 15s # By default, scrape targets every 15 seconds.
  # scrape_timeout is set to the global default (10s).

  - job_name: 'ROUTERS'
    scrape_interval: 5s
    scrape_timeout: 5s


--
Kevin Morales
Reply all
Reply to author
Forward
0 new messages