Questions tagged [prometheus]

Prometheus is a multi-platform monitoring system and time series database. Official builds are available for Darwin, FreeBSD, Linux, NetBSD, OpenBSD and Windows. Database administration questions are generally better suited to dba.stackexchange.com

Prometheus is a multi-platform monitoring system and time series database. Prometheus has many advanced features, including a multi-dimensional data model with a complete query language (PromQL).

Prometheus is open-source under the Apache 2.0 license. Prometheus includes a number of exporter modules to feed the database, including node_exporter (for machine metrics), snmp_exporter (for network metrics) and blackbox_exporter (for probing endpoints).

13 questions
2
votes
1 answer

Prometheus Blackbox Exporter TCP probe returns value of 0, even when port is open (Iperf3 server)

I have a strange problem that I've been digging into the last couple of days. The setup I have an Iperf3 server running in Docker on this internal address and port: 10.10.2.2:5201 I also have Prometheus and Grafana running in Docker, to monitor…
Artur Meinild
  • 152
  • 1
  • 14
1
vote
1 answer

Grafana: How to set Table cell color by comparing two values

Using Prometheus as datasource, in Grafana, I have a Table visualization that lists kubernetes containers and their versions using this query: kube_pod_container_info{namespace="$namespace", pod=~"pod-.*"} Example table looks like this: | pod …
oaaya
  • 133
  • 5
1
vote
1 answer

Matching only one rule with Prometheus / Alert Manager

I have several devices that output a metric. If the metric is above a threshold (different for each device), I alert. At the end of my alert_rules.yml file I have a catch-all that alerts for any device outputing a metric value of >1. This is to…
1
vote
0 answers

Persist Prometheus data from a Docker Container

I'm running Prometheus and Grafana from docker-compose and basically it works. But I don't get my prometheus data to persist on my host machine. As soon as I switch my volume settings from --- version: "3.3" services: prometheus: image:…
1
vote
1 answer

How to add additional scrape config for Prometheus on kubernetes?

I have cloned and started the https://computingforgeeks.com/setup-prometheus-and-grafana-on-kubernetes/ kube-prometheus project on my local. I want to add additional scrap config to retrieve custom metrics from another source. I…
0
votes
0 answers

Prometheus: several exporters with push-proxy

I want to send metrics to a Prometheus instance where the client is behind a firewall. So I am using push-proxy on the client (--metrics-addr=":9101", --proxy-url=http://xxx:8082) and the machine running Prometheus (port 8082,…
LeifSec
  • 53
  • 7
0
votes
0 answers

Prometheus can't reach node-exporter

I "inherited" old code for a server running several docker containers. Grafana and Prometheus are used to monitor stats, as well as node-exporter. Unfortunately, the node-exporter container is shown as down in Prometheus. The error message is Get…
LizzAlice
  • 111
  • 2
0
votes
1 answer

How to access prometheus on windows when prometheus is installed on Ubuntu [Virtualbox]

I havea windows laptop. On this laptop I have installed virtualbox and inside the virtualbox I have installed ubuntu server. On the ubuntu server I have installed the Prometheus the monitoring tool. I am able to run prometheus in the terminal of…
bizimunda
  • 101
0
votes
0 answers

Error 401 Unauthorized call https://MyNodeIP:10250/metrics using Promethes to monitor kubernetes

I configure Prometheus to monitor all the node using kubelet metrics inside my OpenShift cluster in the following way: I configure a cluster role using this yaml file apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name:…
0
votes
1 answer

Prometheus join on metric value, rather than label?

I have a Prometheus instance scraping from snmp_exporter, and I have two metrics I need to join, with the aim to marry up IP addresses and network interfaces on SNMP-capable devices, based on the "ifIndex" number it is referenced by in…
Ottersock
  • 1
  • 1
0
votes
1 answer

Failed to start Prometheus Node Exporter

I've installed Prometheus by extracting archive from the official site, creating the user prometheus and systemd unit file. It has been started successfully. But now when I'm trying to do the same for the node exporter, I encountered an error:…
0
votes
1 answer

run node apache-exporter in same docker container as Apache

I am running node apache-exporter (https://github.com/Lusitaniae/apache_exporter) in the same Docker container (build from httpd image) as Apache itself. (So am able to distribute the service directly with the container by one Dockerfile and one…
LeifSec
  • 53
  • 7
-1
votes
1 answer

RHEL + can we improve disks performance by tuning kernel parameters?

we have Hadoop cluster and we are collection metrics collection data in order to investigate slowness behavior on spark applications after long investigation on our Hadoop cluster we noticed from Prometheus metrics point that node_disk_io_now is…
King David
  • 781
  • 2
  • 14
  • 27