1 Reply Latest reply on Nov 18, 2014 4:51 AM by tsegismont

    RHQ with IBM HTTP Server

    reego

      Hi Guys,

       

      I'm trying to monitor IBM HTTP Server with RHQ (+apache plugin). However I'm getting the following issue with the httpd not able to be discovered.

       

      WARN  [ResourceDiscoveryComponent.invoker.daemon-1] (org.rhq.plugins.apache.ApacheServerDiscoveryComponent)- Discovery of Apache process [process: pid=[2863], name=[/usr/IBM/HTTPServer8/bin/httpd], ppid=[1]] failed: '/usr/IBM/HTTPServer8/bin/httpd' is not a valid Apache executable (java.lang.Exception: Unable to find 'Apache/' in: /usr/IBM/HTTPServer8/bin/httpd).

       

      The issue is coming from

      https://github.com/rhq-project/rhq/blob/master/modules/plugins/apache/src/main/java/org/rhq/plugins/apache/util/ApacheBinaryInfo.java#L89


      since IBM does not depict the Apache version.


      #/usr/IBM/HTTPServer8/bin/httpd -v

      Server version: IBM_HTTP_Server/8.0.0.8 (Unix)

      Server built:  Sep 11 2013 16:22:39

       

      Have anyone encounter this before or any useful workaround for this?

       

      Thanks!