X.Spectator Framework for monitoring the state of the system and system modules. More information about library on Habr.