|
A chronological composite event
Next: Re-spawning a dead process
Up: A boolean composite event
Previous: A boolean composite event
Contents
I will not comment this one to much. Here, we look for Titi within 10 seconds after Toto.
Kazimir: LogFile = /dev/tty ; EventDir = /tmp/eventdir ; OutputDir = /tmp/outputdir ;\
LockFile = /tmp/kazimir.lock ; EventUpdateInt = 5
Log: Name = syslog ; Type = ASCII ; Path = /var/adm/messages ; TimeFormat=%b %e %H:%M:%S;
Pattern: Name =Toto; RegExp =toto was here; Log = syslog ;
Pattern: Name =Titi; RegExp =titi was here; Log = syslog ;
Event : Name =TotoTitiEvent; Window = 30s;
Begin
Toto
Titi ; Delay = 10s
End
Order: Name = ordre1 ; Event =TotoTitiEvent; Action = Action1 ;
Action: Name = Action1 ; Path = echo "Toto was here, with Titi !!" ;
Philippe Deniel
2008-07-22
|