Ad Widget

Collapse

Item Creation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bitbucket
    Junior Member
    • Sep 2020
    • 18

    #1

    Item Creation

    When creating an HTTP Agent Item, how/where is the check actually performed? If I have a True/False status value contained in the $.status jsonpath, how is pass/fail determined?
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4806

    #2
    https://www.zabbix.com/documentation...itemtypes/http
    Check is performed by server/proxy, whichever keeps track of that host.. HTTP item just retrieves data. I guess based on your example here, you pull a json document and then extract a value from it ($.status) with preprocessing. That value is saved as item value. After that you can use the value in triggers.

    Comment

    Working...