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

Error handling for UserParameter commands is inconsistent

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.2 (plan)
    • Fix Version/s: 5.2.4rc1, 5.4.0alpha1, 5.4 (plan)
    • Component/s: None
    • Labels:
      None
    • Team:
      Team C
    • Sprint:
      Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021)
    • Story Points:
      1

      Description

      Error handling in processes created for UserParameter command execution is inconsistent.

      For go agent on all platforms and for c agent on windows item becomes not supported in a lot of cases. However on unix platforms execution failures are ignored and the error message is returned to the item as item value.

      This affects all kind of external command execution.
      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/libs/zbxexec/execute.c

      Suggest making this behavior consistent across different operating systems, as well as across old and new agent.

        Attachments

          Activity

            People

            Assignee:
            arimdjonoks Artjoms Rimdjonoks
            Reporter:
            yurii Jurijs Klopovskis
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: