check_influxdb_go

command module
v0.0.0-...-43c32d2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2018 License: GPL-3.0, GPL-2.0 Imports: 8 Imported by: 0

README

check_influxdb_go

Nagios/icinga/... plugin to query value from influxdb and check result. Usage:

./check_influxdb_go --help
Usage of /home/ruslan/go/bin/check_influxdb_go:
  -H string
	Host to connect to (default "localhost")
  -P int
	Port to connect to (default 8086)
  -c string
	Critical range
  -d string
	Database (default "metrics")
  -p string
	Influxdb user password
  -q string
	Database query
  -r int
	Timeout (milliseconds) (default 1000)
  -u string
	Influxdb user
  -w string
	Warning range

Tested on influxdb 0.9.x.

Build

Make shure that you have working go environment. Get check_influxdb_go and dependencies:

go get github.com/neezgee/check_influxdb_go
go get github.com/influxdb/influxdb/client
go get github.com/olorin/nagiosplugin

Build and install it with:

go install github.com/neezgee/check_influxdb_go

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