Hi guys

I was using the event group method to check the interval between events. So
I use:

type=EventGroup
ptype=RegExp
thresh=2
window=10
pattern=\"deploymentId\"\s+=>\s+(\S+)deployment#(\S+)\",
desc=CHECK_INTERVAL_$2
action=assign %deploymentId $2;\
       create deploymentId_$2;\
       create DEPLOYMENTID_CONTEXT;\
       reset 0 %s;\
write - $2 heart beats heard within 10s.
end=write - $2 not heard for 10s since last receive event.

When I sent two events within 10s:

"deploymentId" => dsrgdeployment#srb_2",
"deploymentId" => dsrgdeployment#srb_2",

It gives me : "srb_2 heart beats heard within 10s".

But the second event did not trigger an end action like "srb_2 not heard
for 10s since last receive event", which I hope it should do.

Can anyone help?

Thanks.
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to