Nagios plugin for querying stats from InfluxDB
Installation:
pip install influx-nagios-plugin
Usage:
check_influx -h HOST_PORT -u USERNAME -p PASSWORD -d DATABASE -q QUERY [-m METRIC] [-w WARNING] [-c CRITICAL]
Options:
-h Colon separated host and port of InfluxDB (e.g. localhost:8086). Port is optional (8086 by default)
-u InfluxDB username
-p InfluxDB password
-d InfluxDB database name
-q Query to execute
-w Warning threshold
-c Critical threshold
-m Metric name. Query will be used by default [OPTIONAL]