[prometheus-users] Maximum targets for exporter

2024-01-11 Thread 'Elliott Balsley' via Prometheus Users
I'm curious if anyone has experimented to find out how many targets can reasonably be scraped by a single instance of blackbox and snmp exporters. I know Prometheus itself can handle tens of thousands of targets, but I'm wondering at what point it becomes necessary to split up the scraping. I'll

Re: [prometheus-users] Re: Prom Mailing list: Why "lint error 1 duplicate rule(s) found."?

2024-01-11 Thread 'Jason' via Prometheus Users
On 11.01.2024 09:04, 'Brian Candler' via Prometheus Users wrote: Those expressions are different. I suspect you have two alerts with the same name. Try "grep alert: xxx-winserver-rules.yml" Thanks. That was it. cheers Jason -- You received this message because you are subscribed to the

[prometheus-users] Re: snmp_exporter 0.25.0 - IF-MIB and CISCO-IF-EXTENSION-MIB

2024-01-11 Thread 'Brian Candler' via Prometheus Users
On Thursday 11 January 2024 at 11:27:15 UTC Alexander Wilke wrote: thank you for that snippet. I could use it to solve my issue: (sysUpTime - on (instance) group_right () ifLastChange) / 100 However I need to find some time and try to better understand how these operations work. Sure. In

[prometheus-users] Re: snmp_exporter 0.25.0 - IF-MIB and CISCO-IF-EXTENSION-MIB

2024-01-11 Thread Alexander Wilke
Hello Brian, thank you for that snippet. I could use it to solve my issue: (sysUpTime - on (instance) group_right () ifLastChange) / 100 However I need to find some time and try to better understand how these operations work. PS: Is there some sort of script builder for promQL ? Brian Candler

[prometheus-users] Re: smokeping_prober - $(target:raw) - help with ":raw" and how to use multiple targets

2024-01-11 Thread Alexander Wilke
Hello, thank you for clarification. I though this :raw was something specific with histograms/buckets/heatmaps. In the past I tried adding the "=~" instead of "=" but did not work. tried again today and it was a combination of things to change I did not before. I changed it like this and it

Re: [prometheus-users] Prometheus exporters in Grafana Agent

2024-01-11 Thread Ben Kochie
The Grafana agent isn't really meant for complex/large setups. If you have a large/dynamic target list you're probably better off just running normal Prometheus and exporters. On Thu, Jan 11, 2024 at 10:09 AM 'Elliott Balsley' via Prometheus Users < prometheus-users@googlegroups.com> wrote: > I

[prometheus-users] Prometheus exporters in Grafana Agent

2024-01-11 Thread 'Elliott Balsley' via Prometheus Users
I noticed Grafana Agent flow mode has many of the popular Prometheus exporters built in. https://grafana.com/docs/agent/latest/flow/reference/components/prometheus.exporter.snmp/ Unfortunately, these blocks require that you hard code the list of targets in the config.river file, so there is no

[prometheus-users] Re: smokeping_prober - $(target:raw) - help with ":raw" and how to use multiple targets

2024-01-11 Thread 'Brian Candler' via Prometheus Users
This is a question about Grafana and/or the smokeping_exporter Grafana dashboard, not Prometheus. ${target:raw} is a Grafana variable expansion, and the :raw suffix is a format specifier: https://grafana.com/docs/grafana/latest/dashboards/variables/variable-syntax/#variable-syntax

[prometheus-users] Re: Prom Mailing list: Why "lint error 1 duplicate rule(s) found."?

2024-01-11 Thread 'Brian Candler' via Prometheus Users
Those expressions are different. I suspect you have two alerts with the same name. Try "grep alert: xxx-winserver-rules.yml" On Thursday 11 January 2024 at 04:36:59 UTC Jason wrote: > Hi > > Happy 2024 to all > > I get this error with "promtool check config" > > > Checking