Page 1 of 1

PurgeWhenFull - can't setup

Posted: Wed Apr 02, 2008 6:33 pm
by boppen
Hello!

I'm running 1.23.0, and I have been trying to configure the PurgeWhenFull filter - but I can't figure out how to do. I've read som about it here on the forum but I can't find the options I should use, see the screenshot below.

Image

Thanks for any help, Boppen!

Posted: Wed Apr 02, 2008 10:22 pm
by Lee Sharp
I found that to... How are you running it? Mine is Peter's debs... Anyway, open up the filter window fresh, and leave it on "choose filter." Add a second line. Now make it look like this.

Code: Select all

             Archive Status            =               Unarchived Only
  and        Disk Percent              >=              90
----------------------------------------------------------------------
Sort by     ID           Asc           limite to first      50
Then check "delete" and save as PurgeWhenFull and run in background.

archived

Posted: Thu Apr 03, 2008 12:28 pm
by darkpaw
You may also want to make sure you add the condition of not being archived, as well. Unless you don't care if archived events are blown away. :)

Fix should be soon

Posted: Thu Apr 03, 2008 4:50 pm
by Kushnirenko
See http://www.zoneminder.com/forums/viewtopic.php?t=11034 for detail. You can take patch from there.

I think the fix is going to show up in next release. Meanwhile it may be much easier to create xPurgeWhenFull by hand. After all it is just another filter script which triggers when 95% of disk is full.

Re: archived

Posted: Thu Apr 03, 2008 8:13 pm
by Lee Sharp
darkpaw wrote:You may also want to make sure you add the condition of not being archived, as well. Unless you don't care if archived events are blown away. :)
That was the first line, by the way. :)

oops

Posted: Fri Apr 04, 2008 12:45 pm
by darkpaw
OOPS, yeah, I misread the copy/paste. My bad.

Point still stands, though...think of it as reenforcing the obvious. :)