This plugin provides native CPU instrumentation for monitoring and metrics collection, including: CPU usage and metrics for user, nice, system, idle, iowait, irq, softirq, steal, and guest.
if 80% of hosts in cluster has cpu usage less than 30%, then scale-down the cluster
but cpu-check.rb does not allow to check to warn when cpu is less than given percentage.
we want to perform following with Sensu:
if 80% of hosts in cluster has cpu usage less than 30%, then scale-down the cluster but cpu-check.rb does not allow to check to warn when cpu is less than given percentage.
this pull request addresses the above usecase