Ad Widget

Collapse

timeout while executing a shell script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • booblik
    Junior Member
    • Oct 2021
    • 11

    #1

    timeout while executing a shell script

    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?

    Click image for larger version

Name:	11.png
Views:	679
Size:	15.7 KB
ID:	439497
    Attached Files
    Last edited by booblik; 11-02-2022, 02:44.
Working...