[prometheus-users] Re: Node Exporter service error (203/EXEC)

2022-06-07 Thread Brian Candler
203 return code from systemd means it cannot run the program that you put in your ExecStart line. First hit from Google explains it: https://unix.stackexchange.com/questions/472950/systemd-status-203-exec-error-when-creating-new-service Maybe that file doesn't exist, or is not executable. For

[prometheus-users] Re: How to monitor authenticated API endpoint using Blackbox exporter and Prometheus

2022-06-07 Thread Brian Candler
What you've put in prometheus.yml under 'targets' is wrong. Blackbox_exporter does not run external programs such as curl. The target should be a URL, not a command line. I suggest you forget about prometheus.yml to start with, and get blackbox_exporter running by itself - and you can hit

[prometheus-users] Re: How to monitor authenticated API endpoint using Blackbox exporter and Prometheus

2022-06-07 Thread Brian Candler
What you've put in prometheus.yml under 'targets' is wrong. Blackbox_exporter does not run external programs such as curl. The target should be a URL, not a command line. I suggest you forget about prometheus.yml to start with, and get blackbox_exporter running by itself - and you can hit

Re: [prometheus-users] Re: blackbox monitoring for webpages requiring user auth

2022-06-07 Thread Brian Candler
On Tuesday, 7 June 2022 at 14:27:27 UTC+1 santanum...@gmail.com wrote: > Does blackbox exporter support monitoring authenticated APIs. > That depends what sort of authentication the API requires. Blackbox exporter supports HTTP Basic Auth, Bearer Token, TLS Certificate, and limited oauth2

[prometheus-users] Node Exporter service error (203/EXEC)

2022-06-07 Thread BHARATH KUMAR
Hi all, I want to install node_exporter binary file in ubuntu os. I am running as a service file. But I am getting error when running the command systemctl status node_exporter: Active: failed (Result: exit-code) node_exporter.service: Main process exited, code=exited, status=203/EXEC What

Re: [prometheus-users] Does Prometheus support Netapp Trident NFS storage backend?

2022-06-07 Thread tejaswini vadlamudi
Ben and Stuart, any comments? On Thursday, June 2, 2022 at 1:53:49 PM UTC+2 tejaswini vadlamudi wrote: > I'm not on top of performance degradation issues with the NFS storage > type. But by reading more on this topic, I understand the reasoning behind > your suggestion. > > NFS version 4

[prometheus-users] Getting Issue after blackbox exporter add in prometheus

2022-06-07 Thread Manu Mittal
hi All , I have deployed grafana and prometheus in k8s cluster and created a Pod of blackbox exporter to monitor the http targets . But currently looks like after all configuration my targets in prometheus gui is showing unknown . Please support i am stuck in the issue ... Regards, Manu

Re: [prometheus-users] Re: blackbox monitoring for webpages requiring user auth

2022-06-07 Thread Santanu Mishra
Hi Brian, Does blackbox exporter support monitoring authenticated APIs. If it does then how to make it work. Thanks! On Thursday, August 24, 2017 at 12:16:35 AM UTC-7 Brian Brazil wrote: > On 24 August 2017 at 00:37, nsmeds wrote: > >> Any updates on this? It'd be much appreciated <3 >>

Re: [prometheus-users] relabel_configs

2022-06-07 Thread David Friedman
Yes "metric_relabel_configs" worked for me thanks for all the help!!! On Tuesday, June 7, 2022 at 1:30:51 PM UTC+3 Brian Candler wrote: > On Tuesday, 7 June 2022 at 09:55:33 UTC+1 sup...@gmail.com wrote: > >> That won't work because labelmap needs a `source_labels` to act on. >> > > No, I don't

Re: [prometheus-users] relabel_configs

2022-06-07 Thread Brian Candler
On Tuesday, 7 June 2022 at 09:55:33 UTC+1 sup...@gmail.com wrote: > That won't work because labelmap needs a `source_labels` to act on. > No, I don't believe that's true. I've just tested the following and it works fine: relabel_configs: - action: labelmap regex:

Re: [prometheus-users] relabel_configs

2022-06-07 Thread Brian Candler
You are missing a colon after "source_labels". On Tuesday, 7 June 2022 at 10:35:29 UTC+1 David Friedman wrote: > did this and got an error "mapping values are not allowed in this context" > relabel_configs: > - source_labels [tag_Customer] > action: labelmap >

Re: [prometheus-users] relabel_configs

2022-06-07 Thread David Friedman
did this and got an error "mapping values are not allowed in this context" relabel_configs: - source_labels [tag_Customer] action: labelmap regex: "[^_]+_(.+)" replacement: "$1" On Tuesday, June 7, 2022 at 11:55:33 AM UTC+3

Re: [prometheus-users] relabel_configs

2022-06-07 Thread Ben Kochie
That won't work because labelmap needs a `source_labels` to act on. On Tue, Jun 7, 2022 at 9:05 AM David Friedman < dovid.fried...@glassboxdigital.com> wrote: > Hi all > I'm trying to relabel a label from tag_name to just name > I tried to do something like this > - action: labelmap

[prometheus-users] Re: relabel_configs

2022-06-07 Thread David Friedman
Hi thanks for the respond so nothing happened the label stayed the same I have it in a relabel_configs block Prometheus version is: 2.32.1 and ill add a labeldrop once i get both labels thanks On Tuesday, June 7, 2022 at 10:37:49 AM UTC+3 Brian Candler wrote: > Define "didn't work" - what

[prometheus-users] Re: relabel_configs

2022-06-07 Thread Brian Candler
Define "didn't work" - what actually happened? Can you show some examples? Where are you doing this: inside a relabel_configs block, or a metric_relabel_configs block, or somewhere else? What version of Prometheus? Did you reload/HUP prometheus after changing the config? I believe you'll

[prometheus-users] relabel_configs

2022-06-07 Thread David Friedman
Hi all I'm trying to relabel a label from tag_name to just name I tried to do something like this - action: labelmap regex: "[^_]+_(.+)" replacement: "$1" but it didn't work any help would be appreciated thanks -- You received this message because you