Ad Widget

Collapse

Parsing json result and acting upon it

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rchav
    Junior Member
    • Jan 2026
    • 1

    #1

    Parsing json result and acting upon it

    Hi and thanks in advance for any help you may provide. Using version 7.4 (docker).

    I have a web api I want to monitor. It returns a json object where one of the elements contains a string that I want to parse. If the value of this string is X the result is ok, but if it is Y or Z, it is not and I will like to get an alert.

    For the most part I was able to create the host and entered a web monitoring step. But I don't understand how to parse the json response.

    I'm relatively new to zabbix.

  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4832

    #2
    You do not need a web monitoring. You need HTTP item, which gets your json, what you need to preprocess a bit to get the actual value, what you need and then you can build trigger(s) based on that value.

    Comment

    Working...