Ad Widget

Collapse

Email notifications with custom variables

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • geostant
    Member
    • Feb 2015
    • 32

    #1

    Email notifications with custom variables

    I've an item that monitor log file,
    and another item that run log.count on the same file.

    My trigger is set to alert if count > 0
    and recover when count = 0

    In my action I would like to get the value of the last log line
    that match the regex but I actually get the count value since it triggered the alert.

    Is there a way to achieve such thing that use one trigger but actually send the value of another item ?
Working...