IotMonitor: classical confinement for a process mqtt iot monitoring tool

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 : with documentation, if things are not so clear.

thank’s for your readings, and response

1 Like

hi ? any response ? it is the right place to this ?

Hi @frett27 welcome to the forum and apologize for the delay, this is exactly the place to ask these type of questions, hopefully we can help you with your request.

Before getting into further questions, I see your snap monitors iot devices: is your snap expected to run on system running Ubuntu Core? Because classic confined snaps do not run on Ubuntu Core, you can read more about this here.

@frett27 ping, can you please provide the requested information?

Hi, thank’s for the follow up, i had a late mail response,

no it is’t currently targeted to core iot for instance, only full fledged ubuntu for the moment.