Page 1 of 2
Modetect Question
Posted: Wed Feb 24, 2010 3:30 pm
by kvincench
I have a question about zoneminder modetect mode. I know that modetect records motion and still events and you can auto generate section lengths to populate events. However, i want to only record motion, but when i do, the events generates, and a 2nd event will only generate if i toggle the source back to monitor.
Is there a way to have it record on modetect..and when motion ends for that event, it will then terminate. Following that, if motion occurs again..a 2ND EVENT will populate automatically.
Posted: Thu Feb 25, 2010 12:39 am
by bb99
What you want Modect to do is exactly what it will do on a working system. I believe section length is ignored when monitor is set to Modect also. Use your buffers tab settings to determine how many pre/post motion frames you want to record. Using Modect I will Have many thousand of individual events automatically populate over months until purge when full kicks in so I'd start looking for a problem. Start by increasing debug level and watch your log files for clues.
Posted: Thu Feb 25, 2010 3:02 am
by whatboy
Could be buffers, could be the zone... not being well configurated...
I myself, configured the zone with a 1/3 of what "best, high sensitivity" give you that will generate an event with the slight movement, but I increase the "Alarm Frame Count" to 8 so that way, false alarms are discarded... and increase the buffers too, so lots of short events are avoided...
Event Clearing
Posted: Thu Feb 25, 2010 2:09 pm
by kvincench
I have a question on clearing the events out to clear space on my hard drive. I know the events are stored in the zoneminder directory. However, when i clear that folder out, the disk usage still shows 25%. Where are all the events stored and how can i clear the disk usage and also have the event prefixes start all over from the beginning. Right now im at event 171 and i want to clear everything and start recording from event 1
Posted: Thu Feb 25, 2010 8:19 pm
by whatboy
you should not delete any files... instead You should run PurgeWhenFull filter... if it doesn't show an "*" is not running in the background...
Posted: Fri Feb 26, 2010 12:28 am
by bb99
Yes to what What boy said and if you need to delete individual or multiple events just bring up the monitor and use the tick boxes for individual deletions or use the tick box at the top to select all events, then single click the delete button at the bottom of the page. This will allow Mysql to be updated as to what files actually exist and keep that database up to date. Right now Mysql is tracking files that it doesn't know were deleted. Also, if you're using the fast delete option the database is updated immediately but the files have only been scheduled to be deleted when the system can afford the resources. You can also single click the numbers on the Zoneminder console any number of events for a single monitor or for all the monitors you have defined (the number of events that is loaded to a single page is controllable in the options tabs).
Purgewhen full
Posted: Mon Mar 01, 2010 1:18 pm
by kvincench
When you execute Purge when full...where do those files go on the zm box. Are those files compressed when archived. Because in other words, i would be archiving these because I am running out of space on the drive. I am guessing if i want to get them totally off the machine i would have to set up samba to route to a server.
However, the question i was asking before was...how do i get rid of these events totally so the Disk Use shows 0..or just includes the space used from the OS. I want to start fresh and clear it all
Posted: Mon Mar 01, 2010 1:21 pm
by jameswilson
if you delete them from the web ui they will be deletd by zm when it does its disk housekeeping.
Renumbering events to start at 0 is harder as you need to modify the underlying db. Unless you have a real need i wouldnt bother
Disk Housekeeping
Posted: Mon Mar 01, 2010 1:23 pm
by kvincench
Can i run diskhousekeeping or is that something that is done on a scheduled basis
Posted: Mon Mar 01, 2010 1:25 pm
by jameswilson
its done a sheduled basic.
Alternativly turn off fast delete and then as you delete events from the ui it will reomve the images as well from disk.
Fast delete
Posted: Mon Mar 01, 2010 1:28 pm
by kvincench
How do you turn fast delete on and off
Posted: Mon Mar 01, 2010 4:57 pm
by jameswilson
OPT_FAST_DELETE
Archives
Posted: Mon Mar 01, 2010 8:55 pm
by kvincench
I got most of the space off down to 25%, most of my allocated space was from events which are now clear. However, i am wondering if theres another directory to delete from or if this space is being used by a database. Where are the archives stored, possibly the space is being used there..i know that the OS doesnt take up alot of space at all
Posted: Mon Mar 01, 2010 9:02 pm
by coke
Or if you're using Ubuntu, there should be a Disk Usage Analyzer under accessories.
Posted: Mon Mar 01, 2010 9:43 pm
by jameswilson
if you have removed all the db entries then zm will clear up the image files.
What size drive is it?