check_cpu_mpstat.sh - A Nagios plugin for monitoring CPU usage with mpstat Author: Salvo Maltese License: GPLv3 This plugin monitors CPU utilization statistics (user, system, iowait, idle) using `mpstat`. It supports per-core averaging and customizable warning/critical thresholds. Usage: /usr/lib64/nagios/plugins/custom/check_cpu_mpstat.sh -w 70 -c 90 Dependencies: - sysstat package (for mpstat) Original base script: https://exchange.nagios.org/directory/Plugins/System-Metrics/CPU-Usage-and-Load/check_cpu-2Esh/