What I need is an auto-connect request for
network-observe plugs, as Monika needs to use ping to get the current public IP and get location based on IP. Also, Monika has the feature to ping the target website in order to check if the target is alive or not.
Here is the Snap link: https://snapcraft.io/monika
And here is the source code to ping in case you are wondering: https://github.com/hyperjumptech/monika/blob/main/src/utils/ping.ts
Currently, I am using
sudo snap connect monika:network-observe to connect it to the network-observe interface.
I’ve configured action to push Monika into the Snapcraft, currently, it’s still in my fork https://github.com/dennypradipta/monika/blob/issue/586-snapcraft/snapcraft.yaml
At the moment, I am drafting this PR until there is an answer from you. (https://github.com/hyperjumptech/monika/pull/606)
If there are any questions, let me know.