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
Current Version
0.13
Last Release Date
2016-10-03
Compatible With
- Nagios 3.x
- Nagios 4.x
Owner
License
GPL
Hits
7238
Files:
File | Description |
---|---|
check_opcache.tgz | check_opcache.tgz |
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!