VMware vSphere

 View Only
  • 1.  Monitoring apache httpd - Gives out only availability metric

    Posted Mar 25, 2009 11:11 AM
    Hi,

    I am using ubuntu with hyperic 4.0
    My apache server is 2.2.8 and java used is jdk 1.6

    Hyperic discovered my apache httpd instance but it only shows Availability as metric.
    Clicking on "show all metrics" shows that other metrics like "Requests served per second" is configured for collection but it is not collecting them.[I changed default template in "Administration" tab, restarted etc]

    Configuration also seems to be correct because , clicking on IP:80/server-status in browser shows apache stats.

    How can I fix this..


  • 2.  RE: Monitoring apache httpd - Gives out only availability metric

    Posted Mar 25, 2009 04:51 PM
    Hi -... (quickly... i go off office just now)

    On HQ config. use localhost/server-status

    Too, on console (on apache's machine), try to connect to apache using a local browser... or try using telnet instead).

    Ah.. did you allow to access /server-status url from localhost?

    Good luck.. until tomorrow.
    Dans


  • 3.  RE: Monitoring apache httpd - Gives out only availability metric

    Posted Mar 25, 2009 06:09 PM
    /server-status was open and when I gave IP:port/server-status, it opened fine in web browser.
    After looking at your reply carefully, I tried doing lynx IP:port/server-status and wget IP:port/server-status and noticed that, in my case, it was getting redirected to https, because of our apache configuration..

    So I tried ssl and changed port to 443, it worked like a charm. Thanks

    I am encountering build failure for snmp configuration to apache though. Its a seperate issue and I shall put a new post for that tomorrow