Apache 2.0 server
Apache 2.0 server
Log Track Supported: Yes
Config Track Supported: Yes
Custom Properties Supported:
| Name | Description |
|---|---|
| version | Apache Version |
| exe | Server Executable |
| serverTokens | Server Tokens |
| built | Server Built |
| serverAdmin | Server Admin |
| mpm | Server MPM |
Supported Control Actions: start,stop,restart,graceful,startssl,configtest
Supported Metrics:
| Name | Alias | Units | Category | Default On | Default Interval |
|---|---|---|---|---|---|
| Bytes Received for GET Requests | InBytesGET | B | THROUGHPUT | false | 10 min |
| Bytes Received for GET Requests per Minute | InBytesGET1m | B | THROUGHPUT | false | 10 min |
| Bytes Received for HEAD Requests | InBytesHEAD | B | THROUGHPUT | false | 10 min |
| Bytes Received for HEAD Requests per Minute | InBytesHEAD1m | B | THROUGHPUT | false | 10 min |
| Bytes Received for POST Requests | InBytesPOST | B | THROUGHPUT | false | 10 min |
| Bytes Received for POST Requests per Minute | InBytesPOST1m | B | THROUGHPUT | false | 10 min |
| Bytes Received for PUT Requests | InBytesPUT | B | THROUGHPUT | false | 10 min |
| Bytes Received for PUT Requests per Minute | InBytesPUT1m | B | THROUGHPUT | false | 10 min |
| Number of GET Requests | InRequestsGET | none | THROUGHPUT | false | 10 min |
| Number of GET Requests per Minute | InRequestsGET1m | none | THROUGHPUT | false | 10 min |
| Number of HEAD Requests | InRequestsHEAD | none | THROUGHPUT | false | 10 min |
| Number of HEAD Requests per Minute | InRequestsHEAD1m | none | THROUGHPUT | false | 10 min |
| Number of POST Requests | InRequestsPOST | none | THROUGHPUT | false | 10 min |
| Number of POST Requests per Minute | InRequestsPOST1m | none | THROUGHPUT | false | 10 min |
| Number of PUT Requests | InRequestsPUT | none | THROUGHPUT | false | 10 min |
| Number of PUT Requests per Minute | InRequestsPUT1m | none | THROUGHPUT | false | 10 min |
| Bytes Sent for 200 Responses | OutBytes200 | B | THROUGHPUT | false | 10 min |
| Bytes Sent for 200 Responses per Minute | OutBytes2001m | B | THROUGHPUT | false | 10 min |
| Bytes Sent for 301 Responses | OutBytes301 | B | THROUGHPUT | false | 10 min |
| Bytes Sent for 301 Responses per Minute | OutBytes3011m | B | THROUGHPUT | false | 10 min |
| Bytes Sent for 302 Responses | OutBytes302 | B | THROUGHPUT | false | 10 min |
| Bytes Sent for 302 Responses per Minute | OutBytes3021m | B | THROUGHPUT | false | 10 min |
| Bytes Sent for 401 Responses | OutBytes401 | B | THROUGHPUT | false | 10 min |
| Bytes Sent for 401 Responses per Minute | OutBytes4011m | B | THROUGHPUT | false | 10 min |
| Bytes Sent for 403 Responses | OutBytes403 | B | THROUGHPUT | false | 10 min |
| Bytes Sent for 403 Responses per Minute | OutBytes4031m | B | THROUGHPUT | false | 10 min |
| Bytes Sent for 404 Responses | OutBytes404 | B | THROUGHPUT | false | 10 min |
| Bytes Sent for 404 Responses per Minute | OutBytes4041m | B | THROUGHPUT | false | 10 min |
| Bytes Sent for 500 Responses | OutBytes500 | B | THROUGHPUT | false | 10 min |
| Bytes Sent for 500 Responses per Minute | OutBytes5001m | B | THROUGHPUT | false | 10 min |
| Number of 200 Responses | OutResponses200 | none | THROUGHPUT | false | 10 min |
| Number of 200 Responses per Minute | OutResponses2001m | none | THROUGHPUT | false | 10 min |
| Number of 301 Responses | OutResponses301 | none | THROUGHPUT | false | 10 min |
| Number of 301 Responses per Minute | OutResponses3011m | none | THROUGHPUT | false | 10 min |
| Number of 302 Responses | OutResponses302 | none | THROUGHPUT | false | 10 min |
| Number of 302 Responses per Minute | OutResponses3021m | none | THROUGHPUT | false | 10 min |
| Number of 401 Responses | OutResponses401 | none | THROUGHPUT | false | 10 min |
| Number of 401 Responses per Minute | OutResponses4011m | none | THROUGHPUT | false | 10 min |
| Number of 403 Responses | OutResponses403 | none | THROUGHPUT | false | 10 min |
| Number of 403 Responses per Minute | OutResponses4031m | none | THROUGHPUT | false | 10 min |
| Number of 404 Responses | OutResponses404 | none | THROUGHPUT | false | 10 min |
| Number of 404 Responses per Minute | OutResponses4041m | none | THROUGHPUT | false | 10 min |
| Number of 500 Responses | OutResponses500 | none | THROUGHPUT | true | 10 min |
| Number of 500 Responses per Minute | OutResponses5001m | none | THROUGHPUT | true | 10 min |
| Availability | Availability | percentage | AVAILABILITY | true | 5 min |
| Total Number of Bytes Received | InLowBytes | B | THROUGHPUT | true | 10 min |
| Total Number of Bytes Received per Minute | InLowBytes1m | B | THROUGHPUT | true | 10 min |
| Total Number of Bytes Sent | OutLowBytes | B | THROUGHPUT | true | 10 min |
| Total Number of Bytes Sent per Minute | OutLowBytes1m | B | THROUGHPUT | true | 10 min |
| Total Number of Requests | InRequests | none | THROUGHPUT | true | 10 min |
| Total Number of Requests per Minute | InRequests1m | none | THROUGHPUT | true | 10 min |
| Total Number of Responses | OutResponses | none | THROUGHPUT | false | 10 min |
| Total Number of Responses per Minute | OutResponses1m | none | THROUGHPUT | false | 10 min |
| Number of Concurrent Connections | InboundAssociations | none | UTILIZATION | true | 5 min |
| Start Time | StartTime | epoch-millis | AVAILABILITY | false | 5 min |
Configuration help:
Compile and install the SNMP plugin:
NOTE: Apache build must be configured with shared module support (--enable-so).
% tar -zxf agent-${HQVersion}/product_connectors/snmp-x.x.x.tar.gz
% cd snmp-x.x.x
% ./build_apache_snmp.sh 2.0 ${installpath}/bin/apxs
% cp snmp_module_2.0/module/*.so ${installpath}/modules
% cp snmp_module_2.0/conf/snmpd.conf ${installpath}/conf
% mkdir ${installpath}/var
Edit ${installpath}/conf/httpd.conf, adding:
LoadModule snmpcommon_module modules/libsnmpcommon.so
LoadModule snmpagt_module modules/libsnmpmonagt.so
SNMPConf conf
SNMPVar var
Add Port to ServerName directives
For example:
ServerName ${server.name}:${port}
Restart the Server
% ${program} restart
Test SNMP
% snmp_module_2.0/tools/snmpwalk -p ${snmpPort} -M snmp_module_2.0/mibs ${snmpIp} ${snmpCommunity}
General Log and Config Track Properties
- Enable Config Tracking - Check to enable config tracking.
- Configuration Files - Comma delimited list of configuration files to track. Relative files are resolved to ${installpath}.
- Enable Log Tracking - Check to enable log tracking.
- Track event log level - Only track events of level greater than or equal to this level. Order is: [Error, Warn, Info, Debug]
Mapping:- emerg,alert,crit,error -> Error
- warn -> Warn
- info,notice -> Info
- debug -> Debug
- Log Pattern Match - Include messages that match the given regular expression. The given pattern can be a substring to look for in log messages or a regular expression. See: java.util.regex.Pattern.
- Log Pattern Exclude - Exclude messages that match the given regular expression.
- Log Files - Comma delimited list of log files to track. Relative files are resolved to ${installpath}.