Hi, i’ve build an iot mqtt monitor, that permit to handle and run software agents, from my reading, it seems this cannot be run inside a snap as the iotmonitor launch user configured commandline.
The idea behind iotmonitor (for the software agents) is to read the /proc branch, watch if monitored process are still launched, otherwised, launch them.
i’ve seen the /proc reading can be properly achieved, but the launch of arbitrary mqtt process can be tiedious if sandboxed. I’ve personnaly have a bunch of python script, and C implements process that follow this pattern.
the code is on github here : https://github.com/mqttiotstuff/iotmonitor with documentation, if things are not so clear.
thank’s for your readings, and response