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

provide 'machine readable' output for agentd -p

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 3.0.0alpha3
    • Agent (G)

      when listing agent keys with -p, output from items is mixed with item keys themselves. if one would like to parse key/vaue data, it is nearly impossible to do in a safe manner - for example, a webpage including a few lines that would be the same as agentd output would totally trip any parsing.
      an additional flag could instruct agent to print out that information in a json structure, for example.

      it is common in other utilities to provide such machine readable output, for example, 'svn log' has '--xml' option.

      this issue is similar to ZBXNEXT-3025 which asks to output key only.

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: