On 10/01/18 15:22, Mark Rogers wrote:
On 10 January 2018 at 14:52, steve-ALUG@hst.me.uk wrote:
A) Can I ask why it's got a read-only filesystem?
Because it will lose power occasionally and I'm trying to avoid corrupted filesystems.
Fairy Nuff! :-)
Monit.
Interesting suggestion; I have used monit before years ago (not for this purpose) and long forgotten about it.
Thanks for the suggestion.
Part of the challenge will be working out what *should* work in a general case. Ie there's no point worrying about wifi being offline if it's not configured, for example, and I'm trying to make something generic. But from what I remember of monit there's some useful stuff in there that I need to revisit.
I'm fairly sure that you'll be able to configure it as you may need, but I think that it'll have to be individually configured rather than generic. Obvs you don't have to check Wifi if it's not needed or configured, and you could check ethernet instead etc. However, the recent change from (IMHO) useful and easy device names like eth0 to an unpredictable name based on the mac address (or whatever) makes things much harder!
Good luck
Steve