Re: [prometheus-users] exporter crashes, multiple up-metric-related alerts fire

2023-05-25 Thread Mario Cornaccini
> > On Wed, May 24, 2023 at 11:33 AM Mario Cornaccini > wrote: > >> hi, we got a custom made exporter, checking for running linux processes.. >> >> i got 1 scrape job with 27 targets; >> also there is a general alert rule: >> expr: up==0 >> >>

[prometheus-users] exporter crashes, multiple up-metric-related alerts fire

2023-05-24 Thread Mario Cornaccini
hi, we got a custom made exporter, checking for running linux processes.. i got 1 scrape job with 27 targets; also there is a general alert rule: expr: up==0 so, when the exporter crashed, we got 27 alerts. is there a way or best-practice to detect that the exporter crashed, and inhibit the 27

[prometheus-users] Re: kubernetes deployed prometheus has no "gaps" after upgrades

2023-02-27 Thread Mario Cornaccini
> > > but with grafana i see no gaps in my graphs. > > Firstly, restarting prometheus is pretty quick. > > Secondly, PromQL queries will look back in time up to 5 minutes (by > default) to find a previous data point. Up to that interval, your grafana > graphs will lo

Re: [prometheus-users] targetmissing alert is fooled by two endpoints on one job

2023-02-23 Thread Mario Cornaccini
a hostname label; (just for documentation, hope it helps someone) cheers, fil On Friday, February 17, 2023 at 6:41:27 PM UTC+1 Stuart Clark wrote: > On 17/02/2023 16:16, Mario Cornaccini wrote: > > hi, > > > > i have a job 'node-tools'ansible', > > with t

[prometheus-users] kubernetes deployed prometheus has no "gaps" after upgrades

2023-02-23 Thread Mario Cornaccini
hi, i just updated our kube-prometheus custom ressource, which manages a deployment of two prometheus pods, which flawlessly upgraded the pods one after each other..(deployment strategy) but with grafana i see no gaps in my graphs. grafana has the datasource, which points to the k8s service, wh

[prometheus-users] targetmissing alert is fooled by two endpoints on one job

2023-02-17 Thread Mario Cornaccini
hi, i have a job 'node-tools'ansible', with two endpoints.. one for each node- and shell exporter. in prometheus/targets i see the same set of labels for each endpoint. for testing i stoppped the node exporter, but the alert is based on the following expr: up{} == 0 on the graph i can see that

[prometheus-users] alert rules: multiple rules for general & special cases

2023-01-18 Thread Mario Cornaccini
someswitch label, would that work? any help/pointers/comments greatly appreciated, cheers, mario -- 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 prom

[prometheus-users] How to dynamically alert using changing webhook urls and alert rule labels

2022-06-02 Thread Mario Hofstätter
A similar question was asked here but received no answer , was not sure if I should reply to that thread or create a new one. *Goal*: Users create prometheus alert rules as necessary, these shall be routed to alertmanage

[prometheus-users] postgres_exporter and database user privileges

2020-10-29 Thread Mario Pranjic
Hi, When monitoring PostgreSQL database with postgres_exporter, a user is to be created on database. What is the minimum required privileges in order to gather metrics needed? Thanks in advance! Best regards, -- *Mario Pranjic* -- You received this message because you are subscribed to

[prometheus-users] SOLVED: alertmanager version 0.21.0 and smtp_require_tls not found in type config.plain

2020-10-27 Thread Mario Van den Brande
OK, like a said I'm a total beginner... I only needed to indent the smtp_require_tls option and it works. life can be simple some times... Op maandag 26 oktober 2020 om 16:00:34 UTC+1 schreef Mario Van den Brande: > Hi there, > I'm very new to Prometheus and I am playin with

[prometheus-users] alertmanager version 0.21.0 and smtp_require_tls not found in type config.plain

2020-10-26 Thread Mario Van den Brande
[Alertname] # Send all notifications to me. receiver: email-me receivers: - name: email-me email_configs: - to: myfromaddr...@mycompany.com from: mytoaddr...@mycompany.com smarthost: smtp.mycompany.com:25 Anyone that can make me smarter? Thanks, Mario -- You received this message b

Re: [prometheus-users] Re: node exporter fails on random diskstats

2020-10-23 Thread Mario Pranjic
On 10/23/20 1:11 PM, Brian Candler wrote: > https://github.com/prometheus/node_exporter/pull/1125 > > I think your version of node_exporter is too old. 0.15.2 was released > 5 Dec 2017; the fix is from 30 Oct 2018. > Thanks, Brian! I will check the latest stable version. Best

[prometheus-users] node exporter fails on random diskstats

2020-10-22 Thread Mario Pranjic
ot;collector.go:123" ... And so on. Is there some particular reason for this to happen with default install? Any fix/workaround? Thanks in advance! Best regards, -- *Mario Pranjic* -- You received this message because you are subscribed to the Google Groups "Prometheus Users&qu

[prometheus-users] increase interval: today

2020-09-04 Thread Mario Pranjic
Hi, I am looking for a way to set a proper interval for *increase *function - instead of a fixed time (24h, for example), to have something like "today". Is there some math that would make this possible? Thanks! Best regards, Mario. -- You received this message because you are sub

Re: [prometheus-users] snmp_exporter can't scrape

2020-09-03 Thread Mario Pranjic
Hi Was it related to scrape_timeout? Best regards, Mario. tor. 3. sep. 2020, 06:51 skrev Andrew Meyer : > I figured it out. > > On Wed, Sep 2, 2020, 23:46 Ben Kochie wrote: > >> If you `curl` the snmp_exporter, how long does it take to respond? I'm >> guessi

Re: [prometheus-users] prometheus-snmp-generator error (Debian 10)

2020-09-01 Thread Mario Pranjic
e for prometheus snmp has been ignored. Best regards, Mario. man. 24. aug. 2020 kl. 12:23 skrev Mario Pranjic : > Hi Ben, > > I will gladly help. Just let me know how to approach the matter. > Initially I opened a request on Synology asking if they support Prometheus > node expor

Re: [prometheus-users] Network traffic used per day

2020-09-01 Thread Mario Pranjic
ime range which looks ok: 2020-09-01 00:00:00 to 2020-09-01 23:59:59 What puzzles me is why values differ so much when I change interval on increase function. 1min: 1628203 5min: 8129615 Shouldn't sum over those increments be the same for period of current day regardless of rate for incre

[prometheus-users] Network traffic used per day

2020-08-29 Thread Mario Pranjic
"}[1m]) I need one to show network traffic summarized per day. Whatever I tried, I ended-up with bits and pieces, and not proper one number per day. I collect in Prometheus and visualize in Grafana. How to accomplish this? Thanks in advance! Best regards, Mario. -- You received this m

[prometheus-users] CPU usage% per divided by number of cores

2020-08-29 Thread Mario Pranjic
tion. I can, of course divide manually with number of cores: sum(irate(node_cpu_seconds_total{mode="user", instance="spock.yggdrasil.local:9100"}[10s]))*100*/4* But I would like to avoid hard-coding something that can be taken from metrics. What is the proper way of doing it?

Re: [prometheus-users] prometheus-snmp-generator error (Debian 10)

2020-08-24 Thread Mario Pranjic
did that. ;-) > > For example, here's a patch to the MIB file that helps with the types: > > https://gitlab.com/superq/mibs/-/commit/40ddc8af074961abfa89d2d94da9fd290e8e3f71 > > On Mon, Aug 24, 2020 at 11:22 AM Mario Pranjic > wrote: > >> Hi, >> >&

Re: [prometheus-users] prometheus-snmp-generator error (Debian 10)

2020-08-24 Thread Mario Pranjic
with something useful. Best regards, Mario. lør. 22. aug. 2020 kl. 20:38 skrev Mario Pranjic : > Hi Ben, > > Thank you very much for your time and effort. > Indeed, I am not an expert in snmp (that was always somehow left on TODO > list). Maybe this is a good opportunity to fill

Re: [prometheus-users] prometheus-snmp-generator error (Debian 10)

2020-08-21 Thread Mario Pranjic
7;t use mibs as described in the Synology snmp guide. https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_DiskStation_MIB_Guide.pdf There is still a step missing in the snmp_exporter role in regards to mibs and/or proper snmp.yml generati

Re: [prometheus-users] prometheus-snmp-generator error (Debian 10)

2020-08-21 Thread Mario Pranjic
me light here, because I am obviously missing some step along the way. Thanks in advance! Best regards, Mario. fre. 21. aug. 2020 kl. 11:05 skrev Mario Pranjic : > Hm. > > I wrote the roles myself for Prometheus and Grafana but I used debian > packages for Prometheus and external

Re: [prometheus-users] prometheus-snmp-generator error (Debian 10)

2020-08-21 Thread Mario Pranjic
make our lives a lot easier. :) I will look into these and see if things are better with newer versions. Thanks for the tip! Best regards, Mario. fre. 21. aug. 2020 kl. 10:42 skrev Ben Kochie : > I highly recommend against using the Debian packages, as they are > extremely out of date.

Re: [prometheus-users] prometheus-snmp-generator error (Debian 10)

2020-08-21 Thread Mario Pranjic
Thu, Aug 20, 2020, 21:11 Mario Polario wrote: > >> Hi, >> >> I am trying to set-up prometheus-snmp-exporter to collect data from my >> Synology NAS. >> I downloaded mibs (Synology mibs included) to /usr/share/snmp/mibs. >> >> When running prometheus-s

[prometheus-users] prometheus-snmp-generator error (Debian 10)

2020-08-20 Thread Mario Polario
c/prometheus-snmp-exporter/README.Debian but I can't seem to generate snmp.yml file. Any help in understanding what I did wrong is more than welcomed. Thanks in advance! Best regards, Mario. -- You received this message because you are subscribed to the Google Groups "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