============================================================= Mon 03/29/2021 12:00:08.12 - Version: 3.000 - E:\cams2_queue\RunFolder\status_check.bat [".. emp\status" "status_check_LOCAMS.txt"] [status_check.bat:SETUP ".. emp\status" "status_check_LOCAMS.txt"] Please wait... ******* Detecting noisy cameras ************* [CALL status_check.bat:LOOP_LISTFILE] "E:\cams2_queue\RunFolder\status_check_LOCAMS.txt" for /f "usebackq tokens=*" ..a in (`findstr /i "getstatus_" "E:\cams2_queue\RunFolder\status_check_LOCAMS.txt"`) do ( Now download/caching ALL "GetStatus_000900_*.txt" files to "E:\cams2_queue\RunFolder". Now download/caching ALL "GetStatus_000916_*.txt" files to "E:\cams2_queue\RunFolder". Now download/caching ALL "GetStatus_000941_*.txt" files to "E:\cams2_queue\RunFolder". Now download/caching ALL "GetStatus_000957_*.txt" files to "E:\cams2_queue\RunFolder". ) for /f "usebackq tokens=*" ..a in [`findstr /i "getstatus_" "E:\cams2_queue\RunFolder\status_check_LOCAMS.txt"`] do [ for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000900_*.txt"`) do ( 2021_03_29_000900_02_19_13 000902 "ERROR: NO VIDEO SIGNAL 2021_03_29_000900_02_19_13" Station: ######### CAMS STATUS FOR STATION: "000900_DC_DiscoveryChannel_" ######################### File: 3.001 Total Detections=278 GetStatus_000900_DC_DiscoveryChannel_.txt [2021-03-29T11:19:35.231-07:00 2021-03-29T18:19:35.184+00:00 UTC] 000902 "ERROR: NO VIDEO SIGNAL 2021_03_29_000900_02_19_13" 2021_03_29_000900_02_19_13 000903 "ERROR: NO VIDEO SIGNAL 2021_03_29_000900_02_19_13" 000903 "ERROR: NO VIDEO SIGNAL 2021_03_29_000900_02_19_13" 000900 Detections=000019/278 ***** EXCESSIVE DROPPED FRAMES 2570 dropped 4.13 dropped/min 000901 Detections=000026/278 ***** EXCESSIVE DROPPED FRAMES 2411 dropped 3.88 dropped/min 000904 Detections=000021/278 ***** EXCESSIVE DROPPED FRAMES 3935 dropped 6.33 dropped/min 000905 Detections=000014/278 ***** EXCESSIVE DROPPED FRAMES 4079 dropped 6.56 dropped/min 000906 Detections=000028/278 ***** EXCESSIVE DROPPED FRAMES 4039 dropped 6.49 dropped/min 000907 Detections=000012/278 ***** EXCESSIVE DROPPED FRAMES 4379 dropped 7.04 dropped/min for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000916_*.txt"`) do ( Station: ######### CAMS STATUS FOR STATION: "000916_MH_MarsHill_" ################################# File: 3.001 Total Detections=1903 GetStatus_000916_MH_MarsHill_.txt [2021-03-29T11:24:48.750-07:00 2021-03-29T18:24:48.718+00:00 UTC] 000931 Detections=001526/1903 WARNING - CHECK CAMERA NOISE for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000941_*.txt"`) do ( Station: ######### CAMS STATUS FOR STATION: "000941_ER_Prescott" ################################## File: 3.001 Total Detections=917 GetStatus_000941_ER_Prescott.txt [2021-03-29T09:39:40.061-07:00 2021-03-29T16:39:40.030+00:00 UTC] 000941 Detections=000015/917 ***** EXCESSIVE DROPPED FRAMES 3847 dropped 6.19 dropped/min 000942 Detections=000009/917 ***** EXCESSIVE DROPPED FRAMES 3973 dropped 6.39 dropped/min 000943 Detections=000004/917 ***** EXCESSIVE DROPPED FRAMES 4029 dropped 6.48 dropped/min 000944 Detections=000070/917 ***** EXCESSIVE DROPPED FRAMES 3828 dropped 6.15 dropped/min 000945 Detections=000256/917 ***** EXCESSIVE DROPPED FRAMES 4085 dropped 6.57 dropped/min 000946 Detections=000081/917 ***** EXCESSIVE DROPPED FRAMES 3863 dropped 6.21 dropped/min 000947 Detections=000010/917 ***** EXCESSIVE DROPPED FRAMES 3755 dropped 6.04 dropped/min 000948 Detections=000011/917 ***** EXCESSIVE DROPPED FRAMES 3938 dropped 6.33 dropped/min 000949 Detections=000138/917 ***** EXCESSIVE DROPPED FRAMES 319502 dropped 513.68 dropped/min 000950 Detections=000006/917 ***** EXCESSIVE DROPPED FRAMES 3513 dropped 5.65 dropped/min 000951 Detections=000008/917 ***** EXCESSIVE DROPPED FRAMES 3481 dropped 5.60 dropped/min 000952 Detections=000142/917 ***** EXCESSIVE DROPPED FRAMES 3530 dropped 5.68 dropped/min 000953 Detections=000008/917 ***** EXCESSIVE DROPPED FRAMES 3600 dropped 5.79 dropped/min 000954 Detections=000004/917 ***** EXCESSIVE DROPPED FRAMES 3498 dropped 5.62 dropped/min 000955 Detections=000142/917 ***** EXCESSIVE DROPPED FRAMES 3687 dropped 5.93 dropped/min 000956 Detections=000013/917 ***** EXCESSIVE DROPPED FRAMES 3557 dropped 5.72 dropped/min 000941 Detections=000015/917 ***** EXCESSIVE DROPPED FRAMES 3847 dropped 6.19 dropped/min 000942 Detections=000009/917 ***** EXCESSIVE DROPPED FRAMES 3973 dropped 6.39 dropped/min 000943 Detections=000004/917 ***** EXCESSIVE DROPPED FRAMES 4029 dropped 6.48 dropped/min 000944 Detections=000070/917 ***** EXCESSIVE DROPPED FRAMES 3828 dropped 6.15 dropped/min 000945 Detections=000256/917 ***** EXCESSIVE DROPPED FRAMES 4085 dropped 6.57 dropped/min 000946 Detections=000081/917 ***** EXCESSIVE DROPPED FRAMES 3863 dropped 6.21 dropped/min 000947 Detections=000010/917 ***** EXCESSIVE DROPPED FRAMES 3755 dropped 6.04 dropped/min 000948 Detections=000011/917 ***** EXCESSIVE DROPPED FRAMES 3938 dropped 6.33 dropped/min 000949 Detections=000138/917 ***** EXCESSIVE DROPPED FRAMES 319502 dropped 513.68 dropped/min 000950 Detections=000006/917 ***** EXCESSIVE DROPPED FRAMES 3513 dropped 5.65 dropped/min 000951 Detections=000008/917 ***** EXCESSIVE DROPPED FRAMES 3481 dropped 5.60 dropped/min 000952 Detections=000142/917 ***** EXCESSIVE DROPPED FRAMES 3530 dropped 5.68 dropped/min 000953 Detections=000008/917 ***** EXCESSIVE DROPPED FRAMES 3600 dropped 5.79 dropped/min 000954 Detections=000004/917 ***** EXCESSIVE DROPPED FRAMES 3498 dropped 5.62 dropped/min 000955 Detections=000142/917 ***** EXCESSIVE DROPPED FRAMES 3687 dropped 5.93 dropped/min 000956 Detections=000013/917 ***** EXCESSIVE DROPPED FRAMES 3557 dropped 5.72 dropped/min Total Detections=917 f: CAMS Archive free space 0.000 GiB {B}**** DISK SPACE LOW ***{/B} GetStatus_000941_ER_Prescott.txt for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000957_*.txt"`) do ( File: 3.001 Total Detections=240 GetStatus_000957_MC_Meteor_Crater.txt [2021-03-29T09:52:40.449-07:00 2021-03-29T16:52:40.402+00:00 UTC] ) [RETURN status_check.bat:LOOP_LISTFILE] [bat_returncode=0] This script examines all the GetStatus report files in the specified directory and reports on anomolies such as: 1. Cameras with excessive detections [indicates noisy camera/s] 2. Cameras with excessive dropped frames 3. Stations with dangerously low disk space 4. Stations that haven't reported in lately 5. Stations with GetStatus reports that haven't been uploaded in 3 or more days. The detections and dropped frames are determined by reading the GetStatus report and examining each camera in the most recent SubmissionFiles session for that CAMS instance. [status_check.bat:DONE] [0] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If there are issues reported, examine the GetStatus files that have been downloaded for you in the "E:\cams2_queue\RunFolder" directory. "E:\cams2_queue\RunFolder\status_check_to_html.bat" "E:\cams2_queue\RunFolder" "E:\cams2_queue\status_LOCAMS.html" [status_check_to_html.bat:DONE] [0] ["E:\cams2_queue\RunFolder" "E:\cams2_queue\status_LOCAMS.html"] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The resulting file is: "E:\cams2_queue\status_LOCAMS.html" start "" "E:\cams2_queue\status_LOCAMS.html"