Ad Widget

Collapse

Web Scenario Macros/Other Basic Questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HeWhoWas
    Junior Member
    • Jul 2012
    • 4

    #1

    Web Scenario Macros/Other Basic Questions

    Hey All,

    Making the switch from Nagios and its lack of reporting to Zabbix with it's fantastic array of reporting! Unfortunately some of the things that were easy in Nagios appear to be a little more complex in Zabbix, or just a bit different.


    Problem 1: Monitoring a web page's content.

    I have 8 servers, which are all identical. They're used behind a load balancer, which my DNS points to. What I would like is to poll each server to ensure that HTTP is up and running, and check the returned page for a particular string. Sounds like the job of one of 2 functions:

    web.page.regexp

    This is an Agent function? I'm pretty sure that implies that it requires the agent to be installed on the host machine. Seeing as I don't have the required access, and the requests to get it installed would take months, it's not an attractive option right now.

    Web Scenario

    This looks really promising, but I'm having issues making the URL accept Macro's such as {HOST.NAME} or {HOST.IP} - Is this unsupported or am I doing something incorrectly?

    I've just installed the latest 2.0 stable (In place of the 1.8.* provided by the ubuntu repo).

    Is anyone able to suggest something that would work? Where would the "URL" field in the "Steps" section of "Web Scenario" fall under the Macro Support Matrix thing?

    Thanks heaps
  • girishkg
    Junior Member
    • Aug 2011
    • 11

    #2
    Web Scenario Macros/Other Basic Questions

    It is easy to accomplish a three to four steps web test.
    1) Access front page
    i) Check some string to make sure front page has loaded properly Ex: rep code, string etc
    2) Perform Login
    i) Check some string to make sure post login page loaded properly Ex: rep code, string etc
    3) Test something (String) which is accessible only after log in
    i) Check some string to make sure all the items are in place and loaded properly Ex: rep code, string etc
    4) Log out
    i) Check some string to make sure all are well after the logout Ex: rep code, string etc
    ------------------


    ------------------

    Comment

    Working...