Ad Widget

Collapse

Create trigger for web.page.get & weg.page.regexp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jpmorgan29
    Junior Member
    • Apr 2018
    • 9

    #1

    Create trigger for web.page.get & weg.page.regexp

    I have a question about creating triggers.

    I have keys such as:
    web.page.regexp[<server>,<path>,<port>,({.+}),,\0]

    with JSON preprocessing: $.status (example)
    which has the output: Normal

    This works and that's cool. But how can I make a trigger from this. Let's say, it has to trigger when the output != 'Normal'.
    At first I thought I put it in a Macro but how can I assign the '$.something' part to it as well then?
    If anyone knows, please help me with this.
Working...