title: zabbix - last 3 values of string
body: <p>I have an Item scanning for the text in a log file which returns "Up".  I want a trigger that if the last 3 times it looks the value isn't "Up" to alert.</p>
  
  <p>Right now I have this:</p>
  
  <pre><code>{Template_App_SWIFT:vfs.file.regexp[D:/tmp/snl_status.log,"^Subsystem  Connectivity is  *([A-Z][a-z]*)",,9,9,”\1”].str(Up)}=0
  </code></pre>
  
  <p>However this only captures the most recent value.</p>