opentable / go-check-prometheus

Nagios check for Prometheus.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-check-prometheus

A nagios check for prometheus inspired from go-check-graphite but for prometheus.

Installation

go install github.com/shashankm/go-check-prometheus

Usage

go-check-prometheus -H prometheus.example.com:9090 -q 'my.query' -w 10 -c 100

Documentation

usage: go-check-prometheus [options]

Options:
  -c, --critical string   critical range
  -h, --help              show help
  -H, --host string       prometheus host
  -n, --name string       Short, descriptive name for metric (default "metric")
  -q, --query string      prometheus query
  -t, --timeout int       Execution timeout (default 10)
  -w, --warning string    warning range

Contributors

  • Shashank Mathur (@shashankm)

License

This project is released under the MIT license. See LICENSE for details.

About

Nagios check for Prometheus.

License:MIT License


Languages

Language:Go 100.0%