Re: [prometheus-users] Correlation between snmp scrape time and massive rate output for ifHCInOctets

2024-03-16 Thread Ben Kochie
On Sat, Mar 16, 2024 at 12:16 PM Nick Carlton wrote: > Thanks Ben, that makes sense. I suppose that was exasperated by the longer > scrape times at the time. > That shouldn't make much of a difference, unless the remote storage does something funny with the data. Prometheus tags timestamps at

Re: [prometheus-users] Correlation between snmp scrape time and massive rate output for ifHCInOctets

2024-03-16 Thread Nick Carlton
Thanks Ben, that makes sense. I suppose that was exasperated by the longer scrape times at the time. With the second option of using a caching http proxy. I’m running each Prometheus and the snmp exporter on the same box so a separate instance per Prometheus instance, so while it’s a great idea,

Re: [prometheus-users] Correlation between snmp scrape time and massive rate output for ifHCInOctets

2024-03-16 Thread Ben Kochie
You can also execute the query via the Prometheus compatible API. https://prometheus.io/docs/prometheus/latest/querying/api/#instant-queries The same can be done via the Grafana datasource API endpoint. > managed endpoint and then the other end supposedly deduplicates the metrics This is 99%

Re: [prometheus-users] Correlation between snmp scrape time and massive rate output for ifHCInOctets

2024-03-16 Thread Nick Carlton
Thanks both, I must be honest I never managed to get the generator to work with mib dependencies so have written my snmp.yml manually with other lookups etc so have never seen these values documented. Is there a best practice guide for their values when you are having certain issues or used in a

Re: [prometheus-users] Correlation between snmp scrape time and massive rate output for ifHCInOctets

2024-03-16 Thread Alexander Wilke
https://github.com/prometheus/snmp_exporter/tree/main/generator Alexander Wilke schrieb am Samstag, 16. März 2024 um 09:08:44 UTC+1: > Check File Format example. > > Time Out, retries, max-repetition. > > I use Repetition 50 or 100 with Cisco, retries 0 and Time Out 1s or 500ms > below

Re: [prometheus-users] Correlation between snmp scrape time and massive rate output for ifHCInOctets

2024-03-16 Thread Alexander Wilke
Check File Format example. Time Out, retries, max-repetition. I use Repetition 50 or 100 with Cisco, retries 0 and Time Out 1s or 500ms below Prometheus timeout Ben Kochie schrieb am Samstag, 16. März 2024 um 06:31:17 UTC+1: > This is very likely a problem with counter resets or some other