Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-16112

Zabbix-in-Telegram alertscript connection timeout of 3 seconds exceeded

    Details

    • Type: Problem report
    • Status: Need info
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 4.2.1
    • Fix Version/s: None
    • Component/s: Server (S)
    • Labels:
      None
    • Environment:
      CentOS 7

      Description

      Zabbix-in-Telegram

      send message to telegram timeout

       

      https://github.com/ableev/Zabbix-in-Telegram

       

      Test media type

      alertscript connection timeout of 3 seconds exceeded when connecting to Zabbix server "localhost"

       

      zabbix_server.conf

      Timeout=30

       

      zabbix_server.log

      121115:20190511:010956.260 End of zbx_ipc_socket_read():SUCCEED
      121115:20190511:010956.260 In zbx_popen() command:'/etc/zabbix/scripts/zbxtg_group.py 'test' 'Test subject' 'This is the test message from Zabbix''
      121115:20190511:010956.261 End of zbx_popen():7
      121421:20190511:010956.261 zbx_popen(): executing script
      121115:20190511:011036.261 In zbx_waitpid()
      121115:20190511:011036.264 zbx_waitpid() killed by signal 15
      121115:20190511:011036.264 End of zbx_waitpid():121421
      121115:20190511:011036.264 In zbx_ipc_socket_write()
      121115:20190511:011036.264 End of zbx_ipc_socket_write():SUCCEED
      121115:20190511:011036.264 zbx_setproctitle() title:'alerter #1 [sent 0, failed 0 alerts, idle 119.129781 sec during 159.133226 sec]'
      121115:20190511:011036.264 In zbx_ipc_socket_read()

       

      but

      use command to send a message from command line is successful

      [root@localhost scripts]# ./zbxtg_group.py 'test' 'Test subject' 'This is the test message from Zabbix'

       

       

        Attachments

        1. bug.jpg
          bug.jpg
          41 kB
        2. bug2.jpg
          bug2.jpg
          130 kB
        3. bug3.jpg
          bug3.jpg
          39 kB

          Activity

            People

            • Assignee:
              aigars.kadikis Aigars Kadikis
              Reporter:
              znssky znssky
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: