Ad Widget

Collapse

Cannot get asterisk template to work

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kb9mfd
    Junior Member
    • Feb 2015
    • 6

    #1

    Cannot get asterisk template to work

    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
  • Answer selected by dimir at 08-11-2023, 14:48.
    kb9mfd
    Junior Member
    • Feb 2015
    • 6

    Ok, found the solution. Ran across this post - https://www.zabbix.com/forum/zabbix-...ports-from-gui - and found zabbix by default blocks all ports (except 22, 80, 443, 10050) and you have to do this command - "setsebool -P zabbix_can_network on" (Linux) to get it to allow all ports, after that it worked just fine.

    Comment

    • kb9mfd
      Junior Member
      • Feb 2015
      • 6

      #2
      Ok, found the solution. Ran across this post - https://www.zabbix.com/forum/zabbix-...ports-from-gui - and found zabbix by default blocks all ports (except 22, 80, 443, 10050) and you have to do this command - "setsebool -P zabbix_can_network on" (Linux) to get it to allow all ports, after that it worked just fine.

      Comment

      Working...