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

Timeout during command execution from frontend will be considered as successful operation

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.14
    • Fix Version/s: 2.0.14
    • Component/s: Server (S)
    • Labels:
      None

      Description

      Currently, we only use TIMEOUT_ERROR in src/libs/zbxexec/execute.c and it is returned by zbx_execute(). That function is called in zbx_execute_script() (note just in case that "result" will not be populated in case of TIMEOUT_ERROR), which itself is called by execute_script(), which is called in node_process_command(). So TIMEOUT_ERROR is propagated from zbx_execute() to node_process_command(), where it is used as follows:

      response = (FAIL == ret) ? ZBX_PROTO_VALUE_FAILED : ZBX_PROTO_VALUE_SUCCESS;
      

      So TIMEOUT_ERROR will be considered a success when we execute a command from the frontend or as requested by a master node.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            wiper Andris Zeila
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: