provide 'machine readable' output for agentd -p

XMLWordPrintable

    • Type: Change Request
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 3.0.0alpha3
    • Component/s: 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.

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

              Created:
              Updated: