Ad Widget

Collapse

Zabbix 3.0 triggering from web monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • trashter
    Junior Member
    • May 2017
    • 1

    #1

    Zabbix 3.0 triggering from web monitoring

    Is it possible to get trigger based on web monitor variable value in any way?

    I want to get value from webpage element and trigger information based on that value

    I tried creating Macro which apparently is global but constant
    I tried passing variable created in session and steps but it seems to be out of scope
    I tried using logs but couldn't find where to pass commands?
  • ovas
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Apr 2017
    • 138

    #2
    Hello trashter!

    Web monitor items produce only 0/1 results - it either passes, or not. Web check scenario produces stuff like response times, codes and download speed as well.
    The variables you collect during specific steps are only used within web scenario.

    For your use case I would offer to create SSH or external script check that would only curl/wget the page and grep the desired part. You can build triggers for the returned values that way.

    Comment

    Working...