Ad Widget

Collapse

Web checks API call

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Big Bertje
    Junior Member
    • May 2021
    • 4

    #1

    Web checks API call

    Hello

    I'm trying to get our web checks using the API so we can visualize it in a graph. I managed to create the httptest.get api call but the status shows 0 on each webcheck even though 1 of them is having an error. Is this status field not used for showing response status? If not how do I besst go at calling the web scenarios for graphing?

    Thanks in advance!
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2

    status integer Whether the web scenario is enabled.
    Possible values are:
    0 - (default) enabled;
    1 - disabled.
    And if you want to draw graphs then you should look for items, not for scenarios.

    Comment

    Working...