-
Problem report
-
Resolution: Fixed
-
Trivial
-
5.0.1
-
Sprint 67 (Aug 2020), Sprint 68 (Sep 2020)
-
1
Steps to reproduce:
- Create UserParameter for Zabbix Agent2
- Test the item with command zabbix_agent2 -t
root@zbx50:~# 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.
root@zbx50:~# zabbix_agent2 -t test.test test.test [m|ZBX_NOTSUPPORTED] [Unknown metric test.test] root@zbx50:~# zabbix_get -s127.0.0.1 -p 10040 -ktest.test test output
Expected:
That it would return the key in correct format when testing
- is duplicated by
-
ZBX-18018 Zabbix agent2 can not test userparameter
- Closed