SSH Backward Connection:
I have a control unit to about 150 PCs globally distributed, and I am facing a trouble to send WARNING signal to the main machine. the word trouble for me means: A remote host has killed an active iperf process for some reason. It's to difficult to watch or even monitor these troubles manually, and reactivate any killed process using a new shh-connection. What I look to do is as following:
If any node in the grope trying to probe a node that killed its iperf daemon, and received an error message "write failed: Connection refused", then the one received the error message should inform the main machine to reactivate the killed ipref on that node using SHH connection. By the way, EVERY node in doing active probing IS on active SSH session with the main machine (I have no idea about to send this WARNING on this active session). The idea should contain two short scripts, 1st is an active alarm all time on each PC from the 150, and the 2nd is a re-activator at the main machine to reactivate iperf on that particular machine.
I will greatly appreciate your response.
|