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

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

      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.

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

              Created:
              Updated:
              Resolved: