https://github.com/griesbacher/check_influxdb
Monitoring Plugin to check the health of an InfluxDB
https://github.com/griesbacher/check_influxdb
health icinga icinga-plugin influxdb monitoring-plugins nagios nagios-plugin
Last synced: 4 days ago
JSON representation
Monitoring Plugin to check the health of an InfluxDB
- Host: GitHub
- URL: https://github.com/griesbacher/check_influxdb
- Owner: Griesbacher
- License: agpl-3.0
- Created: 2016-09-27T08:54:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-11T08:21:47.000Z (about 7 years ago)
- Last Synced: 2025-04-03T17:13:19.778Z (about 2 months ago)
- Topics: health, icinga, icinga-plugin, influxdb, monitoring-plugins, nagios, nagios-plugin
- Language: Go
- Size: 145 KB
- Stars: 5
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://circleci.com/gh/Griesbacher/check_influxdb/tree/master)
# check_influxdb
Monitoring Plugin to check the health of an InfluxDB and data## Usage
### Global Options
```
$ go run main.go -h
NAME:
check_influxdb - Checks different influxdb stats
Copyright (c) 2016 Philip Griesbacher
https://github.com/Griesbacher/check_influxdbUSAGE:
main.exe [global options] command [command options] [arguments...]VERSION:
0.0.5COMMANDS:
mode, m check mode
help, h Shows a list of commands or help for one commandGLOBAL OPTIONS:
-t value Seconds till check returns unkown, 0 to disable (default: 10)
--help, -h show help
--version, -v print the version
```### Command options
```
$ go run main.go mode -h
NAME:
check_influxdb mode - check modeUSAGE:
check_influxdb mode command [command options] [arguments...]COMMANDS:
ping Tests if the influxdb is alive
disk Checks the disk size per databases
num_series The numbers of series/measurements
div_series The diverence of series/measurements between now and x minutes. If a livestatus address is given, the overall state will switch to Warning if a core restart happened and due to that the metric got into Critical.
read_write Checks the bytes/operations read and written the last x minutes
memory RSS in Byte
old_series Returns a list of series older then x hours. This check makes only sense when the databases hast the tags: hostname and service - it's build for nagflux
query You could check a certain value from the database, but your query has to return only ONE value. Like 'select last(value) from metrics'
OPTIONS:
--help, -h show help
```### Subcommand options
```
$ go run main.go mode ping -h
NAME:
check_influxdb mode ping - Tests if the influxdb is aliveUSAGE:
check_influxdb mode ping [command options] [arguments...]OPTIONS:
--address value InfluxDB address: Protocol + IP + Port (default: "http://localhost:8086")
--username value (default: "root")
--password value (default: "root")
-w value warning: request duration in ms (default: "200")
-c value critical: request duration in ms (default: "400")```