Page 1 of 1

Is my PurgeWhenFull filter working?

Posted: Tue Jul 18, 2006 7:57 am
by rchurch
Whenever I do a submit on my PurgeWhenFull filter, the same records keep showing up, and it makes me wonder if there isn't something wrong there.

My ZM_FILTER_EXECUTE_INTERVAL is set to 60 secs and I think that everytime I run it new records should show up.

What could be wrong?

Posted: Tue Jul 18, 2006 8:01 am
by jameswilson
if your filter is set to 60 seconds then that should be run and the events removedevery 60 seconds, assuming yu have selected auto delete events when saving the purgewhenfull filter

Posted: Tue Jul 18, 2006 5:25 pm
by dyuen
1.When you are in the filter window, select use filter to PurgeWhenFull,
2.click on save
3.another window pops up
4.enter a new name
5.put a check mark on automatically delete all matches
6.click save button at the buttom right hand corner of the window that appeared in step 3.

Posted: Tue Jul 18, 2006 11:20 pm
by cordel
Just to elaborate:
When you open the filter window and select the purgewhenfull filter, the submit button only returns the events that would be selected by the filter. This way you can see what would be selected from your filter that you might create. Any functions you might have set including delete events are not performed except when the filter runs the query.

Regards,
Corey

Posted: Thu Jul 20, 2006 3:02 pm
by zoneminder
If you look in zmfilter.log you should be able to see what it is doing, and deleting. If you need a bit more information edit zmfilter.pl and change the DBG_LEVEL value to 1, then restart zmfilter.pl This will include details of when the filters are reloaded etc.