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

    XMLWordPrintable

Details

    • Team B
    • Sprint 61 (Feb 2020), Sprint 62 (Mar 2020), Sprint 63 (Apr 2020)
    • 0.125

    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

        Issue Links

          Activity

            People

              iivs Ivo Kurzemnieks
              znssky znssky
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: