This plugin provides native Riak instrumentation for monitoring and metrics collection, including: service health, database connectivity, ring status, `/stats` metrics, and more.
Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
bin
lib
test
.gitignore
.rubocop.yml
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
Gemfile
LICENSE
README.md
Rakefile
sensu-plugins-riak.gemspec

README.md

Sensu-Plugins-riak

Build Status Gem Version Code Climate Test Coverage Dependency Status

Functionality

Files

  • bin/metrics-riak.rb
  • bin/check-riak-ringready.rb

Usage

metrics-riak

Include only output the specified values, where exclude remove those not wanted.

Only one of the four available flags will be used, where the precedence order is, -i,-I,-e,-E.

If include or excluded is not manually specified, standard filtering is used.

If using a file, metrics are either space separated or newline separated.

{
    "checks": {
        "include_usage": {
            "type": "metric",
            "command": "metrics-riak.rb -i vnode_gets vnode_puts",
            ...
        },
        "include_file_usage": {
            "type": "metric",
            "command": "metrics-riak.rb -I /some/path/include.txt",
            ...
        },
        "exclude_usage": {
            "type": "metric",
            "command": "metrics-riak.rb -e vnode_gets vnode_puts",
            ...
        },
        "exclude_file_usage": {
            "type": "metric",
            "command": "metrics-riak.rb -E /some/path/exclude.txt",
            ...
        }
    }
}

Installation

Installation and Setup

Notes