Ad Widget

Collapse

Web scenario response as input for item preprocessing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Felix Schäfer
    Junior Member
    • Mar 2021
    • 4

    #1

    Web scenario response as input for item preprocessing

    I use web scenarios to monitor several API calls.
    Is there an option to somehow extract information from the web scenario steps?

    For example I get a JSON list as response for one web scenario step.
    I can validate the response ba string compare. But I want to define an item that counts the entries of that JSON list.
    As I can see there is no preprocessing in the web scenarios.
    My goual is to measure the length of the list to trigger an alarm if the length changes significantly.

    An other way I considered is to extract the response to an variable/macro, that i can use to calculate an item to use in an trigger.

    I use Zabbix version 5.0
Working...