Isaac Connor
|
79cede7cac
|
Merge branch 'release-1.34'
|
2021-04-20 09:24:49 -04:00 |
Isaac Connor
|
ed58447c4d
|
Only update event StorageId when the new StorageId has a value
|
2021-04-19 17:53:08 -04:00 |
Isaac Connor
|
3bdd3c0d12
|
Move event summaries to their own table to reduce contention on Monitor_Status
|
2021-04-09 10:16:35 -04:00 |
Isaac Connor
|
0aef0adf48
|
Fix more Monitors.Id => Monitor_Status.MonitorId
|
2020-11-11 11:32:54 -05:00 |
Isaac Connor
|
330023f65b
|
Move Events totals to Monitor_Status instead of Monitors
|
2020-11-11 09:30:39 -05:00 |
Isaac Connor
|
adbd3486bf
|
Rename StartTime, EndTime in Events to StartDateTime and EndDateTime
|
2020-11-04 13:49:39 -05:00 |
Isaac Connor
|
5bea68c93d
|
add comment and improve logging of figuring out event starttime from youngest file
|
2020-07-28 10:35:28 -04:00 |
Isaac Connor
|
4758b2304a
|
Do not alter the start time of an event
|
2020-02-11 15:02:12 -05:00 |
Isaac Connor
|
1add3a4bb4
|
Add an update to Storage DiskSpace.
|
2019-12-02 15:04:01 -05:00 |
Isaac Connor
|
8d75cba444
|
quotes, spacing. Fix closing events on monitors other than the specified on the command line monitor
|
2019-11-06 20:58:07 -05:00 |
Isaac Connor
|
766a59884d
|
Don't hard code perl path. Use PERL_EXECUTABLE cmake var
|
2019-09-23 12:54:27 -04:00 |
Isaac Connor
|
52c17f9651
|
Set event_path to '' to prevent warnings
|
2019-09-17 10:27:38 -04:00 |
Isaac Connor
|
571082ff95
|
StorageId clears Path
|
2019-09-03 12:55:31 -04:00 |
Isaac Connor
|
403ece42dd
|
fix backticks
|
2019-08-28 09:03:45 -04:00 |
Isaac Connor
|
da15d1b6d6
|
add a check when saveJPEGs isn't set to determine whether jpegs exist and update saveJPEGs appropriately
|
2019-08-27 15:18:28 -04:00 |
Isaac Connor
|
5f5d5f691a
|
Add backticks for mysql 8
|
2019-08-25 12:30:06 -04:00 |
Isaac Connor
|
f0e5a435cf
|
spacing and quotes, but the main change is using aud_print instead of Info
|
2019-05-06 10:04:53 -04:00 |
Isaac Connor
|
9a70dff143
|
to single quotes, include monitor Id when logging the closing of an event
|
2019-03-28 09:43:17 -04:00 |
Isaac Connor
|
18f1881ffd
|
spacing
|
2019-03-18 17:13:19 -04:00 |
Isaac Connor
|
5060358870
|
Merge branch 'master' into storageareas
|
2018-12-29 09:56:53 -05:00 |
Andrew Bauer
|
3258d8e590
|
remove ZM_DIR_IMAGES (#2374)
|
2018-12-29 09:52:58 -05:00 |
Isaac Connor
|
14272a42b4
|
fix use of getcwd in delete_empty_subdirs. We use absolute paths
|
2018-12-03 11:08:24 -05:00 |
Isaac Connor
|
1a85e282e2
|
use find_one instead of new. We seem to be comparing against unfound event objects
|
2018-11-29 10:09:49 -05:00 |
Isaac Connor
|
4625f7c879
|
Merge branch 'master' into storageareas
|
2018-11-28 10:46:49 -05:00 |
Isaac Connor
|
6de704922c
|
Set scheme to '' if undefined to quiet warnings
|
2018-11-27 17:01:49 -05:00 |
Isaac Connor
|
e15bbba090
|
Make debug line more useful by printing out the containing directory
|
2018-11-26 15:45:05 -05:00 |
Isaac Connor
|
b3703a5eed
|
Check in db a second time for the event. Long running zmaudits can find an event in the fs that was created after we loaded all the db events.
|
2018-11-26 15:16:10 -05:00 |
Isaac Connor
|
7fb0e1eaf7
|
Cache All StorageAreas and just to next event if we find the event somewhere other than where it should be.
|
2018-11-26 15:02:34 -05:00 |
Isaac Connor
|
1b74aa959b
|
Have to refresh the Path in the Event when updating Storage Area
|
2018-11-23 15:15:51 -05:00 |
Isaac Connor
|
32337c5dbb
|
fix prompt when updating StorageArea
|
2018-11-23 15:13:47 -05:00 |
Isaac Connor
|
6d19280069
|
Set Scheme when Shallow. Improve debug message. Fix spacing
|
2018-11-23 12:16:11 -05:00 |
Isaac Connor
|
73d27f5095
|
Add code to see if a db event is stored at the wrong storage area
|
2018-11-23 10:10:50 -05:00 |
Isaac Connor
|
ca87936cd7
|
add function time_of_youngest_file to determine the youngest file in an event dir, so as to guess the starttime of the event.
|
2018-11-13 14:13:41 -05:00 |
Isaac Connor
|
967fe14b22
|
Add ability to update incorrect starttime.
|
2018-11-11 10:17:32 -05:00 |
Isaac Connor
|
4ddd328c61
|
Check and Fix Scheme and StorageArea
|
2018-11-09 10:39:57 -05:00 |
Isaac Connor
|
3f0336e63e
|
Fix event_id detection from link (re was wrong). Add extra check for db event when we find an event dir without identifying id info in Deep mode
|
2018-09-21 10:31:54 -04:00 |
Isaac Connor
|
884eb48420
|
fix the section that deletes events that have lost their event links.
|
2018-09-20 12:31:19 -04:00 |
Isaac Connor
|
95bcac4c5a
|
Implement delete_empty_subdirs that uses delete_empty_directories. The idea is to use it on the monitor dir so that the monitor dir gets left behind and not deleted when there are no events
|
2018-09-19 20:00:26 -04:00 |
Isaac Connor
|
3a9f96e8e8
|
Skip deleting event if event is archived. And event not having a scheme is now an error
|
2018-09-19 12:03:51 -04:00 |
Isaac Connor
|
042d4c3099
|
Default to auditing all Storage Areas. Add a Server flag to audit only areas on a specific server.
|
2018-09-09 18:32:00 -04:00 |
Isaac Connor
|
882e47c9ab
|
Fix deleting empty directories
|
2018-09-09 13:28:24 -04:00 |
Isaac Connor
|
c285d5ebb1
|
spacing. Add code to delete events that huse the deep storage scheme and have lost their symlinks.
|
2018-06-25 13:41:19 -04:00 |
Isaac Connor
|
e6525ce59e
|
Introduce a level param, and use it to turn on checks that shouldn't need to be done anymore, due to foreign keys
|
2018-04-19 08:18:23 -07:00 |
Isaac Connor
|
7e7e353a8c
|
Use a more efficient SQL when finding Orphaned Frames
|
2018-04-17 08:47:11 -07:00 |
Isaac Connor
|
9fde052d39
|
merge
|
2018-04-03 14:41:32 -07:00 |
Isaac Connor
|
af003227c3
|
Don't do day/hour/week/month totals from main events table anymore
|
2018-02-13 11:41:35 -05:00 |
Isaac Connor
|
6cfce1d5f2
|
Improve logging
|
2018-02-13 11:27:20 -05:00 |
Isaac Connor
|
62b0a1ecdc
|
Add some debugging to tell what we are doing
|
2018-02-12 13:25:11 -05:00 |
Isaac Connor
|
c0eb0011f0
|
Make some errors just errors instead of fatal. Add a check for plural days in log cleaning
|
2018-02-11 14:18:10 -05:00 |
Isaac Connor
|
8e547134d5
|
Replace EventTotal Updates in zmstats.pl with triggers which will hold locks less. Move stats updates to zmaudit.pl
|
2018-02-03 14:50:19 -05:00 |