Ad Widget

Collapse

ScreenConnect (Control) - Sending Web Request Trigger (JSON) to Zabbix API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zablab
    Junior Member
    • Jan 2022
    • 28

    #1

    ScreenConnect (Control) - Sending Web Request Trigger (JSON) to Zabbix API

    I'm having some issues sending a Web Request trigger from Screen Connect, now called Control.

    Hoping to set up a trigger that will kick off a Zabbix Script when that trigger is...triggered.

    I am able to send JSON requests from Visual Studio, Postman & curl.

    At this point I don't know if it's a formatting issue or issue with how Control is sending the JSON request. If anybody has any insight into this I'd be grateful.

    I've tried using additional Brackets, formatting styles, etc. - It appears in Screen Connect it stores the trigger settings in an XML document.

    Here's what I'm trying to send from the Control trigger, which works with other solutions:

    URL: http://x.x.x.x/zabbix/api_jsonrpc.php
    HTTP Method: GET
    Content Type: application:json
    Body: {"jsonrpc":"2.0","method":"script.execute","params ":{"scriptid":"12","hostid":"10271"},"auth":"s uper-secret-authcode","id":1}


    I tried using "Content-Type": "application/json; charset=UTF-8" for Content type, I also tried using the following, which works with curl:

    curl -H "Content-Type:application/json" -d {"jsonrpc":"2.0","method":"script.execute" ,"params":{"scriptid":"12","hostid":"1027 1"},"auth":"super-secret-authcode" ,"id":1} http://x.x.x.x/zabbix/api_jsonrpc.php


  • Zablab
    Junior Member
    • Jan 2022
    • 28

    #2
    Update: We've since updated Zabbix to 6.x but still not able to get WebHooks from ScreenConnect working. Thinking it's an issue with SC. If a fix is found will try to update with fix as getting this working.

    Comment

    Working...