Ad Widget

Collapse

Zabbix 4.4.8 - HTTP Request error using js with WebHook for VIctorOps Integration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • damiancancela
    Junior Member
    • May 2020
    • 14

    #1

    Zabbix 4.4.8 - HTTP Request error using js with WebHook for VIctorOps Integration

    Hi guys,

    I'm trying to setup VictorOps integration in our company using Zabbix 4.4.8 with WebHooks MediaType.
    I'm following this guide
    https://help.victorops.com/knowledge...x-integration/
    In Zabbix Server we do not have direct connectivity to alert.victorops.com so we need to use a proxy for that.

    So, reading some zabbix documentation I found out that we could specify proxy url to a CurlHTTPRequest object using SetProxy method.
    https://www.zabbix.com/documentation...script_objects

    But the thing is that when I try to test the webhook with the js script that has the SetProxy method it shows me this error:

    Click image for larger version

Name:	zabbix.png
Views:	676
Size:	27.0 KB
ID:	402031



    The js script its similar as the one you can find in the victorops guide.
    Can you help me with this? Did you create a webhook using js with a proxy?

    Thanks

  • damiancancela
    Junior Member
    • May 2020
    • 14

    #2
    Hi team, it seems that the SetProxy method is not avaiable in CurlHttpRequest for v 4.4.8, only available in v5.
    I really need a solution but i'm not able to upgrade it to v5.
    Someone has an answer on how to create a webhook mediatype with a proxy request over a proxy?

    I tried some things but I can not find a solution. Any help will be great.

    Thanks alot!

    Comment

    • damiancancela
      Junior Member
      • May 2020
      • 14

      #3
      Unfortunately still no solution for this, VictorOps support team is still trying. Someone from here have some idea?

      Thanks

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        If you continue to use Zabbix 4.4, consider how to make a request using Custom alertscripts.

        Comment

        Working...