Code Monkey home page Code Monkey logo

check_influxdb's Introduction

Circle CI

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_influxdb

USAGE:
   main.exe [global options] command [command options] [arguments...]

VERSION:
   0.0.5

COMMANDS:
     mode, m  check mode
     help, h  Shows a list of commands or help for one command

GLOBAL 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 mode

USAGE:
   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 alive

USAGE:
   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")

check_influxdb's People

Contributors

griesbacher avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.