Ad Widget

Collapse

Authentication inside Web Scenario

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shoaibi
    Junior Member
    • Mar 2011
    • 1

    #1

    Authentication inside Web Scenario

    Hi,

    I have a ubuntu 10.04 box, on which i have install zabbix 1.8.1 (with mysql) using apt-get. I am trying to configure a web scenario that will check the Zabbix Web UI. Following shows what i have done so far:

    (Due to limitation for 4 images, i had to remove thumbnails for last 3.)

    Web Scenario:


    Step #1


    Step #2


    Step #3


    Step # 4
    Step4

    Curl Results
    Curl Results

    Zabbix Monitoring>Web:
    Zabbix Monitoring>Web


    Ok, so you have seen the steps, you have seen the scenario. Same thing works great with curl, curl responds with status code of 200 and "location" inside the page body. While on zabbix the second step, which is there to login and verify that "location" exists on resultant page, fails with "Page didn't match". I have even tried removing the "Required" string for step #2. In that case Step #3 fails because it can't find "Logout" on the url, which obviously means that Zabbix didn't login.
Working...