20.7.3 zabbix-agent 5.0.3 won't start

Started by mircsicz, October 04, 2020, 03:24:50 AM

Previous topic - Next topic
There seems to be a bug left from the 4->5 upgrade:

root@router:/home/mirco # zabbix_agentd -c /usr/local/etc/zabbix_agentd.conf -f
zabbix_agentd [16577]: Warning: EnableRemoteCommands parameter is deprecated, use AllowKey=system.run
  • or DenyKey=system.run
  • instead
    Starting Zabbix Agent [router.xxx.lan]. Zabbix 5.0.3 (revision 6e02cfb1cf).
    Press Ctrl+C to exit.

    after manually removing the line:
    EnableRemoteCommands=0

    I still get the following error:
    listener failed: bind() for [[10.10.xx.1]:10050] failed: [49] Can't assign requested address

    But there's nothing running on that port...

    Hope one of U has a hint...

On my end no matter if I enable r disable this feature zabbix starts without errors ..

What version is installed on your side?

Prior to the last upgrade my setup ran just fine too...

root@OPNsense:/usr/local/etc/suricata/opnsense.rules # pkg info zabbix5-agent
zabbix5-agent-5.0.3
Name           : zabbix5-agent
Version        : 5.0.3


root@OPNsense:/usr/local/etc/suricata/opnsense.rules # pkg info os-zabbix-agent
os-zabbix-agent-1.8
Name           : os-zabbix-agent
Version        : 1.8

removing the zabbix config from the xml, uninstalling the plugin and reimporting the config fixed the problem...

What I am showing is that this never starts, no matter what I do. Any thoughts?

Quote from: spetrillo on November 05, 2020, 08:55:02 PM
What I am showing is that this never starts, no matter what I do. Any thoughts?

???

Logs, Erros, more Infos please

I take iot back...its now running.

Has anyone been able to monitor OPNsense using the Zabbix agent? I am running Zabbix 5.2 and the instructions on the web are for older versions.