-
Problem report
-
Resolution: Commercial support required
-
Major
-
None
-
3.4.12
-
None
-
None
-
ubuntu containers (official) on ubuntu
Steps to reproduce:
Trigger Template should count the number of values in the last 2 samples which equals "red". Trigger fires if greater than 1 ( so if both samples are "red" ).
Problem: {Infotech - vPoller Proxy - Template vSphere Host:vpoller["host.get", "{$VSPHERE.HOST}", "{HOST.CONN}","summary.overallStatus", "null"].count(#2,"red",eq)}>1
Result:
Trigger is NOT fired even if both samples are "red".
Expected:
Trigger should fire on both samples are "red".
Workaround:
Problem: (({Infotech - vPoller Proxy - Template vSphere Host:vpoller["host.get", "{$VSPHERE.HOST}", "{HOST.CONN}","summary.overallStatus", "null"].count(#2,red,iregexp*)*})=2)
Switching to iregexp/regexp works. The trigger fires if last two samples are "red".