Re: [prometheus-users] blackbox_exporter tcp probe resolves names via TCP protocol

2022-08-24 Thread terrible person
Thank you, actually I found out about this behaviour just after I posted here. Strangely, I don't see tcp connections with either nslookup of dig, though response is about 860 bytes, but UDP outgoing traffic is present. When I probe with blackbox there is also tcp. How blackbox performs such

Re: [prometheus-users] blackbox_exporter tcp probe resolves names via TCP protocol

2022-08-24 Thread Ben Kochie
DNS lookups will switch to TCP if the response is larger than can fit in a single packet. But that should happen immediately. On Thu, Aug 25, 2022 at 5:56 AM terrible person wrote: > Hi. I'm currently debugging DNS Lookup warnings (more that 3 sec) and need > to figure out whether our

[prometheus-users] Re: Historical Data

2022-08-24 Thread Adso Castro
Oh, another person of culture I see. Nice to see a fellow VM user :) We're running the cluster version of VM too, 6 month retention by the way. This is a PoC we're running to understand if we can put those historical series to some use. Thanks Brian! Em quarta-feira, 24 de agosto de 2022 às

[prometheus-users] How to configure Prometheus to have an integration with blackbox running on https

2022-08-24 Thread Santanu Mishra
Hi Team, I have a blackbox container running as "https://blackbox-dev.xyz.com/; in a OpenShift cluster. I have Prometheus running as separate container "https://prometheus-dev.xyz.com/graph;. I am unable to connect Prometheus with Blackbox using below config in prometheus.yml. I am

[prometheus-users] Re: Historical Data

2022-08-24 Thread Brian Candler
Is it possible? Yes. There are many remote_write integrations available, see https://prometheus.io/docs/operating/integrations/#remote-endpoints-and-storage Is it a waste of time? Only you can answer that. It depends what you want to use it for, and what value you get out of it. I use

[prometheus-users] Re: Query on Inhibit rules

2022-08-24 Thread Brian Candler
You'll need to set some common labels - and if they are target labels, make sure they propagate through to the alert (i.e. don't write your alerting 'expr' in such a way that it aggregates these labels away). For example: your gateway and all the servers in a particular site can have

[prometheus-users] Historical Data

2022-08-24 Thread Adso Castro
Hey, What's your opinion about sending Prometheus metrics to a Data Lake or something? My team has a PoC about it and I'm trying to find a way if this is possible or a pure waste of time. The goal is to serve historical data to other teams, basically. By the way, I'm not talking about a

[prometheus-users] 502 error when alertmanager tries to trigger webhook

2022-08-24 Thread Hritik Sarkar
I used https://github.com/adnanh/webhook to create webhook receiver. I can trigger the endpoints manually from terminal or through browser and it works alright as expected. But alertmanager webhook can not trigger the endpoint when alert is firing and throws the following error -

[prometheus-users] Kafka Connect JMX Exporter Problem

2022-08-24 Thread Gunay Maharramli
Hi, I used jmx exporter for Kafka connect on kubernetes, but I got metrics with some break. I got metrics for 30 seconds and it doesn't show any data for 1 minute and starts to show data for 1 minutes again continuously. How can I solve this problem? -- You received this message because you

[prometheus-users] Query on Inhibit Rules

2022-08-24 Thread Sandosh Kumar P
Hi, We are using blackbox exporter on a remote location to monitor gateway routers, hypervisors and virtual machines (router —> hypervisor —> virtual machines). We are looking for something like below. *Example 1:* If a gateway router is down and alertmanager is firing, it should stop

[prometheus-users] Query on Inhibit rules

2022-08-24 Thread Sandosh Kumar P
We are using blackbox exporter on a remote location to monitor gateway routers, hypervisors and virtual machines (router —> hypervisor —> virtual machines). We are looking for something like below. *Example 1:* If a gateway router is down and alertmanager is firing, it should stop alerting

Re: [prometheus-users] Re: up query

2022-08-24 Thread BHARATH KUMAR
I saw some blog in google as below: If you want to count the time spent in down state, this becomes more complicated because you have to detect the switch from 1 to 0 which count for 1min and the subsequent down state until the first switch back from 0 to 1. It could be something along the