Network-observe auto-connect for Monika

Hello! I am Denny and I am one of the maintainers of Monika (https://monika.hyperjump.tech), which is an open-source synthetic monitoring tool (https://github.com/hyperjumptech/monika)

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.

Thank you!

+1 from me - this seems to be one of the core functions for monika and network-observe doesn’t grant excessive permssions.

1 Like

Thank you for the vote. I would like to ask, do I have to put it on stable first? As Monika is currently in edge channel at the moment.

+1 from me as well for auto-connect network-observe to monika since its required for running the ping command. +2 votes for, 0 votes against, granting auto-connect of network-observe to monika. This is now live.

@dennypradipta you don’t need to release it to stable first. Please check the latest revision of monika and let us know if you experience any issue!