Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-3485

Web Monitoring stalls on a redirect loop

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 1.8.3
    • Frontend (F), Server (S)
    • Debian (Lenny x64) running on mysql database.

      During a web monitoring scenario if a redirection loop within one of the steps is not marked as a failure only as "Unknown"

      The server will not detect the loop and drop out with an error rather it will keep following the 302 indefinitely (I'm guessing until the time-out)

      Steps to reproduce:

      Setup:

      • Create a simple location to direct your web monitoring scenario to eg: www.test.org/redirectloop and if desired place some text in an index.html
      • Create your web scenario with a single step pointing to the above URL and specify the text you entered and response code 200
      • Check scenario is reporting "OK" with 200 response code.
      • Add Trigger for "Failed step of scenario X"
      • Confirm Trigger is "OK"
      • Add a redirection loop. For example in apache2 add:

      RewriteRule ^/redirectloop$ http://www.test.org/redirectloop [NC,L]

      Expected:

      • Web scenario show step as "Failed" after the timeout and Trigger to be generated.

      Observed:

      • Web scenario shows "Unknown" and no Trigger is generated, huge number of hits to the requested page in the web servers logs.

            Unassigned Unassigned
            acrowe Alex Crowe
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: