Closed DavidPL1 closed 6 years ago
Idea: collect pids of started programs in a List, on init launch a daemon thread that reads the list and simply polls each pid. If it detects a process has ended, it will dispatch a crash event to all registered event queues (the GUI and the interactive cli are candidates to register a queue) and remove the pid from the list.
For remote components either poll via ssh + python or ssh + bash (preferably python for compatibility with windows?)
Closing since monitoring local and remote components and remote hosts is fully functional now with a working event queue.
In order to detect a component crash and keep the displayed status updated