Isaac Connor
|
07af49511c
|
Load Storage Object so that we can print it's path
|
2015-12-24 15:33:46 -05:00 |
Isaac Connor
|
92ddd57942
|
include storage path when saying an event is too young to delete
|
2015-12-24 15:28:36 -05:00 |
Isaac Connor
|
ec0d6359a0
|
Merge branch 'newpointone' of isaac.internal.point-one.com:ZoneMinder.p1 into newpointone
|
2015-12-24 15:26:24 -05:00 |
Isaac Connor
|
177ed076a7
|
Make zmaudit only look at storage areas that are local
|
2015-12-24 15:25:56 -05:00 |
Isaac Connor
|
492550b5ef
|
Merge branch 'storageareas' into newpointone
Conflicts:
scripts/zmaudit.pl.in
|
2015-12-24 12:36:40 -05:00 |
Isaac Connor
|
c174d74987
|
Set MOnitorId and StorageID because the Event does not exist in the db
|
2015-12-24 12:36:16 -05:00 |
Isaac Connor
|
ac0425d14b
|
sort events before testing and deleting. Makes the output easier to grok
|
2015-12-22 15:08:38 -05:00 |
Isaac Connor
|
12a5621fb8
|
remove deleted event from fs_events hash so that we don't do it more than once
|
2015-12-22 14:31:24 -05:00 |
Isaac Connor
|
39bcb20dac
|
Skip directories that have non-digits in them
|
2015-12-22 12:59:37 -05:00 |
Isaac Connor
|
9ad22d9ee5
|
have to set the MonitorId on events that don't exist in db
|
2015-12-22 12:55:55 -05:00 |
Isaac Connor
|
bc4ce4f009
|
add Event require and document lgob behaviour and skip monitor dirs that have anything other than digits in them
|
2015-12-22 12:35:25 -05:00 |
Isaac Connor
|
06a5a6d879
|
rough in Storage area support
|
2015-12-22 11:50:29 -05:00 |
Isaac Connor
|
4a506368dc
|
Fix zmaudit sleeping and deleting Empty Events now that Frames also has an Id field
|
2015-10-06 09:30:10 -04:00 |
Isaac Connor
|
8eb5e53aad
|
Remove with {ZM_PATH_SWAP}
|
2015-05-14 10:27:11 -04:00 |
Isaac Connor
|
3709ac411d
|
Not having ZM_AUDIT_MIN_AGE should be fatal
|
2015-05-13 12:36:35 -04:00 |
Isaac Connor
|
950cd06535
|
Revert "Revert "Switch from a MIN_AGE constant in zmaudit.pl to using a ZM_AUDIT_MIN_AGE Config setting""
This reverts commit 9c73b7247c .
|
2015-05-13 11:38:55 -04:00 |
Isaac Connor
|
9c73b7247c
|
Revert "Switch from a MIN_AGE constant in zmaudit.pl to using a ZM_AUDIT_MIN_AGE Config setting"
This reverts commit a5fed03524 .
|
2015-05-13 11:37:13 -04:00 |
Isaac Connor
|
a5fed03524
|
Switch from a MIN_AGE constant in zmaudit.pl to using a ZM_AUDIT_MIN_AGE Config setting
|
2015-05-13 11:33:22 -04:00 |
Dmitry Smirnov
|
4bb8043fe5
|
zmaudit.pl: PBP/5 + readability
|
2015-04-10 20:34:17 +10:00 |
Dmitry Smirnov
|
aeb3486322
|
zmaudit.pl: convert to pod2usage
|
2015-04-10 20:34:17 +10:00 |
Isaac Connor
|
20fec3ed7a
|
According perldoc DBI we should NOT be calling finish after processing all rows.
|
2015-02-04 11:15:31 -05:00 |
Isaac Connor
|
71c94475ff
|
Add -v --version command line parameters to zmaudit.pl
|
2015-01-06 21:08:41 -05:00 |
Isaac Connor
|
9eb88d3f15
|
add a check for db connection to handle the db going away and coming back
|
2014-10-15 09:43:00 -04:00 |
Isaac Connor
|
48a6dcf5ce
|
Change COnfig from using the subroutine symbol table to just using a global hash
|
2013-12-16 16:32:02 -05:00 |
stan
|
f74f893651
|
Added low_priority qualifier to some audit statements to avoid pre-empting more important operations.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3508 e3e1d417-86f3-4887-817a-d78f3d33393f
|
2011-08-26 09:51:13 +00:00 |
stan
|
b7ca4dba77
|
Fixed a few more incorrectly quoted split patterns, though these were not disfunctional.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3505 e3e1d417-86f3-4887-817a-d78f3d33393f
|
2011-08-26 07:51:36 +00:00 |
stan
|
9f6c9fe0dc
|
Detect and clean broken event links
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3472 e3e1d417-86f3-4887-817a-d78f3d33393f
|
2011-06-28 11:05:03 +00:00 |
stan
|
6ff385e407
|
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3459 e3e1d417-86f3-4887-817a-d78f3d33393f
|
2011-06-21 09:19:10 +00:00 |
stan
|
4121d5f5de
|
Restructured slightly to workmore efficiently and require fewer passes for full cleanups. Also added tests for hanging monitor symbolic links and events left behind when monitors are removed.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3327 e3e1d417-86f3-4887-817a-d78f3d33393f
|
2011-04-19 13:01:45 +00:00 |
stan
|
331c6ca9cc
|
Fixed typo in audit script
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3064 e3e1d417-86f3-4887-817a-d78f3d33393f
|
2010-05-27 12:17:53 +00:00 |
stan
|
3428fc48f5
|
Updated EVENT_PATH for absolute event paths
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3041 e3e1d417-86f3-4887-817a-d78f3d33393f
|
2010-02-28 22:03:27 +00:00 |
stan
|
fd4ee47e00
|
Fixed mislabelled SQL sth.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3016 e3e1d417-86f3-4887-817a-d78f3d33393f
|
2010-02-07 17:54:11 +00:00 |
stan
|
3303216e7c
|
Fixed issues with detecting some unclosed events and added check for orphaned events.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2969 e3e1d417-86f3-4887-817a-d78f3d33393f
|
2009-10-08 20:23:45 +00:00 |
stan
|
11a1cc2d41
|
Now supports custom perl install path
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2908 e3e1d417-86f3-4887-817a-d78f3d33393f
|
2009-06-08 09:11:56 +00:00 |