Ad Widget

Collapse

Zabbix action - API request and attaching JSON result

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • slpefanis
    Member
    • Jan 2020
    • 52

    #1

    Zabbix action - API request and attaching JSON result

    Hi all.

    I am trying to integrate Zabbix with our helpdesk/ticketing system. Ideally what i would like to do is:
    1. problem occurs, zabbix runs an API curl script
    2. Zabbix takes JSON result and stores an incident ID from the ticketing system.
    3. When problem is resolved, zabbix runs another CURL script using the incident ID as a parameter.
    I can kind of work out how to run the script, but not sure how to parse the JSON and attach the data to the problem, or how to use it in a new script.

    Appreciate any direction
Working...