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

No way to set items of type Zabbix Trapper to multi-line text value using zabbix_sender

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't fix
    • Affects Version/s: 2.0.6
    • Fix Version/s: None
    • Component/s: Server (S)
    • Labels:
    • Environment:
      Zabbix Virtual Appliance v.2.0.6

      Description

      There is currently no way that I can see to set a Zabbix Trapper item (Type Text) to a multi-line text value.

      This could be very useful for (for example) storing text log messages into zabbix items for processing.

      I have created a patch for zabbix_sender that allows the individual item data to be read from standard-in when the host and key are specified on the command line.
      The size of the text item read from stdin is currently limited to 64KB (The remainder is truncated.)

      Example Usage:
      Cat LogItem.txt | zabbix_sender -z 127.0.0.1 -s TestHost -k TestItem -O

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jdccdevel Jonathan deBoer
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: