Problem deleting events

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
Sigge
Posts: 116
Joined: Mon May 02, 2016 8:14 am

Problem deleting events

Post by Sigge »

I have a bit of trouble clearing the server of events. Since I have a lot, I tried deleting everything from the zoneminder events area. So there are no files anymore.

But zmaudit seems to do nothing. Nor does restarting zoneminder or rebooting the server.

How am I supposed to run zmaudit? I just run it with sudo?
dougmccrary
Posts: 1322
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Problem deleting events

Post by dougmccrary »

Code: Select all

sudo zmaudit.pl
Sigge
Posts: 116
Joined: Mon May 02, 2016 8:14 am

Re: Problem deleting events

Post by Sigge »

Thanks:
2021-10-25 07:35:18.006841 zmaudit[12351].INF [main:199] [Auditing All Storage Areas]
Deleted 9 log table entries by time
Deleted 0 log table entries by time
But installation has thousands of entry's in the database. And they remain.
dougmccrary
Posts: 1322
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Problem deleting events

Post by dougmccrary »

You can make a filter to do it...I've had to do that a couple times.
User avatar
iconnor
Posts: 3197
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Problem deleting events

Post by iconnor »

zmaudit will only delete older events as in more than a day old, controlled by the Options->System->ZM_AUDIT_AGE

The best way is to use a filter and just let it run.
Post Reply