griesbacher / check_prometheus Goto Github PK
View Code? Open in Web Editor NEWMonitoring Plugin to check the health of a Prometheus server and its data
License: GNU Affero General Public License v3.0
Monitoring Plugin to check the health of a Prometheus server and its data
License: GNU Affero General Public License v3.0
Hi,
can you pls elabore a bit how "health" check should work?
I have 19 targets down from 19 and check is still ok.
This is the result: "OK - There are 0 healthy and 19 unhealthy targets".
thx
Jan
Hi,
i'm just a ops guy which doesn't have the knowledge about go. Do you can documentate, how to build this project?
And if so, it possible to add precompiled binaries for coming releases?
Hi,
At the following line:
check_prometheus/mode/targetsHealth.go
Line 100 in 6b57581
Hi,
Unable to use search and replace when query contains rate, as metric name does not get included in perfdata output section.
eg;-
###works fine without rate name present in perfdata
check_prometheus m q --address http://localhost:9092/stage/prometheus -q 'node_vmstat_pswpin{instance="localhost:9100",job="core_node_exporter"}' -w '1:'
OK - Query: 'node_vmstat_pswpin{instance="localhost:9100",job="core_node_exporter"}'|'{name="node_vmstat_pswpin", instance="localhost:9100", job="core_node_exporter"}'=11660;1:;;;
###with rate specified in query name no longer present in perfdata
~/lib/monitoring-plugins$ check_prometheus m q --address http://localhost:9092/stage/prometheus -q 'rate(node_vmstat_pswpin{instance="localhost:9100",job="core_node_exporter"}[5m])' -w '1:'
Warning - Query: 'rate(node_vmstat_pswpin{instance="localhost:9100",job="core_node_exporter"}[5m])'|'{instance="localhost:9100", job="core_node_exporter"}'=0;1:;;;
Is there a way round this?
Thanks
Mark
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.