Hi.
Maybe I've got this wrong, but I though that if you saved a filter with the "auto delete" function checked, then the filter would be run at regular intervals and the matching events would be deleted. If that's true, then how do you make it work? My filter's just sat there for days and done nothing. The "upload filters" setting is 300 (seconds?).
What's wrong?
Ben G.
Auto filter
- lazyleopard
- Posts: 403
- Joined: Tue Mar 02, 2004 6:12 pm
- Location: Gloucestershire, UK
Look in the zmfilter.log log file to see what's being done. You may find error messages reported there rather than in /var/log/messages (or syslog, or wherever). If it's working you'll see lines like this:
Code: Select all
Deleting event 66850
Deleting event 67161
Deleting event 67296
Rick Hewett
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
I think I've found the problem.
/tmp/zmdc.log repeats the following at 5min intervals:
==============
Starting pending process, zmfilter.pl
'zmfilter.pl' starting at 04/10/19 16:59:36, pid = 11187
'zmfilter.pl' started at 04/10/19 16:59:36
Can't locate MIME/Entity.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl) at /usr/local/bin/zmfilter.pl line 87.
BEGIN failed--compilation aborted at /usr/local/bin/zmfilter.pl line 87.
'zmfilter.pl ' crashed at 04/10/19 16:59:42, exit status 2
=============
What am I missing?
Ben G
/tmp/zmdc.log repeats the following at 5min intervals:
==============
Starting pending process, zmfilter.pl
'zmfilter.pl' starting at 04/10/19 16:59:36, pid = 11187
'zmfilter.pl' started at 04/10/19 16:59:36
Can't locate MIME/Entity.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl) at /usr/local/bin/zmfilter.pl line 87.
BEGIN failed--compilation aborted at /usr/local/bin/zmfilter.pl line 87.
'zmfilter.pl ' crashed at 04/10/19 16:59:42, exit status 2
=============
What am I missing?
Ben G
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
You are missing the 'MIME::Entity' perl module!
I think the essentials of how to install in are in the README (maybe the Troubleshooting section?) but in essence run
to start the perl package manager and then just do
and then quit. If it's your first time running it it will ask you a bunch of questions, just accept the defaults but if it asks you about installing a new Bundle I would defer at this point as it might take a while.
Phil,
I think the essentials of how to install in are in the README (maybe the Troubleshooting section?) but in essence run
Code: Select all
perl -MCPAN -eshell
Code: Select all
install MIME::Entity
Phil,