I'm trying to get this template working without success...
I've followed discovery instructions for agent2:
I've imported the template and added it to a Linux host and there's no update about it. Is there anyway to debug this? Am I missing something????

I've followed discovery instructions for agent2:
Install UserParameter for zabbix-agent2:
echo 'UserParameter=ss.tcp.listening,netstat --tcp --listening --numeric-ports' | sudo tee /etc/zabbix/zabbix_agent2.d/ss.tcp.listening.conf
Restart Zabbix agent
systemctl restart zabbix-agent2
In this section replace Key:
system.run["ss --tcp --listening --numeric"]
with:
netstat.tcp.listening
echo 'UserParameter=ss.tcp.listening,netstat --tcp --listening --numeric-ports' | sudo tee /etc/zabbix/zabbix_agent2.d/ss.tcp.listening.conf
Restart Zabbix agent
systemctl restart zabbix-agent2
In this section replace Key:
system.run["ss --tcp --listening --numeric"]
with:
netstat.tcp.listening
server:/etc/zabbix/zabbix_agent2.d # ll
total 8
drwxr-xr-x 2 root root 4096 Jun 27 12:26 plugins.d
-rw-r--r-- 1 root root 73 Jun 30 14:43 ss.tcp.listening.conf
server:/etc/zabbix/zabbix_agent2.d # cat ss.tcp.listening.conf
UserParameter=ss.tcp.listening,netstat --tcp --listening --numeric-ports
total 8
drwxr-xr-x 2 root root 4096 Jun 27 12:26 plugins.d
-rw-r--r-- 1 root root 73 Jun 30 14:43 ss.tcp.listening.conf
server:/etc/zabbix/zabbix_agent2.d # cat ss.tcp.listening.conf
UserParameter=ss.tcp.listening,netstat --tcp --listening --numeric-ports
Comment