Subdirectory names in ZM_DIR_EVENTS

Support and queries relating to all previous versions of ZoneMinder
Locked
jonatha
Posts: 21
Joined: Sun Jul 10, 2005 9:27 pm

Subdirectory names in ZM_DIR_EVENTS

Post 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...)
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: Subdirectory names in ZM_DIR_EVENTS

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

Re: Subdirectory names in ZM_DIR_EVENTS

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