[prometheus-users] Re: snmp_exporter. server returned HTTP status 500 Internal Server Error

2022-02-28 Thread Brian Candler
Aside: curl is useful for debugging: curl -g `http://127.0.0.1:9116/snmp?module=if_mib&target=x.x.x.x&debug=true` However in your case, you've found the problem: you need to set a community string. Unfortunately, snmp_exporter makes it hard to set this, because the MIB and the device authentica

[prometheus-users] Re: failed to sync configmap cache: timed out waiting for the condition

2022-02-28 Thread Brian Candler
> "MountVolume.SetUp failed for volume "prometheus-config-volume" : failed to sync configmap cache: timed out waiting for the condition" That appears to be either a Kubernetes or a Longhorn error. Either way, it's not anything that Prometheus is responsible for. On Monday, 28 February 2022 at

[prometheus-users] failed to sync configmap cache: timed out waiting for the condition

2022-02-28 Thread Nanda kumar R
Hi Team, I have a prometheus container running in k8s and is using longhorn as storage to store config files and DB. The Prometheus container starts successfully and could be accessed by Prometheus UI as well for around 2-3 mins and crashes immediately. When I describe the k8s pod, it shows bel

Re: [prometheus-users] Scrape_interval

2022-02-28 Thread Stuart Clark
On 28/02/2022 11:41, BHARATH KUMAR wrote: Hello all, Q1) What will happen if we set scrape interval as 5 minutes or 10 minutes? Q2) I am observing some misbehavior when we set different scrape interval. what is the reason behind that? The standard maximum scape interval is about 2 minutes, du

[prometheus-users] Inhibit Rules

2022-02-28 Thread Raslen Ben Hadj Salah
Hi, Using Prometheus v2.27.1 with Alertmanager v0.22.2 deployed by the kube-prometheus-stack Helm chart (adjusted by Rancher) on a K8s-cluster we want to achieve, that all alerts are automatically muted when a certain alert is firing. In our case, all alerts should be muted when the availabi

[prometheus-users] Errors building sample remote storage application

2022-02-28 Thread hartfordfive
I'm attempting to build the following sample application for remote storage: https://github.com/prometheus/prometheus/blob/release-2.33/documentation/examples/remote_storage/example_write_adapter/server.go Although when initializing my mod file and attempting to run "go mod tidy", I always get t

Re: [prometheus-users] Drop label for single metric only, not for entire scrape job

2022-02-28 Thread Julien Pivotto
On 25 Feb 03:47, 'Peter Burrows' via Prometheus Users wrote: > Hi folks, I have a scenario where I wish to drop label *L* from metric *A*. > I easily found documentation on how to drop label *L* from all metrics > within a job, however in my case I have another metric we'll call *B* > that's in

[prometheus-users] Drop label for single metric only, not for entire scrape job

2022-02-28 Thread 'Peter Burrows' via Prometheus Users
Hi folks, I have a scenario where I wish to drop label *L* from metric *A*. I easily found documentation on how to drop label *L* from all metrics within a job, however in my case I have another metric we'll call *B* that's in the same scrape job and for metric *B* label *L* is useful and shoul

[prometheus-users] snmp_exporter. server returned HTTP status 500 Internal Server Error

2022-02-28 Thread Hemedi Salim
Hi all, I am babie to this world(prometheus, snmp_exporter). I recently configure Prometheus/snmp_exporter to monitors swithes. I want to monitor 5 switches but Prometheus scrap metrics form 2 switches and the other three shows an error ( *server returned HTTP status 500 Internal Server Error

[prometheus-users] Scrape_interval

2022-02-28 Thread BHARATH KUMAR
Hello all, Q1) What will happen if we set scrape interval as 5 minutes or 10 minutes? Q2) I am observing some misbehavior when we set different scrape interval. what is the reason behind that? Could you please answer those questions? Thanks in advance. Regards, Bharath kumar -- You received