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

Zabbix Agent 2 user parameters not initialized for key testing

    XMLWordPrintable

Details

    • Team A
    • Sprint 67 (Aug 2020), Sprint 68 (Sep 2020)
    • 1

    Description

      Steps to reproduce:

      1. Create UserParameter for Zabbix Agent2
      2. Test the item with command zabbix_agent2 -t

       

      [email protected]:~# grep ^UserP* /etc/zabbix/zabbix_agent2.conf
      UserParameter=test.test,echo "test output"

       

      Result:
      The item fails "Unknown metric" when testing with agent, the user parameters are not initialized for testing. It works with zabbix_get and when server gets the item.

      [email protected]:~# zabbix_agent2 -t test.test
      test.test [m|ZBX_NOTSUPPORTED] [Unknown metric test.test]
      [email protected]:~# zabbix_get -s127.0.0.1 -p 10040 -ktest.test
      test output

      Expected:
      That it would return the key in correct format when testing

      Attachments

        Issue Links

          Activity

            People

              viktors.tjarve Viktors Tjarve
              kpavars Kristians Pavars
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: