[prometheus-users] Re: Basic webhook for alertmanager/prometheus

2020-03-27 Thread Danny de Waard
I have a webhook service in place that works. And i can send variables to a script. But how do i get AlertManager (prometheus) to send something to that wqwebhook based on a rule. Op vrijdag 27 maart 2020 08:32:06 UTC+1 schreef Brian Candler: > > The format of the webhook JSON body is fixed.

[prometheus-users] Re: Basic webhook for alertmanager/prometheus

2020-03-27 Thread Brian Candler
To control which receivers get which alerts, you need to configure "routes ". You haven't shown that part of your configuration. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To

[prometheus-users] Basic webhook for alertmanager/prometheus

2020-03-27 Thread Danny de Waard
As a complete noob i want to know how i can simply introdcue a webhook config for prometheus/alertmanager. For certain alerts i want to send a webhook with 3 parameters to a server. How do i implement this in prometheus/alertmanager. I allready have some recievers in place receivers: -

[prometheus-users] Re: Basic webhook for alertmanager/prometheus

2020-03-27 Thread Brian Candler
The format of the webhook JSON body is fixed. You can write a small proxy which receives this JSON as input, and sends whatever you like to the downstream server. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this

Re: [prometheus-users] Re: Data retention policy

2020-03-27 Thread REMI DRUILHE
Hi, Thanks for the answer. Just to add some context to what I want to do. We are trying to make our application (Prometheus being a part of it) compliant with GDPR. The default period for our data retention is 10 days but can be set by the user to 1h minimum. If the data are not deleted after

Re: [prometheus-users] Re: Data retention policy

2020-03-27 Thread Stuart Clark
On 27/03/2020 13:55, REMI DRUILHE wrote: Hi, Thanks for the answer. Just to add some context to what I want to do. We are trying to make our application (Prometheus being a part of it) compliant with GDPR. The default period for our data retention is 10 days but can be set by the user to 1h

Re: [prometheus-users] Prometheus Usage

2020-03-27 Thread Madhu Kuriti
Ben, thanks for the prompt response, super helpful. I will add clarification to your question as soon as I have it. On Friday, March 27, 2020 at 1:44:23 PM UTC-4, Ben Kochie wrote: > > > > On Fri, Mar 27, 2020, 18:35 Madhu Kuriti > > wrote: > >> Hi, >> I have a few questions related to the

Re: [prometheus-users] Prometheus - how to get systemd service level open/max fds limits?

2020-03-27 Thread Christian Hoffmann
Hi, On 3/27/20 5:30 PM, rs vas wrote: > Thanks Brian for the input! Yes, tried systemd collector but did not see > the limits exposed through that collector. Pretty sure the ncabatoff's process_exporter exposes such metrics: https://github.com/ncabatoff/process-exporter/ However, there is no

[prometheus-users] Postman Exporter

2020-03-27 Thread Sebastian Ebling
Hi, I created an exporter that runs Postman collections and returns metrics on those runs. You can find the project here: https://github.com/hudeldudel/postman-exporter I would appreciate feedback. The included example is very simple and could also have been done with the blackbox exporter.

[prometheus-users] Node Exporter & Systemd

2020-03-27 Thread Jonathan Sloan
Hello,q I seem to be having some troubling getting NE to ignore a few devices 'sr0/sda[1-3]. I've tried multiple things to try and get this work, exact for manually telling it to ignore sr0|sda1|sda2|sda3 etc. When using the below command. node_exporter --web.listen-address=0.0.0.0:9100

Re: [prometheus-users] Re: Data retention policy

2020-03-27 Thread Ben Kochie
Yes, this is the general guideline. User identifiable data should not be in Prometheus. Mostly because it tends to be a cardinality problem. On Fri, Mar 27, 2020, 14:58 Stuart Clark wrote: > On 27/03/2020 13:55, REMI DRUILHE wrote: > > Hi, > > Thanks for the answer. > > Just to add some context

Re: [prometheus-users] Prometheus Usage

2020-03-27 Thread Ben Kochie
On Fri, Mar 27, 2020, 18:35 Madhu Kuriti wrote: > Hi, > I have a few questions related to the practical use of this > >- Process mapping, where are the shortcuts to adding new monitors? > > I'm not sure what you mean for this. >- How can we have multiple people working on this? > > I

Re: [prometheus-users] Prometheus - how to get systemd service level open/max fds limits?

2020-03-27 Thread rs vas
I was thinking one way could be use the textfile collector and expose those metrics through node exporter? Not sure before going through that route if there is anything Promethes exporters offer out-of-the-box? On Thu, Mar 26, 2020 at 5:47 PM rs vas wrote: > Hello, I see node exporter exposed

Re: [prometheus-users] Prometheus - how to get systemd service level open/max fds limits?

2020-03-27 Thread Brian Candler
https://github.com/prometheus/node_exporter#disabled-by-default There is a systemd collector (disabled by default) which "Exposes service and system status from systemd" - but it doesn't appear to have metrics for the cgroup limits. You can either extend it in go, or use textfile_collector as

Re: [prometheus-users] Prometheus - how to get systemd service level open/max fds limits?

2020-03-27 Thread rs vas
Thanks Brian for the input! Yes, tried systemd collector but did not see the limits exposed through that collector. For now quick way to do this is through text collector through Node exporter. Please share if anyone has any ideas Thanks again! On Fri, Mar 27, 2020 at 9:22 AM Brian Candler