Hello all,
I'm running into a strange issue with Zabbix Agent 6.2.7 compiled with --enable-agent --sysconfdir=/etc on an embedded Linux system (Yocto-based).
I'm trying to test a simple UserParameter, but even with the key defined directly in /etc/zabbix/zabbix_agentd.conf, it returns unsupported:
# grep -i UserParameter /etc/zabbix/zabbix_agentd.conf
UserParameter=test.hello,echo hello
# zabbix_agentd -t test.hello
test.hello [m|ZBX_NOTSUPPORTED] [Unsupported item key.]
Agent startup logs look clean:
Zabbix Agent 6.2.7 (revision d7e8df54d76)
using configuration file: /etc/zabbix/zabbix_agentd.conf
...
agent #0 started [main process]
...
agent #5 started [active checks #1]
I’ve verified:
I've also tried defining test.hello inside zabbix_agentd.d/test.conf with Include=/etc/zabbix/zabbix_agentd.d/*.conf enabled — same result: ZBX_NOTSUPPORTED.
Would really appreciate any insight into what else could cause this behavior, especially when the key is defined in the main config itself.
Thanks in advance!
Cheers,
Nitesh
I'm running into a strange issue with Zabbix Agent 6.2.7 compiled with --enable-agent --sysconfdir=/etc on an embedded Linux system (Yocto-based).
I'm trying to test a simple UserParameter, but even with the key defined directly in /etc/zabbix/zabbix_agentd.conf, it returns unsupported:
# grep -i UserParameter /etc/zabbix/zabbix_agentd.conf
UserParameter=test.hello,echo hello
# zabbix_agentd -t test.hello
test.hello [m|ZBX_NOTSUPPORTED] [Unsupported item key.]
Agent startup logs look clean:
Zabbix Agent 6.2.7 (revision d7e8df54d76)
using configuration file: /etc/zabbix/zabbix_agentd.conf
...
agent #0 started [main process]
...
agent #5 started [active checks #1]
I’ve verified:
- Agent is running with the correct config: /etc/zabbix/zabbix_agentd.conf
- The UserParameter is defined directly in that file
- Permissions on the file are correct
- No duplicate keys exist
- No related errors appear in /tmp/zabbix_agentd.log
I've also tried defining test.hello inside zabbix_agentd.d/test.conf with Include=/etc/zabbix/zabbix_agentd.d/*.conf enabled — same result: ZBX_NOTSUPPORTED.
Would really appreciate any insight into what else could cause this behavior, especially when the key is defined in the main config itself.
Thanks in advance!
Cheers,
Nitesh
Comment