Ad Widget

Collapse

Connection timeout of 60 seconds exceeded

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adrian@caseonit.com
    Junior Member
    • Jul 2017
    • 2

    #1

    Connection timeout of 60 seconds exceeded

    Hi

    When I launch a script from WebUI Inventory > Hosts, if my script takes too long, I receive the message:

    Connection timeout of 60 seconds exceeded when connecting to Zabbix server.

    I tried to set set_time_limit of php from zabbix-webui to 300, but the error persist.

    I need help! Please!
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by [email protected]
    Hi

    When I launch a script from WebUI Inventory > Hosts, if my script takes too long, I receive the message:

    Connection timeout of 60 seconds exceeded when connecting to Zabbix server.

    I tried to set set_time_limit of php from zabbix-webui to 300, but the error persist.

    I need help! Please!
    zabbix script exec max time is 30 sec
    Timeout=30 at zabbix_server.conf

    now if your script takes longer you have this options :
    1. try to make it work faster if you can
    2. make the output of the script to be sent to txt file and let zabbix only read this txt file- and the script to apply from crontab

    Comment

    • adrian@caseonit.com
      Junior Member
      • Jul 2017
      • 2

      #3
      Originally posted by batchenr
      zabbix script exec max time is 30 sec
      Timeout=30 at zabbix_server.conf

      now if your script takes longer you have this options :
      1. try to make it work faster if you can
      2. make the output of the script to be sent to txt file and let zabbix only read this txt file- and the script to apply from crontab
      Thanks batchenr, but the timeout that you say do not affect to response with webui.

      At now I send the output to a file, but I think that can be make better.

      Comment

      Working...