go-check-prometheus

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 13 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL