Is my PurgeWhenFull filter working?

Support and queries relating to all previous versions of ZoneMinder
Locked
rchurch
Posts: 31
Joined: Thu Feb 16, 2006 3:55 pm

Is my PurgeWhenFull filter working?

Post 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?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
dyuen
Posts: 16
Joined: Mon Jul 10, 2006 5:58 pm

Post 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.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
Locked