I am having great difficulty getting the asterisk template to work. I can connect to the API from the zabbix server so I know there is not a network or permission issue. When I do a wireshark there is no attempt being made, but zabbix gives the error that it cannot connect. Here is the log, what does "End of zbx_http_request():NOTSUPPORTED" mean? The request string is correct, I can use it via curl on the command line and it works. What is not supported and where do I find the syntax for "zbx_http_request())
Code:
43731:20231101:142929.189 In zbx_http_request() request method 'GET' URL 'http://2.1.3.3:8088/rawman?action=login&username=zabbix&secret=XXXX' headers '' 43707:20231101:142929.189 delay:'1h' nextcheck:1698868797 43707:20231101:142929.189 data_expected_from:1698801176 43731:20231101:142929.189 message body '' 43707:20231101:142929.190 history:7d 43707:20231101:142929.190 poller_type:0 location:1 43707:20231101:142929.190 inventory_link:0 43707:20231101:142929.190 priority:1 43707:20231101:142929.190 units:'' trends:0 43707:20231101:142929.190 preprocessing: 43707:20231101:142929.190 opid:98570 step:1 type:20 params:'1d' error_handler:0 error_handler_params:'' 43731:20231101:142929.191 End of zbx_http_request():NOTSUPPORTED
Comment