[prometheus-users] not able to find Pod name and Comtainer name as other metrics

2022-05-18 Thread Deeraj V
Hello, As I am using cadvisor endpoint in Prometheus config.ymal file I am unable to find *Pod name* and *Container* name as other metrics PromoQL: container_fs_usage_bytes{} Does anybody able to fetch Pod details like orther metrics. Query say, how much usage of container filesystem.

Re: [prometheus-users] Re: Different TSDB retention times

2022-05-18 Thread Ben Kochie
Yup, with Prometheus to Prometheus remote write, it's much better than federation. On Wed, May 18, 2022 at 4:51 PM Brian Candler wrote: > I'd say keep a different instance for long-term data. > > This could be another prometheus, which gets data from the first one, e.g. > using federation >

Re: [prometheus-users] Blacbox exporter soap check 500

2022-05-18 Thread saipradeep bojja
Hi any update on the above message On Friday, May 13, 2022 at 11:58:43 AM UTC+5:30 saipradeep bojja wrote: > Hi Christian, > > I have configured the magento module able to get the metrics for Soap > url's with status code 200. > But when when ever i get a response "200". There is also an error

Re: [prometheus-users] implement smtp connection with blackbox exporter

2022-05-18 Thread Brian Candler
On Wednesday, 18 May 2022 at 13:41:37 UTC+1 ninag...@gmail.com wrote: > static_configs: > - targets: > - 127.0.0.1 > relabel_configs: > - source_labels: [__address__] > target_label: __param_target > - source_labels:

[prometheus-users] Re: Different TSDB retention times

2022-05-18 Thread Brian Candler
I'd say keep a different instance for long-term data. This could be another prometheus, which gets data from the first one, e.g. using federation or remote write. Or it could be some completely different system

Re: [prometheus-users] implement smtp connection with blackbox exporter

2022-05-18 Thread nina guo
could you help to review if the following configuration is right? - job_name: smtp metrics_path: /probe params: module: [smtp_starttls] static_configs: - targets: - 127.0.0.1 relabel_configs: - source_labels:

Re: [prometheus-users] implement smtp connection with blackbox exporter

2022-05-18 Thread Matthias Rampke
It's really just TCP with some scripted interactions. Look at the steps in your configuration to see exactly what they are. /MR On Wed, May 18, 2022, 14:11 nina guo wrote: > > still have 2 questions: > - which module can be used to implement Nagios check_ldap_startTLS? > - Is there a way to

Re: [prometheus-users] implement smtp connection with blackbox exporter

2022-05-18 Thread nina guo
still have 2 questions: - which module can be used to implement Nagios check_ldap_startTLS? - Is there a way to know what does smtp_startTLS module exactly do? On Wednesday, May 18, 2022 at 7:55:28 PM UTC+8 nina guo wrote: > Is there a way to know what does smtp_startTLS module exactly do? > >

Re: [prometheus-users] implement smtp connection with blackbox exporter

2022-05-18 Thread nina guo
Is there a way to know what does smtp_startTLS module exactly do? On Wednesday, May 18, 2022 at 7:36:37 PM UTC+8 nina guo wrote: > Thank you very much. > > On Wednesday, May 18, 2022 at 7:18:17 PM UTC+8 matt...@prometheus.io > wrote: > >> Yes, that should work. If you have trouble, open(curl)

Re: [prometheus-users] implement smtp connection with blackbox exporter

2022-05-18 Thread nina guo
Thank you very much. On Wednesday, May 18, 2022 at 7:18:17 PM UTC+8 matt...@prometheus.io wrote: > Yes, that should work. If you have trouble, open(curl) the scrape URL but > add =true to see what happens. > > /MR > > On Wed, May 18, 2022, 12:34 nina guo wrote: > >> Hi, >> >> Can I use the

Re: [prometheus-users] implement smtp connection with blackbox exporter

2022-05-18 Thread Matthias Rampke
Yes, that should work. If you have trouble, open(curl) the scrape URL but add =true to see what happens. /MR On Wed, May 18, 2022, 12:34 nina guo wrote: > Hi, > > Can I use the following mode to implement Nagios check_smtp? > > smtp_starttls: > > prober: tcp > > timeout: 5s > > tcp: > >

[prometheus-users] implement smtp connection with blackbox exporter

2022-05-18 Thread nina guo
Hi, Can I use the following mode to implement Nagios check_smtp? smtp_starttls: prober: tcp timeout: 5s tcp: query_response: - expect: "^220 ([^ ]+) ESMTP (.+)$" - send: "EHLO prober\r" - expect: "^250-STARTTLS" - send: "STARTTLS\r" - expect: "^220" - starttls: true - send: "EHLO

[prometheus-users] Prometheus Local Storage Usage

2022-05-18 Thread nina guo
Hello everyone, 1. I'm running load testing: - case 1 - reboot Prometheus server before starting a new round test, then general memory usage is around 45%*32GB for 170 series. - case 2 - without rebooting, direct run the next round test, then memory usage is around 65%*32GB

[prometheus-users] Different TSDB retention times

2022-05-18 Thread Adrian Popa
Hello! I have a prometheus instance that keeps data for 60 days (--storage.tsdb.retention.time=1440h). This is fine for most metrics I keep, but I'd like to keep some metrics (things like temperatures for instance) for longer periods of time (1 year). Is there a way to do this efficiently? Do I