I'm writing a system/service monitoring software, and my primary goal is to make it as failsafe as possible.
Right now, I have a binary script which starts the master process, which forks off children which do the actual monitoring and reporting. The master only manages the restarting of children if they fail, and some communication between the children.
Given this level of failsafe, is it advisable to add another layer of monitoring for the master process?
Supposing my code is in a high level language (python et al.), would it make sense to wrap my software in a initscript or shellscript which watches it, or would it be redundant?