OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • zabbix_agentd fails on boot if listening interface is vpn, manual start works
« previous next »
  • Print
Pages: [1]

Author Topic: zabbix_agentd fails on boot if listening interface is vpn, manual start works  (Read 379 times)

arkanoid

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
    • View Profile
zabbix_agentd fails on boot if listening interface is vpn, manual start works
« 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 14300
  • Karma: 1237
    • View Profile
Re: zabbix_agentd fails on boot if listening interface is vpn, manual start works
« Reply #1 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • zabbix_agentd fails on boot if listening interface is vpn, manual start works
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2