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

zabbix sender returning incorrect exit code in Zabbix 7

XMLWordPrintable

    • S25-W4/5, S25-W6/7
    • 0.3

      In previous versions of Zabbix, the exit code of a Zabbix sender worked correctly. However, starting from version 7.0.X there is an issue: even if the Zabbix sender fails, the exit code returns 0 when it should return 2. Test added in comments.

      Steps to reproduce:

      1. Using Zabbix sender on non existent host 

      Result:
      Exit status: 0
      Expected:
      Exit status: 2

            dgoloscapov Dmitrijs Goloscapovs
            jwilamowska Julianna Wilamowska
            Team A
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 1h
                1h