This configuration file just checks for a single pattern in /var/adm/messages. If found it echoes something in the output file.
The pattern it looks for is "toto was here", this pattern is used in event called TotoEvent associated with Action1 via ordre1.
Kazimir: LogFile = /dev/tty ; EventDir = /tmp/eventdir ; OutputDir = /tmp/outputdir ;\
LockFile = /tmp/kazimir.lock ; EventUpdateInt = 5
Log: Name = totolog ; Type = ASCII ; Path = /var/adm/messages ; TimeFormat=%b %e %H:%M:%S;
Pattern: Name =Toto; RegExp =toto was here; Log = totolog ;
Event : Name =TotoEvent; Window = 30 ;
Begin
Toto
End
Order: Name = ordre1 ; Event =TotoEvent; Action = Action1 ;
Action: Name = Action1 ; Path = echo "Toto was here !!" ;
Now, run kazimir with this configuration file, then use logger -p user.err 'toto was here' and see kazimir working 2.5