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

Error handling for UserParameter commands is inconsistent

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 5.2.4rc1, 5.4.0alpha1, 5.4 (plan)
    • 5.2 (plan)
    • None
    • None
    • Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021)
    • 1

      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.

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

              Created:
              Updated:
              Resolved: