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?
Problem deleting events
-
- Posts: 1322
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Problem deleting events
Code: Select all
sudo zmaudit.pl
Re: Problem deleting events
Thanks:
But installation has thousands of entry's in the database. And they remain.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
-
- Posts: 1322
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Problem deleting events
You can make a filter to do it...I've had to do that a couple times.
Re: Problem deleting events
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.
The best way is to use a filter and just let it run.