Re: [prometheus-users] Re: SNMP exporter

2020-05-13 Thread Ben Kochie
You don't need the Prometheus server inside the network that has SNMP devices, only the snmp_exporter. One simple deployment option would be to put the snmp_exporter behind the firewall with PushProx. https://github.com/RobustPerception/PushProx On Thu, May 14, 2020 at 7:43 AM Brian Candler wro

[prometheus-users] Re: SNMP exporter

2020-05-13 Thread Brian Candler
Traps are logs (events), not metrics (counters/gauges). snmp_exporter don't handle SNMP traps: https://github.com/prometheus/snmp_exporter/issues/69 You could write a custom exporter which counts SNMP traps, or you could use a trap receiver which writes logs, and a tool like mtail or grok_expo

[prometheus-users] Compaction not running

2020-05-13 Thread Kevin Black
I have a prometheus 2.16.0 instance that does not seem to even try to compact blocks anymore. It's been running fine for some time, has free cpu/memory/disk (both space and inodes), but new blocks arent' created. I see a .tmp is created in our data directories, but a few minutes later it goes

[prometheus-users] Re: SNMP exporter

2020-05-13 Thread Bruce
Well can u help with some steps to configure snmp Traps on prometheus ? All the services are enabled and authorised from my devices (internal network) to Prometheus (externel) !! ( One direction only) What shall i do to monitor my devices without allowing services from Prometheus to Devices !!?

Re: [prometheus-users] "Sectigo AddTrust External CA Root" and the "probe_ssl_earliest_cert_expiry"

2020-05-13 Thread Julian van den Berkmortel
I've tried removing the expiring certificate from the trust store ("/etc/ca-certificates.conf" and "update-ca-certificates") and I thought it yielded the wanted results but... I checked one of the domains which before had the expiry date of May 30th and this one worked, it gave back the proper d

Re: [prometheus-users] Is it okay to post a Prometheus user survey here?

2020-05-13 Thread 'Tom Lee' via Prometheus Users
Understood Julius, appreciate the transparency. Thank you! On Wed, May 13, 2020 at 12:37 PM Julius Volz wrote: > Hi Tom, > > Thanks for checking in first! We're currently discussing within the > Prometheus Team how we would prefer to handle such requests in general (so > that things remain fair

Re: [prometheus-users] Is it okay to post a Prometheus user survey here?

2020-05-13 Thread Julius Volz
Hi Tom, Thanks for checking in first! We're currently discussing within the Prometheus Team how we would prefer to handle such requests in general (so that things remain fair between companies, etc.) and will get back to you as soon. Regards, Julius On Wed, May 13, 2020 at 7:21 PM 'Tom Lee' via

[prometheus-users] Prometheus with Flexera licensing

2020-05-13 Thread Ketan Talreja
Hi All, Hope everyone is doing ok! Does anyone integrated Flexera licensing manager with Prometheus? I am looking for information on this topic but haven't found anything useful yet, however, found an flexlm_exporter

[prometheus-users] Re: Testing Snmp

2020-05-13 Thread ncs
I am investigating snmp connectivity for a different setup. Would it be helpful to run a netcat call on port 161 tell us if snmp is working? https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol On Wednesday, May 13, 2020 at 6:00:20 AM UTC-7, Bruce wrote: > > I Have my prometheus

[prometheus-users] Is it okay to post a Prometheus user survey here?

2020-05-13 Thread 'Tom Lee' via Prometheus Users
Hi folks, Full disclosure: I'm an engineer from New Relic (https://newrelic.com/). We've been looking into improving our open source monitoring story and Prometheus is a key piece of that. Right now, though, there are some pieces of the puzzle that we can't easily dig into without more input fr

[prometheus-users] Advice on recording rule "interval" when working around subquery range limitation

2020-05-13 Thread franck102
Hi all, I am trying to record hourly increases over a metric obtained using a subquery to merge cAdvisor metrics with kube-pol-labels metric from kube-state-metric: container_cpu_usage_seconds_total > >

[prometheus-users] Re: Prometheus auto-discovery can't get NodeJS active services on K8s

2020-05-13 Thread Nathaniel Cohen
I Forgot to mention that I have installed Prometheus with the helm chart and the following command: helm install prometheus \ --namespace=monitoring \ --set server.ingress.hosts={my.address.com} \ --set server.ingress.tls[0].hosts[0]=my.address.com \ --set server.ingress.tls[0].secretName

[prometheus-users] Prometheus auto-discovery can't get NodeJS active services on K8s

2020-05-13 Thread Nathaniel Cohen
I have set up Prometheus in my Kubernetes Google Cluster and it collects many services but not the NodeJS micro-service I have created. The NodeJS service is detected by Prometheus because I can see it in the status -> Service Discovery but it is not an active target. [image: Screenshot 2020-05

Re: [prometheus-users] Re: I want to monitor ssl cert expiry of my urls using ssl exporter.Need help

2020-05-13 Thread Murali Krishna Kanagala
Okay. Try changing the query as i suggested above. On Wed, May 13, 2020 at 8:45 AM Pooja Chauhan wrote: > I have imported the grafana dashboard for blackbox exporter > here(dashboard no-7587) https://grafana.com/grafana/dashboards/7587 > > On Wednesday, May 13, 2020 at 6:58:21 PM UTC+5:30, Mur

Re: [prometheus-users] Re: I want to monitor ssl cert expiry of my urls using ssl exporter.Need help

2020-05-13 Thread Pooja Chauhan
I have imported the grafana dashboard for blackbox exporter here(dashboard no-7587) https://grafana.com/grafana/dashboards/7587 On Wednesday, May 13, 2020 at 6:58:21 PM UTC+5:30, Murali Krishna Kanagala wrote: > > What Dashboard are you using? Do you have a link from Grafana website? > If yo

Re: [prometheus-users] Re: I want to monitor ssl cert expiry of my urls using ssl exporter.Need help

2020-05-13 Thread Murali Krishna Kanagala
What Dashboard are you using? Do you have a link from Grafana website? If you use the metric *probe_ssl_earliest_cert_expiry *you should multiply it with 1000 and use -MM-DD HH:mm:ss (on any date specific unit) unit. This will give absolute date when the cert expires. If you want to get how muc

Re: [prometheus-users] Ready access log from Prometheus

2020-05-13 Thread Arthi Subburaman
Hi , I’m looking to read tomcat access log which has response code. Right now the jmx exporter provides only the error count. Is there anyway I can get tomcat response code ? -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe f

[prometheus-users] Testing Snmp

2020-05-13 Thread Bruce
I Have my prometheus server running on external (on OVH ) with a public ip address ! I'am not using VPN because using some rules on my Firewall all my hosts ( target devices) on my internal network are able to see my prometheus server ! The problem that i tried snmp exporter i got that error : C

[prometheus-users] node_exporter not able to discover expected filesystem devices

2020-05-13 Thread Sohaib Omar
Hi all, node_exporter is not able to return *filesystem_bytes *except devices that are mounted on "*/" *below are the filesystem devices on my *azure *instance. Filesystem Type 1K-blocksUsed Available Use% Mounted on udev devtmpfs 8167128 0 8167128

[prometheus-users] Re: controlling the instance label in Prometheus

2020-05-13 Thread Brian Candler
If you don't want to show the IP address or port, then the recommended approach is to use meaningful instance labels: https://www.robustperception.io/controlling-the-instance-label https://groups.google.com/d/topic/prometheus-users/_g7lhgML67U/discussion -- You received this message because you

[prometheus-users] Re: Say no to yaml

2020-05-13 Thread Brian Candler
YAML is a superset of JSON, so you should be able to write your config in JSON if you prefer. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use

[prometheus-users] Re: Say no to yaml

2020-05-13 Thread Mario
On Wednesday, 13 May 2020 12:04:19 UTC+2, monika samal wrote: > > Is there any way of configuring target and metrics to scrape data without > yaml file... If you use the File-based service discovery y

Re: [prometheus-users] Say no to yaml

2020-05-13 Thread Stuart Clark
On 2020-05-13 11:04, monika samal wrote: Is there any way of configuring target and metrics to scrape data without yaml file... There are tools which will generate the configuration file for you, but ultimately the YAML configuration file needs to be created for Prometheus to work. -- Stuar

[prometheus-users] Say no to yaml

2020-05-13 Thread monika samal
Is there any way of configuring target and metrics to scrape data without yaml file... -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsu

[prometheus-users] controlling the instance label in Prometheus

2020-05-13 Thread Pravin S
Hello, Prometheus alertmanager currently depict the following information on alertmanager dashboard when alert get fired. Is there any way to inhibit publishing of the "instance" field as it showing the IP address along with port ? AlertManager Dashboard: ===

Re: [prometheus-users] Re: I want to monitor ssl cert expiry of my urls using ssl exporter.Need help

2020-05-13 Thread Pooja Chauhan
The other one where it is not working is here On Wednesday, May 13, 2020 at 3:04:09 PM UTC+5:30, Pooja Chauhan wrote: > > I update grafana to 6.7.3 after discussing here then also it is the same > issue. Both my panel is configured same way only then I don't know what is > the issue . I have i

Re: [prometheus-users] Re: I want to monitor ssl cert expiry of my urls using ssl exporter.Need help

2020-05-13 Thread Pooja Chauhan
I update grafana to 6.7.3 after discussing here then also it is the same issue. Both my panel is configured same way only then I don't know what is the issue . I have imported the grafana dashboard for blackbox exporter here(dashboard no-7587) the query is same for both panels. On Wednesday, M

Re: [prometheus-users] Recording rule displaying different results than ad-hoc querying

2020-05-13 Thread Marcin Chmiel
We're facing what I believe is the exact same issue, on v2.16.0. Although we also have some intermittent failures with kube-state-metrics which generates data for this query. I reckon the recording rule should either be empty (due to time skew) or showing the same value. But not having such a d

Re: [prometheus-users] Re: I want to monitor ssl cert expiry of my urls using ssl exporter.Need help

2020-05-13 Thread Julius Volz
It seems your issue is not with the Blackbox Exporter, but with getting a Grafana panel correctly configured then. Or as your comment "BTW i am using grafana 6.7.2 and 6.7.3 , for 6.7.3 it works and for 6.7.2 it does not" suggests, it might be a problem with the specific Grafana version, who knows.

Re: [prometheus-users] Number of timeseries stored in DB?

2020-05-13 Thread Julius Volz
There's currently no way of retrieving this unfortunately. Just thinking about this, doing this would entail retrieving all series identities from all blocks, and then adding them to a deduped set (some series might be unique to a block, others might be long-lived and span all blocks), before count

[prometheus-users] Re: I want to monitor ssl cert expiry of my urls using ssl exporter.Need help

2020-05-13 Thread Pooja Chauhan
Hi I already tried through blackbox exporter but grafana panel does not show the correct information of ssl expiry related data.So checking other alternatives here .I have already asked about that in this group : https://groups.google.com/forum/#!topic/prometheus-users/LA0X83H24Fg check my p

Re: [prometheus-users] I want to monitor ssl cert expiry of my urls using ssl exporter.Need help

2020-05-13 Thread Julius Volz
Hi, Take a look at https://www.robustperception.io/get-alerted-before-your-ssl-certificates-expire - basically, set up the Blackbox Exporter ( https://github.com/prometheus/blackbox_exporter) to probe your URLs and then use the "probe_ssl_earliest_cert_expiry" metric to build an alert for when cer

Re: [prometheus-users] Ready access log from Prometheus

2020-05-13 Thread Julius Volz
Could you clarify your question? Do you mean to ask whether there is a way to make Prometheus log every query or access to its web API / UI? If so, Prometheus currently does not have a way of doing this - it records metrics about HTTP requests, but no full logs. On Wed, May 13, 2020 at 6:29 AM Art

[prometheus-users] I want to monitor ssl cert expiry of my urls using ssl exporter.Need help

2020-05-13 Thread Pooja Chauhan
Hi , Need help in monitoring ssl cert of urls.I was exploring ssl exporter but could not get much info on how to download and use it.Please suggest. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop rec

Re: [prometheus-users] HTTP status 200

2020-05-13 Thread Julius Volz
Yes, have a look at the Blackbox Exporter ( https://github.com/prometheus/blackbox_exporter), which is meant for that purpose. This blog post has a short tutorial on HTTP-200 checking: https://www.robustperception.io/checking-for-http-200s-with-the-blackbox-exporter (note the blog post is a bit dat

[prometheus-users] HTTP status 200

2020-05-13 Thread monika samal
I want to monitor if if my application is up and running on a server. I have an endpoint for health check which returns HTTP status 200 when my app is up and running. Is there any way I can monitor if my application is up or not using Prometheus? -- You received this message because you are su

Re: [prometheus-users] How to override Alert?

2020-05-13 Thread Jonas Kongslund
I haven't tried using it yet but Labyrinth Labs has made a preprocessor that makes it possible to override alerts. See https://www.lablabs.io/2020/04/19/how-we-solved-our-need-to-override-prometheus-alerts/ On Saturday, 2 May 2020 14:49:13 UTC+4, Julius Volz wrote: > > Alert names don't have to

[prometheus-users] Re: curl http200,blackbox 400 why

2020-05-13 Thread Brian Candler
That doesn't match what you curl command does. I didn't spot this before, but you have 'body' at the wrong level too. This means: headers: key: abc data: 123 Content-Type: application/json;charset=UTF-8 body: '{}' gives four different headers, and no body.