No commit activity in last 3 years
No release in over 3 years
This plugin provides a handler for clearing the influxdb handoff dir
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 0.10
~> 10.0
~> 3.2
~> 3.1
~> 0.40.0
~> 0.8

Runtime

 Project Readme

sensu-plugins-influxdb-handoff

Build Status Gem Version

Functionality

Files

  • bin/handler-influxdb-handoff.rb

Usage

example config:

{
  "handlers": {
    "influxdb-handoff": {
      "command": "/opt/sensu/embedded/bin/handler-influxdb-handoff.rb",
      "type": "pipe",
      "filters": [],
      "severities": ["critical"]
    }
  },
  "influxdb-handoff": {
    "user": "myuser",
    "keyfile": "/home/user/.ssh/id_rsa",
    "handoff_dir": "/var/lib/influxdb/hh/*",
    "lockfile": "/var/run/influxdb/handoff.lock",
    "quiet_period": "300"
  }
}

options:

  • user: ssh user to connect as
  • keyfile: private key file to use for ssh, cannot be used with password
  • password: password for ssh authentication, cannot be used with keyfile
  • handoff_dir: directory where handoff data is stored
  • lockfile: local lockfile to prevent multiple concurrent runs
  • quiet_period: period (in seconds) between runs of the handler

Installation

Installation and Setup

Notes

The ruby executables are installed in a path similar to /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-influxdb-handoff-0.1.1/bin