Ad Widget

Collapse

[zabbix_sender-1.6] option -i does not work.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zabbix_es
    Senior Member
    • Apr 2007
    • 153

    #1

    [zabbix_sender-1.6] option -i does not work.

    Hello:

    Neither
    zabbix_sender -i <file>
    nor
    zabbix_sender --input-file <file>
    work
    zabbix_sender returns usage message.
  • zabbix_es
    Senior Member
    • Apr 2007
    • 153

    #2
    The reason

    Using debugger I have found the reason.
    Now, "-z <zabbix server>" is mandatory when with "-i <file>" it shouldn't be because zabbix server is in each line of the input file.

    Comment

    • NOB
      Senior Member
      Zabbix Certified Specialist
      • Mar 2007
      • 469

      #3
      Originally posted by zabbix_es
      Using debugger I have found the reason.
      Now, "-z <zabbix server>" is mandatory when with "-i <file>" it shouldn't be because zabbix server is in each line of the input file.
      No, it's not

      Not only the command-line changed, the format of the input file, obviously, too.
      See this thread for details.

      The zabbix-server is no longer included in the input file.
      So, that's why the parameter "-z <zabbix server>" is now mandatory !
      IMHO this is a bug.

      HTH,

      Norbert.
      Last edited by NOB; 15-10-2008, 12:55.

      Comment

      • zabbix_es
        Senior Member
        • Apr 2007
        • 153

        #4
        [zabbix_sender-1.6] bug in usage message?

        OK, so it's a bug in usage message because it says that zabbix server is the first column of each line in input file and also it's not enough clear in options.

        I read the user's manual of version 1.6 and it is also insufficient.

        Thank you!

        Comment

        • NOB
          Senior Member
          Zabbix Certified Specialist
          • Mar 2007
          • 469

          #5
          Originally posted by zabbix_es
          OK, so it's a bug in usage message because it says that zabbix server is the first column of each line in input file and also it's not enough clear in options.

          I read the user's manual of version 1.6 and it is also insufficient.

          Thank you!
          I'll try to summarize our findings about the zabbix_sender 1.6:
          1. The usage message should be fixed
          2. The option "-z zabbix server" should not be mandatory on the command-line
          3. The file format should stay the same or another option to choose the new format should be available and/or, at least, the documentation updated


          What do you think ?
          Does that summary cover all the problems we noticed and is it the right proposal for a solution ?

          Regards

          Norbert.

          Comment

          • zabbix_es
            Senior Member
            • Apr 2007
            • 153

            #6
            Ok

            I agree with you, first point is prioritary but, in my case, points 2 and 3 are not important because I don't have so much scripts with zabbix_sender.
            If most of administrators have a lot of scripts could be important to maintain compatibility.

            Comment

            Working...