vCenter

 View Only
  • 1.  Web page checking

    Posted May 21, 2009 06:39 PM
    Hi All,
    I just installed the Hyperic HQ (community version) and having fun with it. Since I am newbie, I am still in the process of learning all the services it provides....

    Just wondering anybody have experience or have suggestion how to implement the following scenario ... I am looking into the 'Health check' of the log in page in a website i.e. let's say I have a web page where user has to input his/her username and password to get to a user's page. Since the usernames and the passwords are stored in the database, the successful log in will tell me the database is working fine as well. Does anyone has already implemented this health check?..... I tried using script (Selenium) however it is opening up the browser which I don't want ..... Anyway, any help/suggestion will be much appreciated

    Cheers!!!!!


  • 2.  RE: Web page checking

    Posted May 21, 2009 07:21 PM
    Hi,

    I am using Selenium for such kind of tests. Im my setup I have a dedicated Linux box running a VNC server and a VNC session. So the Firefox window pops up in the VNC session. I have added a Script service to Hyperic and evaluate the exit code of the script.
    It runs prettty good.

    Cheers,
    Mirko


  • 3.  RE: Web page checking

    Posted May 22, 2009 05:24 AM
    If this is just a simple health check another option could be to use a
    Ruby script deployed as a script plugin. You can generate the ruby
    script by using a tool like WET. Though WET is a bit buggy and I don't
    think it works well with IE 7.

    Sylvester