No commit activity in last 3 years
No release in over 3 years
Sensu plugins for workign with cgroups
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.5
~> 3.2
~> 3.4
~> 0.40.0
~> 0.8

Runtime

 Project Readme

Sensu-Plugins-cgroups

Build Status Gem Version Code Climate Test Coverage Dependency Status

Functionality

Files

  • bin/metrics-cgroup.sh
  • bin/metrics-cgroup.rb

Usage

Collect all cgroup metrics, tested only on CentOS.

metrics-cgroup.rb -g "/sys/fs/cgroup/**/**"

Collect only systemd service metrics

metrics-cgroup.rb -g "/sys/fs/cgroup/**/system.slice/*"

Collect only user.slice only

metrics-cgroup.rb -g "/sys/fs/cgroup/**/user.slice"

Collect only mesos task metrics

metrics-cgroup.rb -g "/sys/fs/cgroup/**/mesos/*"

Collect only docker container metrics (may not be meaningful if you already collect metrics from docker)

metrics-cgroup.rb -g "/sys/fs/cgroup/**/docker/*"

Collect only system.slice, user.slice, docker and mesos and nothing else

metrics-cgroup.rb -g "/sys/fs/cgroup/**/{system.slice,user.slice,docker,mesos}{,/*}"

Instead of collecting breakdown of each docker instance, or mesos task, or systemd service metric; this could let to collect/compare overall docker, mesos, systemd and user recources in total.

metrics-cgroup.rb -g "/sys/fs/cgroup/**/{system.slice,user.slice,docker,mesos}"

Installation

Installation and Setup

Notes