Re: [prometheus-users] Port Monitoring

2020-12-15 Thread Ben Kochie
https://prometheus.io/docs/instrumenting/clientlibs/ On Wed, Dec 16, 2020 at 6:16 AM Anthony Billones wrote: > Hi, > > Is it possible to monitor how many http requests there will be for an > exposed container? > > The sample is I have a service running in a container with an exposed port > 3100.

[prometheus-users] Re: postgres_exporter unable to export pg_replication_lag metrics to promethus

2020-12-15 Thread 'NAGARJUNA D.N' via Prometheus Users
Would you please someone help? Trying this also didn't help - https://github.com/wrouesnel/postgres_exporter/blob/master/queries.yaml startup script: ExecStart=/usr/local/bin/postgres_exporter --extend.query-path /opt/postgres_exporter/queries.yaml On Monday, December 14, 2020 at 4:52:14 PM UTC+

[prometheus-users] Port Monitoring

2020-12-15 Thread Anthony Billones
Hi, Is it possible to monitor how many http requests there will be for an exposed container? The sample is I have a service running in a container with an exposed port 3100. I want to know how many GET requests and POST requests it's handling. Hope you understood my question. Regards, Antho

[prometheus-users] how to calculate pod CPU usage in last 24 hrs

2020-12-15 Thread Carlos Mercado
Hi all I am trying to calculate POD CPU usage for the last 24 hrs, I have been trying using avg_over_time and rate(), but the difference is huge. Can someone please recommend the best way to get the pod CPU usage for a long period of time? Here an example of the query I am using: sum by (node

Re: [prometheus-users] How do I set the maintenance cycle

2020-12-15 Thread Laurent Dumont
If you are coming from a Zabbix world, there is no equivalent maintenance mechanic in Prometheus. Most of the service assurance/service mapping is not part of the Prometheus stack. Silences are only active between X and Y and will expire after Y. They cannot repeat so you'll need some kind of exte

Re: [prometheus-users] snmp_exporter: Collected metric label has unexpected help value

2020-12-15 Thread Cris Lingad
I pretty much kept the default file but trimmed out all the other modules I didn't need, as well as added specs for v3: modules: # Default IF-MIB interfaces table with ifIndex. if_mib: walk: [sysUpTime, interfaces, ifXTable] lookups: - source_indexes: [ifIndex] lookup: if

Re: [prometheus-users] snmp_exporter: Collected metric label has unexpected help value

2020-12-15 Thread Ben Kochie
Can you share your generator.yml? There are some options for working around duplicate names. I did find a similar issue in another MIB. I'm thinking we may need some additional changes to better handle some of these edge cases. On Tue, Dec 15, 2020, 02:09 Cris wrote: > Hi all, > > I am currentl

Re: [prometheus-users] Monitoring NFS service

2020-12-15 Thread Harald Koch
On Tue, Dec 15, 2020, at 09:59, Srikanth Reddy K wrote: > could you please give me those startup flags! https://github.com/prometheus/node_exporter#collectors -- Harald -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from t

Re: [prometheus-users] Monitoring NFS service

2020-12-15 Thread Srikanth Reddy K
could you please give me those startup flags! On Thursday, October 22, 2020 at 2:35:51 AM UTC+5:30 Srikanth Reddy K wrote: > thanks for your reply harald > > > On Monday, October 19, 2020 at 9:35:01 PM UTC+5:30 Harald Koch wrote: > >> On Mon, Oct 19, 2020, at 09:32, Srikanth Reddy K wrote: >> >>

Re: [prometheus-users] Monitor hp server hardware via snmp

2020-12-15 Thread Ben Kochie
You're probably looking for https://github.com/soundcloud/ipmi_exporter On Tue, Dec 15, 2020 at 2:39 PM Robin Z wrote: > Hi, > > please I would like to monitor hardware of HP SERVER (ProLiant DL360 > g10/g8/g7/g6) hosting Vmware esxi 6.7 OS and centos 7 OS. > > Thus I would like to monitor via s

[prometheus-users] plain text mails in alertmanager

2020-12-15 Thread 'Evelyn Pereira Souza' via Prometheus Users
Hi This is my current alertmanager config: - name: 'mail_example.org' email_configs: - to: 't...@example.org' headers: subject: "Example: {{ .GroupLabels.alertname }} is {{ .Status }}" send_resolved: true It's sending out HTML formated mails. I wish to send out plain text mai

[prometheus-users] Monitor hp server hardware via snmp

2020-12-15 Thread Robin Z
Hi, please I would like to monitor hardware of HP SERVER (ProLiant DL360 g10/g8/g7/g6) hosting Vmware esxi 6.7 OS and centos 7 OS. Thus I would like to monitor via snmp vmware OS / Centos OS. Is there someone who has already done the alert file for this purpose ? I am searching OID to monitor dis

Re: [prometheus-users] Is there any way to migrate data stored in InfluxDB to Prometheus TSDB?

2020-12-15 Thread Aliaksandr Valialkin
Prometheus doesn't support importing historical data yet - see https://prometheus.io/docs/introduction/roadmap/#backfill-time-series . So it is impossible to import data from InfluxDB to Prometheus at the moment. But you can import InfluxDB data to other TSDB systems with tools like vmctl

Re: [prometheus-users] How do I set the maintenance cycle

2020-12-15 Thread Julien Pivotto
On 14 Dec 19:39, zhengwei y wrote: > Does this mean That I have to maintain a timer task to create and delete > the corresponding silence rules every day ? For the moment yes, but we expect to have that kind of features available directly in alertmanager soon (time windows). > > 在2020年12月14日

Re: [prometheus-users] How do I set the maintenance cycle

2020-12-15 Thread Christian Hoffmann
On 2020-12-15 04:39, zhengwei y wrote: Does this mean That I have to maintain a timer task to create and delete the corresponding silence rules every day ? That would be one possibility. This could also be automated using cron or something. We chose a different approach and solve that on the

[prometheus-users] Customize export URL

2020-12-15 Thread Ziheng Xiu
Hi guys, is it possible to customize the export URL path instead of only able to change the port? As specified in the docs, java export command is *java -javaagent:./jmx_prometheus_javaagent-0.14.0.jar=8080:config.yaml -jar yourJar.jar* is it possible to export to sth like localhost:8080/exampl

[prometheus-users] how to combine 2 sum query in 1 query

2020-12-15 Thread Umut Cokbilir
How to combine 1 and 2 in one query level? 1 - sum by () (access:ifHCOutOctets:rate{ifAlias=~"ETH.*-4G-[BE|HS].*Adana",ifDescr=~"Tunnel.*",sysName=~".*2886\\([1|2|]\\).*"}) 2- sum by ()(access:ifHCOutOctets:rate{ifAlias=~"ETH.*-FIX-[BE|HS].*Adana",ifDescr=~"Tunnel.*",sysName=~".*2886\\([1|2|3|4