sophies-stuff #36

Merged
sophie merged 43 commits from sophies-stuff into main 2021-03-13 12:43:44 +00:00
Showing only changes of commit 2adf3c6a72 - Show all commits

View file

@ -17,10 +17,10 @@ try:
print(top_output) print(top_output)
# steal # steal
if cpu_usage['st'] > 5: if cpu_usage['st'] > 10:
crit.add('CPU steal is {}% (>5%)'.format(cpu_usage['st'])) crit.add('CPU steal is {}% (>10%)'.format(cpu_usage['st']))
elif cpu_usage['st'] > 2: elif cpu_usage['st'] > 5:
warn.add('CPU steal is {}% (>2%)'.format(cpu_usage['st'])) warn.add('CPU steal is {}% (>5%)'.format(cpu_usage['st']))
# iowait # iowait
if cpu_usage['wa'] > 60: if cpu_usage['wa'] > 60: