mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
1. The process runs forever to retain proper state, periodically syncing the configuration data in order to react correctly. 2. Missing gateways are not an issue. They will not alert or stick to their last verified value. 3. We stop reacting unless a default gatway switch action will follow or the gateway is part of a gateway group. Triggers are not refined for now so we just let it run in full processing if a candidate. 4. Emulate the strange monitor alarm output although I don't see the use for all of this cryptic goo. The alarm state (0, 1) was changed to reflect the observed transition causing the alarm script to run. 5. Move the action for the script alarm to the script itself. Requires a bit of backend shuffling as well. 6. Only create one script to watch all monitors. Easier to manage and to present as service (which can be stopped and started if needed).