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

zabbix_agent2 -R with parameters "version" and "metrics" produce output to stderr instead of stdout

XMLWordPrintable

    • Sprint candidates
    • 1

      Steps to reproduce:

      1. Install Zabbix agent2 v7.0.10
      2. Run the following commands:
      zabbix_agent2 -R version 1>/dev/null 2>/dev/tty

      or

      zabbix_agent2 -R metrics 1>/dev/null 2>/dev/tty 
      1. Observe that the output is produced by the stderr stream instead of stdout

      Result:
      When supplying arguments "version" or "metrics" to zabbix_agent2 -R - the output streamed to stderr

      Expected:
      When supplying arguments "version" or "metrics" to zabbix_agent2 -R - the output streamed to stdout

            opucka Oskars Pucka
            asincovs Antons Sincovs
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

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