Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_mpstat

Rating
0 votes
Favoured:
0
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Uses mpstat to check processor utilization
Checks local processor utilization via mpstat, and alerts depending on whether it has exceeded the warning value or the critical value.
The script essentially runs mpstat -a 1 2 | tail -1 and captures the second line (The first line is a summary of the processor activity since boot)

There's no help yet, so here is: run it with the arguments -c & -w (For critical % and warning % respectively).