Add support for mod_bmx

mod_bmx allows to collect metrics for httpd in a very easy way.
This commit is based on the work previous done by Heiko Rupp and Maxime Beck it supports both mod_snmp and mod_bmx.
On 08/21/2014 05:04 PM, Lukas Krejci wrote:
> In
> modules/plugins/apache/src/main/java/org/rhq/plugins/apache/ApacheServerDiscoveryComponent.java:
>
>> @@ -806,6 +810,18 @@ public static String formatResourceKey(String serverRoot, String httpdConf) {
>>          return ret;
>>      }
>>
>> +    /* TODO: try to find the VirtualHost containing something like:
>> +     *   <Location /bmx>
>> +     *      SetHandler bmx-handler
>> +     *   </Location>
>> +     */
>> +    private static List<InetSocketAddress> findBMXAddresses(ApacheDirectiveTree tree, File serverRoot) {
>
> This does not seem to do anything. Is this right?

Correct I need to find how to discover the directives.