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 Apache Load

Current Version
0.1b
Last Release Date
2011-02-10
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
110632
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!
Check Apache Load
This plugin checks the CPU percentage used by the Apache process.
The usage of this plugin is based on the information provided by mod_status Apache module, thus both the module installation on the server side and setting the Apache ExtendedStatus directive (ExtendedStatus on) are requirement.

mod_status returns information through HTTP, so this plugin doesn't require being executed on the server side, and thus, doesn't require the installation of operating systema agents as NRPE.

This plugin is Nagios 3.x (ePN) compatible and returns CPU load as performance data. The attached README file completes this information.


____________________________________________________________



EXAMPLE USAGE

#./check_apache_load.pl -H localhost -w 80 -c 90
#APACHE_LOAD OK - 0.133747% cpu load | CPULoad=0.133747%

Explanation:
It returns WARNING if CPU Load is higher than 80% and CRITICAL if CPU Load is higher than 90%.

In this case it returns OK because check has been performed succesfully.