Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-838

zabbix_sender can't send text data.

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 1.8.5
    • Agent (G)
    • None
    • zabbix_sender 1.8.5

      Zabbix_sender can't send text data (Type of information: text).

      For example, I have active item with 'type of information: text'

      On my server I have text file like this:

      1. cat /tmp/ip_access_log
        453624 188.127.249.36
        41768 80.93.53.83
        8346 217.79.15.32
        3793 188.134.41.22
        3440 77.88.43.26
        3353 94.127.146.106
        3249 188.134.41.2
        1976 66.249.66.89
        1477 93.158.148.31
        1459 212.158.169.98

      I can do something like this (for example):

      1. zabbix_sender -c /etc/zabbix_agentd.conf -k ip_log -o /tmp/ip_access_log
        But in this case server will get line "/tmp/ip_access_log" instead of file content

      And I can't do this:

      1. cat /tmp/ip_access_log | zabbix_sender c /etc/zabbix_agentd.conf -k ip_log -o
        because option "-o" doesn't support standard input.

      There is no way to do something for send this data.
      Can you invent something for resolving this defect?

            alexei Alexei Vladishev
            mox1987 Pavel Timofeev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: