Giter Club home page Giter Club logo

check_prometheus's People

Contributors

griesbacher avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

check_prometheus's Issues

health check is still OK

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

How to build project & precomplied relase

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?

Metric name not appearing in Perfdata when rate query used

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.