bundles/sshmon: increase acceptable amount of cpu steal
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
5f17afcbac
commit
2adf3c6a72
1 changed files with 4 additions and 4 deletions
|
@ -17,10 +17,10 @@ try:
|
|||
print(top_output)
|
||||
|
||||
# steal
|
||||
if cpu_usage['st'] > 5:
|
||||
crit.add('CPU steal is {}% (>5%)'.format(cpu_usage['st']))
|
||||
elif cpu_usage['st'] > 2:
|
||||
warn.add('CPU steal is {}% (>2%)'.format(cpu_usage['st']))
|
||||
if cpu_usage['st'] > 10:
|
||||
crit.add('CPU steal is {}% (>10%)'.format(cpu_usage['st']))
|
||||
elif cpu_usage['st'] > 5:
|
||||
warn.add('CPU steal is {}% (>5%)'.format(cpu_usage['st']))
|
||||
|
||||
# iowait
|
||||
if cpu_usage['wa'] > 60:
|
||||
|
|
Loading…
Reference in a new issue