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

zabbix_sender 1.6 - undocumented changes

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Component/s: Documentation (D)
    • Labels:
      None

      Description

      First, it appears that the -z (server) option is now a required command line option - I was using zabbix_sender 1.4 with an input file, where each line specified the server option and therefore was not previously specifying server on the command line. This no longer works, and this change is not clearly documented.

      Secondly, it appears that the expected format for input files has changed! Although the help message and Zabbix 1.6 documentation still state that each line should be:

      <zabbix_server> <hostname> <port> <key> <value>

      it appears that the actual 1.6 expected format is:

      <hostname> <key> <value>

      It took me a while to figure this out, I finally did by looking in the zabbix_sender source code.

      The fact that this is not documented properly is a bug and should be fixed!

      (this is not to mention the fact that these changes will probably break a lot of scripts that rely on zabbix_sender in the case of upgrade, but too late for that!)

        Attachments

          Activity

            People

            Assignee:
            alexei Alexei Vladishev
            Reporter:
            mcvella Matt Vella
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: