Hi Risto,

just to confirm here - it worked!

Thanks a lot

Sven

> 
> I actually meant to set up three rules in the following manner:
> 
> type=Calendar
> time=* * * * *
> desc=heartbeat check
> action=event HEARTBEAT_CHECK
> 
> type=SingleWithThreshold
> ptype=RegExp
> pattern=^MYEVENT$
> desc=OK received
> action=event SUFFICIENT_NO_OF_MYEVENTS
> action2=event SUFFICIENT_NO_OF_MYEVENTS
> window=60
> thresh=3
> 
> type=PairWithWindow
> ptype=SubStr
> pattern=HEARTBEAT_CHECK
> desc=NOK received
> action=write - %s
> ptype2=SubStr
> pattern2=SUFFICIENT_NO_OF_MYEVENTS
> desc2=OK received
> action2=write - %s
> window=60
> 
> In other words, the first rule generates HEARTBEAT_CHECK events that 
> inititate the check, while the second rule creates SUFFICIENT_NO_OF_MYEVENTS 
> events that end the check.
> Is the overall idea clearer now? Note that it is only one way for addressing 
> the problem - there might be other ones which suit better to your needs.
> regards,
> risto

------------------------------------------------------------------------------
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to