Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check OpCache Status
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!
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
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
Reviews (0)
Be the first to review this listing!