Page 1 of 1

Zoneminder filter actions

Posted: Tue May 23, 2006 7:47 am
by rchurch
Is it possible run all the actions specified in a filter, and do they run in the order listed?

Posted: Wed May 24, 2006 4:43 pm
by zoneminder
Yes you can select as many as you like. I think they are pretty much in a rational order, e.g. it won't delete until last, and only then if the previous actions worked. So if the upload fails then the event will not be deleted.

Posted: Wed May 24, 2006 4:57 pm
by jameswilson
Thats good i didnt know that myself

Posted: Thu May 25, 2006 6:30 pm
by rchurch
I just applied a filter that Archives, Create Videos and Deletes, but I can't find the videos and archives in the web interface.

I thought Archiving and Videoing would just delete the jpegs and leave the created videos present in the interface, but somewhat separated or distinguished from the current events

Posted: Fri May 26, 2006 2:36 pm
by zoneminder
Archiving just flags the events as 'archive' and a bit more precious. You need to 'upload' probably if you want them saved somewere. Creating videos will create the vid in the event directory, which in your filter, is then deleted!

Deletion removes everything related to the event, files and db entries alike.

Posted: Tue May 30, 2006 5:25 am
by sick347
Is there a way to set a "pointer" to a path that you would like to upload the archieved events too?

thanks
-frank

Posted: Tue May 30, 2006 8:16 am
by zoneminder
There is the ZM_UPLOAD_FTP_REM_DIR option. Does this not do what you are after?

Posted: Tue May 30, 2006 1:55 pm
by sick347
Yeah I saw that, cool feature.

What I'd like to do is to move the archived events off the local HDD to an external HDD (like an external USB HDD). I'd like to keep all the archive features that enable auto archiving etc.

I guess I can run the archive tool THEN run the FTP tool....BOTH automatically and in that order?


thanks
-frank

Posted: Tue May 30, 2006 3:31 pm
by zoneminder
I'm not sure I quite understand what you are trying to do. The 'archive' element of filters just sets a bit in the db saying the event is archived, and is therefore a little more protected from being deleted etc and easier to access. It doesn't go anywhere else.

Posted: Tue May 30, 2006 4:44 pm
by sick347
ok I see what you are saying.

I need to move the events OFF the local system to an external HDD.

For instance, when my local system's HDD becomes ~80% FULL I need to keep the events but I also need to MOVE them OFF the local system to a long term storage medium.

Is there a method to do this within zoneminder?

-frank

Posted: Thu Jun 01, 2006 3:53 pm
by zoneminder
Using ftp to upload them and delete is the builtin method. However you can create a script to do anything you like and apply this in a filter. E.g. if you wanted to rsync them instead then this would be the place to do it.

Ross (rdmelin) created a script that would save the associated db information which would probably be useful if you ever wanted to reimport the events into ZM in the future. I can't remember the link but if you look for his recent posts you should find it.