sensu-plugins / sensu-plugins-cpu-checks

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.
http://sensu-plugins.io
MIT License
13 stars 34 forks source link

Update check-cpu.rb #6

Closed dalesit closed 8 years ago

dalesit commented 8 years ago

Modify check to change state if >= threshold, as otherwise will never go critical even if default threshold of 100% cpu is reached.