[prometheus-users] snmp exporter trying to generate snmp config for ups

2024-08-08 Thread Alex Veso
Hello, I'm currently trying to generate a config for some eaton ups'es. I have following two mibs: https://mibbrowser.online/mibdb_search.php?mib=EATON-SENSOR-MIB https://mibbrowser.online/mibdb_search.php?mib=XUPS-MIB I need everything temperature and humidity available. I tried it with somethi

[prometheus-users] SNMP Exporter - MessPC

2024-06-14 Thread Alex Veso
Hello all, Can somebody help me out to parse a MIB file for MessPC EthernetBox. https://messpc.de/MIB/betternetworks_ethernetbox.mib I tried to build the config myself, but I'm not able to get all information as expected. Many thanks in advance! -- You received this message because you are su

[prometheus-users] SNMP Exporter - MessPC Ethernetbox - Configuration

2024-06-14 Thread Alex Veso
Hello, I have to setup a config to scrape the metrics from an MessPC EthernetBox. Those devices are pretty old and doesn't support SNMP-systemgroups due to storage limitations (don't know what this means, that's what their support told me). I attached the result of an snmp walk (snmp_walk.txt).

[prometheus-users] MBeans returned as Longs instead of Attributes

2023-02-14 Thread Alex Brekken
hat necessarily means much in this context. I'm happy to push on them if that's the right solution, but I wanted to check here first to make sure there isn't something I'm missing or misunderstanding. Thanks for any help! Alex -- You received this message because you

[prometheus-users] Unit testing absent data

2021-06-14 Thread Alex Finkel
rested in knowing how I might be able to write a unit test that demonstrates this problem. Cheers and thanks in advance for your advice, Alex -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and s

Re: [prometheus-users] looks like rate/irate/delta/increase are not calculating consistent

2021-02-01 Thread Alex
understanding an alignment can not make the extrapolation result worse Stuart Clark schrieb am Montag, 1. Februar 2021 um 13:51:50 UTC+1: > On 2021-02-01 12:38, Alex wrote: > > Thank you both for the detailed explanation and the additional > > material on this topic. I do now under

Re: [prometheus-users] looks like rate/irate/delta/increase are not calculating consistent

2021-02-01 Thread Alex
-rate-queries-in-grafana/ >> >> >> . >> >> On 29 Jan 18:24, Julius Volz wrote: >> > This actually triggered me to write a blog post about exactly this :) >> > >> https://promlabs.com/blog/2021/01/29/how-exactly-does-promql-calculate-rat

Re: [prometheus-users] looks like rate/irate/delta/increase are not calculating consistent

2021-01-29 Thread Alex
graphs of example data with different queries. juliu...@promlabs.com schrieb am Donnerstag, 28. Januar 2021 um 22:22:56 UTC+1: > On Thu, Jan 28, 2021 at 5:29 PM Alex wrote: > >> a rate series would never be exact but a rate on a counter could be exact >> since the counte

Re: [prometheus-users] looks like rate/irate/delta/increase are not calculating consistent

2021-01-28 Thread Alex
omql/functions.go#L55-L131 > > Short summary is: rate() / increase() will give you on-average decent > approximation of the actual rate of increase by extrapolating to the window > boundaries. > > Regards, > Julius > > On Thu, Jan 28, 2021 at 12:59 PM Alex wrote: >

[prometheus-users] Re: looks like rate/irate/delta/increase are not calculating consistent

2021-01-28 Thread Alex
gt;> https://github.com/prometheus/prometheus/issues/8413 >> >> Thanks >> Alex >> > -- 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

[prometheus-users] looks like rate/irate/delta/increase are not calculating consistent

2021-01-28 Thread Alex
://github.com/prometheus/prometheus/issues/8413 Thanks Alex -- 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+unsubscr...@googlegroups.com. To

Re: [prometheus-users] jvm_memory_bytes_used{service="x", area="heap"} vs java_lang_memory_heapmemoryusage_used{service="x"}

2021-01-21 Thread Alex
Hi Brian, Sorry to revive an old thread. You mentioned we can drop all java_lang stuff as jvm_ prefixed metrics are provided out of the box and are better structured. I was not able to see any of the jvm metrics. When using the JMX prometheus exporter, I set my rules to: - pattern: ".* The only

Re: [prometheus-users] Expression that divides one metric by another metric with the same labels

2020-12-30 Thread Alex K
put there. On Wednesday, December 30, 2020 at 3:55:32 AM UTC-5 sup...@gmail.com wrote: > Since you don't care about the status, the typical thing to do is us a > sum() aggregator to remove the label. > > sum without (status) (increase(response_total{status!="200"}[10m]))

[prometheus-users] Expression that divides one metric by another metric with the same labels

2020-12-29 Thread Alex K
t; 10* This doesn't seem to work, and it's not particularly surprising. I'm not sure how prometheus should "know" that it should be comparing response_total{status!="200", source="foo", service="bar"} to response_total{status="200", source=&q

Re: [prometheus-users] prometheus visit k8s x509 certificate signed by unknown authority

2020-12-22 Thread alex he
s": "linux", "kubernetes.io/arch": "amd64", "kubernetes.io/hostname": "k8smaster12", 在2020年12月22日星期二 UTC+8 下午5:16:07 写道: > You need a similar -k argument by curl to prometheus. > > -k, --insecure Allow insecure se

[prometheus-users] Re: prometheus visit k8s x509 certificate signed by unknown authority

2020-12-22 Thread alex he
insecure_skip_verify: true this option doesn't work ? 在2020年12月22日星期二 UTC+8 下午4:59:28 写道: > I can use curl to visit k8s apiserver api: > > *curl https://10.10.10.68:6443/api/v1/nodes > --cacert kube-ca.pem --cert > kube-node.pem --key kube-node-key.pem

Re: [prometheus-users] prometheus visit k8s x509 certificate signed by unknown authority

2020-12-22 Thread alex he
Dec 22, 2020 at 4:59 PM alex he wrote: > >> I can use curl to visit k8s apiserver api: >> >> *curl https://10.10.10.68:6443/api/v1/nodes >> <https://10.10.10.68:6443/api/v1/nodes> --cacert kube-ca.pem --cert >> kube-node.pem --key kube-node-key.pem|head -n 20*

[prometheus-users] prometheus visit k8s x509 certificate signed by unknown authority

2020-12-22 Thread alex he
I can use curl to visit k8s apiserver api: *curl https://10.10.10.68:6443/api/v1/nodes --cacert kube-ca.pem --cert kube-node.pem --key kube-node-key.pem|head -n 20* "kind": "NodeList", "apiVersion": "v1", "metadata": { "selfLink": "/api/v1/nodes", "reso

Re: [prometheus-users] Re: Docker Swarm Service Discovery | Problem in Implementation

2020-11-15 Thread Alex Duzsardi
This worked for me , although i'm not sure we should be running prometheus as root version: '3.7' services: prometheus: image: prom/prometheus:v2.21.0 command: - '--config.file=/etc/prometheus/prometheus.yml' - '--storage.tsdb.path=/prometheus' - '--storage.tsdb.retent

Re: [prometheus-users] Node labels in prometheus metrics

2020-09-28 Thread Alex Duzsardi
if you have a label before applying the re-label config like *__meta_kubernetes_node_label_nodegroup* , you could do something like this in the job config relabel_configs: - source_labels: [__meta_kubernetes_node_label_nodegroup] target_label: nodegroup On Mon, Sep 28, 2020 at 1

Re: [prometheus-users] Query regarding remote write

2020-09-28 Thread Alex Duzsardi
/concepts/jobs_instances/ On Mon, Sep 28, 2020 at 10:25 AM Sushil pratap singh wrote: > Hi Alex , > > isn't there anything by default in prometheus itself to know whether the > remote write link has gone down. > if we keep it as a gauge metric we have to push the metric again and aga

Re: [prometheus-users] Query regarding remote write

2020-09-27 Thread Alex Duzsardi
I think you could create a gauge metric which sends 1 as the metric value and then test if the value is still 1, otherwise the service is down. On Mon, Sep 28, 2020 at 8:39 AM Sushil pratap singh wrote: > Hi , > > I wanted to know , is there a way to identify the remote write endpoint > being do

Re: [prometheus-users] AlertManager Alerts API requires clients to 'continuously re-send'

2020-06-18 Thread Alex Seaton
Thanks very much for the reply Brian! What would the consequences of only sending alerts a single time be? On Thursday, 18 June 2020 10:06:19 UTC+1, Brian Brazil wrote: > > On Thu, 18 Jun 2020 at 10:00, Alex Seaton > > wrote: > >> Hi, >> >> The docs here ht

[prometheus-users] AlertManager Alerts API requires clients to 'continuously re-send'

2020-06-18 Thread Alex Seaton
act with the "endsAt" field in the payload? Thanks, Alex Seaton -- 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+un

[prometheus-users] Go Client - Get all counter vec label vales

2020-05-17 Thread Alex Chaplianka
I have a CounterVec object, I'm looking for a way to get all of it's labelsets. For example in the /metric endpoint I can see my_metric{a="b",k="d"} my_meric{a="c"} How could get those labels?: {a="b", k="d"} {a="c"} -- The above terms reflect a potential business arrangement, are provided  s

[prometheus-users] duplicate metrics collector registration attempted - in tests

2020-05-17 Thread Alex Chaplianka
I have several that - each use promauto to register metrics And when I ran multiple tests one after the other, it fails on duplicate metrics How should I handle this ? I tried unregistering but I still get the error: prometheus.Unregister(...) -- The above terms reflect a potential business

[prometheus-users] Re: What is the definition of $value in an alert template?

2020-04-18 Thread Alex Rosen
/pull/7141 On Friday, April 17, 2020 at 1:43:25 PM UTC+1, Brian Candler wrote: > > On Friday, 17 April 2020 12:46:01 UTC+1, Alex Rosen wrote: >> >> This page >> <https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/> >> says: >>

[prometheus-users] What is the definition of $value in an alert template?

2020-04-17 Thread Alex Rosen
This page says: "The $value variable holds the evaluated value of an alert instance." It would be great if this also included a more explicit definition, because this definition isn't obvious to me. For example, if