Riemann Redis Keys

Gem Version

A simple redis riemann client based on https://github.com/riemann/riemann-redis Supports reporting the size/cardinality/length of the following key types:

  • list
  • set
  • zset
  • hash
  • string

Installation

gem install riemann-redis-keys

Usage

riemann-redis-keys --redis-key "key:one" --redis-key "other:key"

Specify additional conneciton info:

riemann-redis-keys --redis-key "other:key" --redis-url "redis://localhost:6379"

Thresholds

The riemann state field can be controlled by setting thresholds for critical and warning. Default value is "ok"

riemann-redis-keys --redis-key "test:key" --warning 3 --critical 5