Home Directory Plugins Software Check OpCache Status

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 OpCache Status

Rating
0 votes
Favoured:
0
Current Version
0.13
Last Release Date
2016-10-03
Compatible With
  • Nagios 3.x
  • Nagios 4.x
License
GPL
Hits
8226
Files:
FileDescription
check_opcache.tgzcheck_opcache.tgz
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 PHP OpCache Status and display some performance data.
1. Put check_opcache.php to web directory of monitored server (www.example.com)

2. Put check_opcache_curl.php to /usr/lib/nagios/plugins or /usr/lib64/nagios/plugins

3. Add to /etc/nagios/objects/commands.cfg

define command{
command_name check_opcache
command_line /usr/bin/php $USER1$/check_opcode_curl.php -u $ARG1$
}


4. Add to nagios services

define service{
use local-service,srv-pnp
host_name www
service_description Check OpCache Status
check_command check_opcache!http://www.example.com/check_opcache.php
}

5. If you are using PNP4NAGIOS move and rename check_opcache-pnp4nagios-template.php to /usr/share/nagios/html/pnp4nagios/templates/check_opcache.php