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

Agent check web.page.get ignores timeout parameter

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • 4.4.6
    • None
    • Agent (G)
    • None

    Description

      Create a very simple php file:

      <?php
      sleep (200);
      phpinfo();
       ?>
      

      Create a Zabbix agent item with key:

      web.page.get[localhost/sleep.php]
      

      The agent does not timeout as expected:

      time zabbix_get -s localhost -k web.page.get[localhost/sleep.php]
      zabbix_get [10644]: Timeout while executing operation
      
      real    1m0.011s
      user    0m0.003s
      sys     0m0.005s
      

      While the agent itself is still busy and waits for a response until it gets it after 200 seconds.
      If the web page doesn't answer at all, the agent seems to keep waiting forever and doesn't recover.

      Attachments

        Issue Links

          Activity

            People

              zabbix.dev Zabbix Development Team
              zux Edgars Melveris
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: