[prometheus-users] Re: Saving alerts generated in a database for further procesing like offline querying and ML

2020-04-01 Thread Adarsh Kumar Pandey
Thanks for the hint I will try that but I'm not much of a coder so I will have to learn to do that ..meanwhile if you could make my life easier by pointing me to the right direction I will be humbled by that. Rgards, Adarsh On Thursday, 2 April 2020 08:48:02 UTC+5:30, Adarsh Kumar Pandey

[prometheus-users] Re: Saving alerts generated in a database for further procesing like offline querying and ML

2020-04-01 Thread Matt Palmer
On Wed, Apr 01, 2020 at 08:18:02PM -0700, Adarsh Kumar Pandey wrote: > I wanted to store the alerts generated by prometheus into a separate > database and I know that alertsnitch provides this feature but what if I > want to use another database then how to do that? > Does prometheus logs the

[prometheus-users] Saving alerts generated in a database for further procesing like offline querying and ML

2020-04-01 Thread Adarsh Kumar Pandey
I wanted to store the alerts generated by prometheus into a separate database and I know that alertsnitch provides this feature but what if I want to use another database then how to do that? Does prometheus logs the alerts firing internally and how to access that any idea? Thanks and much

[prometheus-users] Re: Intergrating Fortigate SNMP with promethes

2020-04-01 Thread Andrew Meyer
You need a new scrape job for each device type. However I am also struggling with the same issue. I am trying to figure out if I should add fortinet or fortigate to the generate.yml On Thursday, January 30, 2020 at 1:54:22 PM UTC-6, Elvin cbl wrote: > > Hi Team , > > I tried to intergrate

Re: [prometheus-users] Federation for cloudwatch_exporter - best practice?

2020-04-01 Thread Albert Serrallé
That's how is usually done in my company (and I suspect that's very prevalent but *wrong* in the end, if I understand that link correctly). In my company, at team level we have a lot of metrics scraped into a single prometheus. Then, at company level we just "replicate" everything with the

[prometheus-users] Re: Federation for cloudwatch_exporter - best practice?

2020-04-01 Thread Albert Serrallé
For the records, it looks like there's a third option: - honor_timestamps -> false (fake ilusion of real time metric) On Wednesday, 1 April 2020 21:11:29 UTC+2, Albert Serrallé wrote: > > Hello, > > I'm trying to figure out how to federate my cloudwatch_exporter metrics. > > The default

[prometheus-users] Federation for cloudwatch_exporter - best practice?

2020-04-01 Thread Albert Serrallé
Hello, I'm trying to figure out how to federate my cloudwatch_exporter metrics. The default metrics are 10m old, I understand that this is needed because cloudwatch consolidate metrics over time. My prometheus is scraping the exporter and saving the values with the original timestamp.

[prometheus-users] Blackbox exporter does not available on network

2020-04-01 Thread Gergely Fehérvári
Hi, I started my blackbox exporter on a MacOs computer, and it is not available from other devices through the network. When I start the blackbox exporter process, it does not ask for port listen permission tho. What do I need to do, to access the exporter from different devices? Here is more

Re: [prometheus-users] Getting status of services in CentOS 6.

2020-04-01 Thread Yagyansh S. Kumar
Alas, only if migration from CentOS 6 to 7 was in my hand :P. But thanks for the suggestion, will give process exporter a try. On Wednesday, April 1, 2020 at 2:50:39 AM UTC+5:30, Christian Hoffmann wrote: > > Hi, > > On 3/31/20 12:22 PM, Yagyansh S. Kumar wrote: > > Hi. We have systemd

[prometheus-users] Re: Getting status of services in CentOS 6.

2020-04-01 Thread Yagyansh S. Kumar
Hi Joey, As far as I know, if you have created a service file(in /etc/systemd/system/) for your custom service, you don't need to whitelist it separately, node_exporter's systemd collector itself will scrape the metrics for your custom service. On Wednesday, April 1, 2020 at 3:37:51 AM

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

2020-04-01 Thread REMI DRUILHE
No problem :) At least it is pretty clear for me now. I will discuss with my DPO again to have its point of view on this. Maybe I am over-reacting about those data. Anyway, thanks for the help and the talk. It has been very interesting. Le mercredi 1 avril 2020 11:12:01 UTC+2, Stuart Clark a

[prometheus-users] Re: Can Prometheus be configured for multiple Kubernetes clusters?

2020-04-01 Thread Surbhi
hello Nayab Zehra, Can i know if you found any alternative solution to your problem. I m facing the same issues. It would be very helpful if i get some guidance from you regarding this issue. On Wednesday, December 20, 2017 at 7:23:54 PM UTC+5:30, nayab zehra wrote: > > I am trying to

[prometheus-users] Problems with starting JMX exporter

2020-04-01 Thread Asulan Kenzhebekov
Hello guys! i hava a ZooKeeper and Kafka cluster. So i have script to run the ZooKeeper instance, and i add the following line as EXTRA_ARGS EXTRA_ARGS=${EXTRA_ARGS-'-name kafkaServer -loggc "-javaagent:/opt/jmx-exporter/jmx-exporter.jar=7071:/etc/jmx-exporter/zookeeper.yml"'} and when i

[prometheus-users] Re: Too many scrape configs on prometheus config file

2020-04-01 Thread Ishvar B
Hi Brain, Thanks for you reply. I was able to figure out yesterday. Is there a way to give basic auth details in the yaml file. I have been trying to add basic auth and prometheus is not picking them up. sample config. - targets: ['**.**.**'] scheme: "https" basic_auth: username:

[prometheus-users] Re: Monitor number of seconds since metric change as prometheus time series

2020-04-01 Thread Weston Greene
In the stackoverflow post about this same topic, I was encouraged to reduce my evaluation frequency since `last-update` was likely going stale by the default TTL (Time To Live) of 5 minutes. Now I can't get passed the `vector contains metrics with the same labelset after applying rule labels`.

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

2020-04-01 Thread Stuart Clark
On 2020-04-01 09:58, REMI DRUILHE wrote: You are right, most of the time this kind de-anonymisation is extreme. And right again when you say that there is no personal data stored in Prometheus. I am also not a lawyer but I know from my DPO that the national data protection authority (NDPA)

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

2020-04-01 Thread REMI DRUILHE
You are right, most of the time this kind de-anonymisation is extreme. And right again when you say that there is no personal data stored in Prometheus. I am also not a lawyer but I know from my DPO that the national data protection authority (NDPA) might be very very very meticulous,

Re: [prometheus-users] how can I monitor custom systemd services?

2020-04-01 Thread Christian Hoffmann
Hi, you need to change your pattern: _* matches zero or more underscores. What you want instead is _.+ which matches an underscore followed by one or more arbitrary characters. The pattern is a regular expression, not a glob. Kind regards, Christian Am March 31, 2020 10:04:22 PM UTC schrieb

[prometheus-users] Re: Prometheus Operator and auto discovery of AlertManagers

2020-04-01 Thread Richard Moe
Answering my own mail:) Autodiscovery of AlertManagers is not supported in the Prom custom resource. It requires a custom configuration. https://github.com/coreos/prometheus-operator/blob/master/Documentation/custom-configuration.md On Tuesday, March 31, 2020 at 3:54:10 PM UTC+2, Richard Moe

Re: [prometheus-users] SNMP_GENERATOR

2020-04-01 Thread sayf eddine Hammemi
Oh ! did you build the project? make sure to cd to the folder containing the binary or add it to you $PATH On Tue, Mar 31, 2020 at 7:45 PM yesmine kessentini < yesminekessentin...@gmail.com> wrote: > but when writing this command : which generator > the response is : > /usr/bin/which: no