OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: arkanoid on June 24, 2022, 01:02:47 pm

Title: zabbix_agentd fails on boot if listening interface is vpn, manual start works
Post by: arkanoid on June 24, 2022, 01:02:47 pm
Hello

like the title says, seems that opn is trying to start zabbix_agentd before the interfaces it's listening on are up.

I solve this by just clicking the play button in home dashboard after the firewall is up.

Question is what's the proper way to fix this:
- listen on all local ips but add a firewall rule (removes the need of binding completely)
- reorder service start or apply preconditions (how?)

considering it's an opnsense package and there's even a web gui for it, I'd say it requires a more general solution.

Thanks
Title: Re: zabbix_agentd fails on boot if listening interface is vpn, manual start works
Post by: franco on June 24, 2022, 01:05:55 pm
Once people asked why boot delays exist with multiple OpenVPN interfaces. Now that boot is asynchronous people see that there is a race condition with VPN availability and service startup. I'm unsure how to bring everyone together on this. ;)


Cheers,
Franco