Page 1 of 1

Subdirectory names in ZM_DIR_EVENTS

Posted: Thu Apr 21, 2011 1:22 pm
by jonatha
There is a subdirectory under ZM_DIR_EVENTS for each monitor (camera), with both numbers and softlinks with the monitor names.

In the directory for a particular camera, events are placed in subdirectories whose names are 6-digit numbers (e.g.,

$ ls /var/cache/zoneminder/events/Parking_lot
109227 402355 416701 770619 770641 770665 770688 770707 770727
109230 402358 416705 770623 770647 770669 770690 770710
109235 416687 416712 770626 770654 770676 770695 770714
347419 416691 770611 770633 770658 770678 770697 770718
402349 416697 770614 770637 770661 770684 770704 770723
...)

Is the subdirectory naming convention predictable? (It doesn't look like it...)

Re: Subdirectory names in ZM_DIR_EVENTS

Posted: Sat Apr 30, 2011 12:00 pm
by mastertheknife
Hi,

Turn on deep storage in ZoneMinder settings to get what you seem to be looking for.

EDIT: Oops, ignore that, forgot this is a 1.23.x forum, my bad.

mastertheknife

Re: Subdirectory names in ZM_DIR_EVENTS

Posted: Fri May 06, 2011 11:57 pm
by cordel
The six digit numbers you are questioning are the events ID's as generated by mysql. The softlinks are of coarse the name you specify for the cam when you configure it and are used mostly for the export routine.
So yes they are perdictable in a since but depends on what event takes place on what monitor. These can be queried though through the database.