I have several hundred servers, when any of them hangs, I get a trigger and when it appears in zabbix,
an external python script is run which reboots the server via UPS, then the script waits 150 seconds, checks the availability of the server by port and sends a message with the result to telegram.
The problem is that sometimes I get a "timeout while executing a shell script" message. What would be the right solution in my situation to solve this timeout problem?
an external python script is run which reboots the server via UPS, then the script waits 150 seconds, checks the availability of the server by port and sends a message with the result to telegram.
The problem is that sometimes I get a "timeout while executing a shell script" message. What would be the right solution in my situation to solve this timeout problem?
