I have zabbix server 5.4.4 on my linux ubuntu 20.04
Also on my client machine i have installed zabbix_agent2 for 5.4.4 ( there is no zabbix_agent 1 running nor installed )
And zabbix_sender 5.4.4
Im trying to make a new item with log[] key
Using this article: https://www.zabbix.com/documentation/current/manual/config/items/itemtypes/log_items
I changed the configuration file and added server active ip and hostname of the host.
i made a new item with key logrt[/var/log/syslog,error]
Type: Zabbix agent (active)
typeof information: log
i go to the host and latest data but i did not see any.
also i changed the key to logrt[/var/log/syslog] so it can feed any new lines in the log file to the zabbix server, but still i did not get any info
i try
# zabbix_agent2 -t log[/var/log/syslog]
but this is the response
log[/var/log/syslog] [m|ZBX_NOTSUPPORTED] [The "log" key is not supported in test or single passive check mode]
And now i am stuck. Can someone help me how to make it work?