Page 1 of 1

Problem deleting events

Posted: Sun Oct 24, 2021 9:26 pm
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?

Re: Problem deleting events

Posted: Sun Oct 24, 2021 9:41 pm
by dougmccrary

Code: Select all

sudo zmaudit.pl

Re: Problem deleting events

Posted: Mon Oct 25, 2021 5:37 am
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.

Re: Problem deleting events

Posted: Mon Oct 25, 2021 9:54 am
by dougmccrary
You can make a filter to do it...I've had to do that a couple times.

Re: Problem deleting events

Posted: Mon Oct 25, 2021 12:32 pm
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.