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

provide 'machine readable' output for agentd -p

    XMLWordPrintable

    Details

    • Type: Change Request
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0alpha3
    • Fix Version/s: None
    • Component/s: Agent (G)
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: