No commit activity in last 3 years
No release in over 3 years
CheckMK agent to watch for Sidekiq stats
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

CheckMK agent for Sidekiq

This is a library to create CheckMK agents and an agent for Sidekiq.

CheckMK checks should be written separately.

Usage

gem install --no-rdoc --no-ri check-mk-sidekiq
check-mk-sidekiq

To actually use it you should put a shell wrapper or symlink to CheckMK agent dir.

By default agent connects to Redis at localhost. You can use different location of Redis through commandline keys, see check-mk-sidekiq -h. Redis Sentinel is supported too.

The agent outputs parameters for processed, failed, enqueued, workers_size as reported by Sidekiq.

API

To write your own agent:

  • Inherit your class from CheckMK::Agents::DummyAgent
  • Define AGENT_NAME to be used in check_mk output
  • Defined stats() function to return hash of stats, like { foo: 1, bar 2 }
  • Create wrapper binary to call your agent class

License and authors

  • License: MIT (C) Whitespectre
  • Author: Timur Batyrshin