-
Problem report
-
Resolution: Fixed
-
Trivial
-
4.2.1
-
CentOS 7
-
Sprint 61 (Feb 2020), Sprint 62 (Mar 2020), Sprint 63 (Apr 2020)
-
0.125
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'