Description
This plugin perform data validation available via /server-status?auto on Apache Server.
Compatible version
- OpMon 6.0 or higher
Requirements
- strict
- LWP::UserAgent
- HTTP::Request
- HTTP::Response
According to the image shown below the page must be enabled on /etc/httpd/conf/httpd.conf file for this check to work.
<Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from [ Address IP from OpMon ] </Location>
Example of use and return of command
You must access the command directory before running it trough the following path: /usr/local/opmon/libexec/opservices/
[root@opmon]# ./check_apache.pl 192.168.10.164 "BusyWorkers" 10 20 OK - Apache BusyWorkers em 1 | BusyWorkers=1;10;20;;