Ad Widget

Collapse

Web Scenario Query

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Yello
    Senior Member
    • Apr 2011
    • 309

    #1

    Web Scenario Query

    Hi,
    One of the monitoring scenarios we currently use is to search for a string on a page and check the status code for that request.

    Can web scenarios be configured to do this? if so, how?


    Regards,
    David
  • beownd
    Junior Member
    • Feb 2011
    • 25

    #2
    Hi,

    Take a look at this. Maybe it wil be of some help.

    http://www.zabbix.com/documentation/...web_monitoring

    My regards,

    Tim

    Comment

    • qix
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Oct 2006
      • 423

      #3
      Use 'required'.
      With kind regards,

      Raymond

      Comment

      • kewan
        Member
        Zabbix Certified Specialist
        • Apr 2011
        • 33

        #4
        Just put the string you want to check in the "required" field of the relevant scenario step.
        Keep in mind that the scenario will fail if the string is not found regardless of the HTTP status code, so you'll have to figure out how the various combinations of HTTP status codes and string checks will work out for you.
        For example, you can completely ignore any status code, or you could require a HTTP 200 together with the string you are looking for in the returned page.

        cheers

        Stefano

        Comment

        • Yello
          Senior Member
          • Apr 2011
          • 309

          #5
          Originally posted by qix
          Use 'required'.
          Thanks. So the search term to be matched goes into this field I presume?

          Comment

          • Yello
            Senior Member
            • Apr 2011
            • 309

            #6
            Ah, I've just found a doc that describes this field. it's clear now. Thanks again.


            Regards,
            Dave

            Comment

            • sue
              Member
              • Mar 2011
              • 41

              #7
              authentication

              i want to know about authentication in web scenario. what different we use none authentication or basic authentication. i try to use both n seem like no different. And how exactly to use basic authentication? i not find example to use this authentication. All i find is none authentication. Can anyone help me??

              Comment

              Working...