check-linux-by-ssh
check-linux-by-ssh copied to clipboard
check_ssh_linux_cpu_stats output fails in Ubuntu 14.04
The CPU Stats check fails in new versions of Ubuntu. This seems to be because mpstat (sysstat) has been updated to version 10.2.0. Now mpstat returns:
11:29:33 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle 11:29:33 all 18,70 2,23 1,61 4,80 0,00 0,03 0,00 0,00 0,00 72,62
Notice the new column %gnice.
This should be taken into account in check_cpu_stats_by_ssh.py.