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

Zabbix Agent/Agent2 prints item keys and retrieves values when using '-p' switch

    XMLWordPrintable

Details

    • Change Request
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 5.4.4
    • None
    • Agent (G)
    • None
    • Zabbix Agent/Agent2 any version

    Description

      When using zabbix_agentd or zabbix_agent2 with the '-p' switch to 'print' known items it actually prints the item and gathers its value (as per the '-t' switch).

      What I would expect is just a list of agent item keys to be produced and not the actual values.

      If I wanted to get the item and value I would use the '-t' switch with no parameter for all items and a parameter if I wanted a specific item.

      By returning the agent item and value with the '-p' it takes for ever to run and there for cant be used as Zabbix item to contain a list of agent keys for the agent as there is a timeout of 30 seconds.

      I was looking to do some monitoring for missing custom keys and/or additional 'custom' keys that have been added that are not standard for our environment.

       

       

       

       

      Attachments

        Activity

          People

            vso Vladislavs Sokurenko
            james.cook000@gmail.com James Cook
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: