Was thinking the same, since some other permutations of '*' wasnt working 
either. 

Is there any other way i can accomplish what i seek ??
Would really appreciate the help. 

Thanks

Anuj


On Tuesday, February 18, 2014 10:29:04 AM UTC-8, dan (ddpbsd) wrote:
>
> On Tue, Feb 18, 2014 at 1:27 PM, Anuj AJ <[email protected] <javascript:>> 
> wrote: 
> > Greetings 
> > 
> > I have OSSEC 2.7 server agent setup and have been trying to have the 
> agent 
> > ignore some specific directories. 
> > So far the test cases have been successful, but im stuck on this in 
> > particular - 
> > 
> > Trying to ignore the directories - 
> > 
> > /home/foo/foofoo/*/tmp 
> > 
> > by * i mean all the directories underneath 'foofoo', have subdirectory 
> 'tmp' 
> > that i want to ignore/exclude. 
> > 
> > currently i have this under the agent config 
> > 
> >     <ignore type="sregex">^/home/smartbiz/releases/*/tmp</ignore> 
> > 
>
> I don't believe "*" is valid sregex. 
>
> > Doesnt seem to work :( 
> > 
> > Please help. 
> > 
> > Thanks 
> > AJ 
> > 
> > 
> > -- 
> > 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "ossec-list" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to