bin/check-cpu.rb in sensu-plugins-cpu-checks-2.1.0 vs bin/check-cpu.rb in sensu-plugins-cpu-checks-3.0.0
- old
+ new
@@ -51,11 +51,12 @@
proc: proc(&:to_f),
default: 100
option :sleep,
long: '--sleep SLEEP',
+ description: 'This sleep controls the interval between the initial poll for cpu utilization and the next data point, the longer the interval is the more accurate your data will be', # rubocop:disable Metrics/LineLength
proc: proc(&:to_f),
- default: 1
+ default: 5
option :cache_file,
long: '--cache-file CACHEFILE',
default: nil