SORRY. Yes, I mixed up host and docker.
zmeventnotification.pl is running just fine in docker, sorry.
This is docker zmeventnotifications.log:
Code: Select all
9:34:54.837190 zmeventnotification[738].INF [main:833] [|----> FORK:Terasa (2), eid:967 Ending process:738 to handle alarms]
02/18/20 19:34:56.550470 zmeventnotification[743].INF [main:833] [|----> FORK:Terasa (2), eid:968 Event 968 for Monitor 2 has finished]
02/18/20 19:34:56.819287 zmeventnotification[29479].INF [main:833] [PARENT: There are 1 active child forks...]
02/18/20 19:34:56.827716 zmeventnotification[29479].INF [main:833] [PARENT: There are 0 new Events to process]
02/18/20 19:34:58.559870 zmeventnotification[743].INF [main:833] [|----> FORK:Terasa (2), eid:968 Invoking hook on event end:/mnt/Zoneminder/hook/zm_event_end.sh 968 2 "Terasa" "Motion: All" "/var/cache/zoneminder/events/2/20/02/18/19/34/46"]
02/18/20 19:34:58.574703 zmeventnotification[743].INF [main:833] [|----> FORK:Terasa (2), eid:968 hook end returned with text: json:[] exit:127]
02/18/20 19:35:00.579887 zmeventnotification[743].INF [main:833] [|----> FORK:Terasa (2), eid:968 Not sending event end alarm, as we did not send a start alarm for this, or start hook processing failed]
02/18/20 19:35:01.813514 zmeventnotification[29479].INF [main:833] [PARENT: There are 1 active child forks...]
02/18/20 19:35:01.820990 zmeventnotification[29479].INF [main:833] [PARENT: There are 0 new Events to process]
02/18/20 19:35:04.588026 zmeventnotification[743].INF [main:833] [|----> FORK:Terasa (2), eid:968 Ending process:743 to handle alarms]
02/18/20 19:35:06.811842 zmeventnotification[29479].INF [main:833] [PARENT: There are 0 active child forks...]
02/18/20 19:35:06.815381 zmeventnotification[29479].INF [main:833] [PARENT: New event 969 reported for Monitor:2 (Name:Terasa) Motion All]
02/18/20 19:35:06.818591 zmeventnotification[29479].INF [main:833] [PARENT: There are 1 new Events to process]
02/18/20 19:35:06.823356 zmeventnotification[761].INF [main:833] [PARENT: Forked process:761 to handle alarm eid:969]
02/18/20 19:35:06.827827 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 Invoking hook on event start:/mnt/Zoneminder/hook/zm_event_start.sh 969 2 "Terasa" "Motion All" "/var/cache/zoneminder/events/2/20/02/18/19/35/04"]
02/18/20 19:35:06.833480 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 hook start returned with text: json:[] exit:127]
02/18/20 19:35:08.837280 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 Matching alarm to connection rules...]
02/18/20 19:35:08.848254 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 Checking alarm rules for token ending in:...w4M8bOGNjL]
02/18/20 19:35:08.852467 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 Monitor 2 event: should send out as 14.108589887619 is >= interval of 0]
02/18/20 19:35:08.857176 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 Sending event_start notification over FCM]
02/18/20 19:35:09.176634 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 FCM push message returned a 200 with body {"multicast_id":2099089160472960940,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"1582050908989857"}]}]
02/18/20 19:35:09.182595 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 Checking alarm rules for token ending in:...5sxQF8jrbQ]
02/18/20 19:35:09.186779 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 Monitor 2 event: should send out as 14.7860798835754 is >= interval of 0]
02/18/20 19:35:09.190035 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 Sending event_start notification over FCM]
02/18/20 19:35:09.422515 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 FCM push message returned a 200 with body {"multicast_id":3422618985457005421,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"1582050909285549"}]}]
02/18/20 19:35:09.425986 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 Checking alarm rules for MQTT 192.168.1.27]
02/18/20 19:35:09.429263 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 Monitor 2 event: should send out as 14.4552400112152 is >= interval of ]
02/18/20 19:35:09.432109 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 Sending event_start notification for EID:969 over MQTT]
02/18/20 19:35:11.816520 zmeventnotification[29479].INF [main:833] [PARENT: There are 1 active child forks...]
02/18/20 19:35:11.822667 zmeventnotification[29479].INF [main:833] [PARENT: There are 0 new Events to process]
02/18/20 19:35:13.440248 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 Event 969 for Monitor 2 has finished]
02/18/20 19:35:15.448879 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 Invoking hook on event end:/mnt/Zoneminder/hook/zm_event_end.sh 969 2 "Terasa" "Motion: All" "/var/cache/zoneminder/events/2/20/02/18/19/35/04"]
02/18/20 19:35:15.462864 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 hook end returned with text: json:[] exit:127]
02/18/20 19:35:16.813830 zmeventnotification[29479].INF [main:833] [PARENT: There are 1 active child forks...]
02/18/20 19:35:16.821663 zmeventnotification[29479].INF [main:833] [PARENT: There are 0 new Events to process]
02/18/20 19:35:17.468116 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 Not sending event end alarm, as we did not send a start alarm for this, or start hook processing failed]
02/18/20 19:35:21.476360 zmeventnotification[761].INF [main:833] [|----> FORK:Terasa (2), eid:969 Ending process:761 to handle alarms]
02/18/20 19:35:21.813500 zmeventnotification[29479].INF [main:833] [PARENT: There are 0 active child forks...]
02/18/20 19:35:21.818878 zmeventnotification[29479].INF [main:833] [PARENT: New event 969 reported for Monitor:2 (Name:Terasa) Motion All]
02/18/20 19:35:21.825085 zmeventnotification[29479].INF [main:833] [PARENT: There are 1 new Events to process]
02/18/20 19:35:21.835000 zmeventnotification[766].INF [main:833] [PARENT: Forked process:766 to handle alarm eid:969]
02/18/20 19:35:21.840467 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 Invoking hook on event start:/mnt/Zoneminder/hook/zm_event_start.sh 969 2 "Terasa" "Motion All" "/var/cache/zoneminder/events/2/20/02/18/19/35/04"]
02/18/20 19:35:21.845451 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 hook start returned with text: json:[] exit:127]
02/18/20 19:35:21.848546 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 Event 969 for Monitor 2 has finished]
02/18/20 19:35:23.851926 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 Matching alarm to connection rules...]
02/18/20 19:35:23.857974 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 Checking alarm rules for token ending in:...w4M8bOGNjL]
02/18/20 19:35:23.861134 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 Monitor 2 event: should send out as 14.1434500217438 is >= interval of 0]
02/18/20 19:35:23.864225 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 Sending event_start notification over FCM]
02/18/20 19:35:24.206269 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 FCM push message returned a 200 with body {"multicast_id":124880963627186047,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"1582050924001816"}]}]
02/18/20 19:35:24.213628 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 Checking alarm rules for token ending in:...5sxQF8jrbQ]
02/18/20 19:35:24.218049 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 Monitor 2 event: should send out as 14.8100299835205 is >= interval of 0]
02/18/20 19:35:24.222259 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 Sending event_start notification over FCM]
02/18/20 19:35:24.520352 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 FCM push message returned a 200 with body {"multicast_id":576857173489908476,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"1582050924331722"}]}]
02/18/20 19:35:24.527694 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 Checking alarm rules for MQTT 192.168.1.27]
02/18/20 19:35:24.532023 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 Monitor 2 event: should send out as 14.5680499076843 is >= interval of ]
02/18/20 19:35:24.536254 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 Sending event_start notification for EID:969 over MQTT]
02/18/20 19:35:26.541968 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 Invoking hook on event end:/mnt/Zoneminder/hook/zm_event_end.sh 969 2 "Terasa" "Motion: All" "/var/cache/zoneminder/events/2/20/02/18/19/35/04"]
02/18/20 19:35:26.557511 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 hook end returned with text: json:[] exit:127]
02/18/20 19:35:26.815028 zmeventnotification[29479].INF [main:833] [PARENT: There are 1 active child forks...]
02/18/20 19:35:26.823664 zmeventnotification[29479].INF [main:833] [PARENT: New event 970 reported for Monitor:2 (Name:Terasa) Motion All]
02/18/20 19:35:26.827781 zmeventnotification[29479].INF [main:833] [PARENT: New event 971 reported for Monitor:1 (Name:vhod) Motion All]
02/18/20 19:35:26.831660 zmeventnotification[29479].INF [main:833] [PARENT: There are 2 new Events to process]
02/18/20 19:35:26.843989 zmeventnotification[776].INF [main:833] [PARENT: Forked process:776 to handle alarm eid:970]
02/18/20 19:35:26.844994 zmeventnotification[777].INF [main:833] [PARENT: Forked process:777 to handle alarm eid:971]
02/18/20 19:35:26.851123 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 Invoking hook on event start:/mnt/Zoneminder/hook/zm_event_start.sh 970 2 "Terasa" "Motion All" "/var/cache/zoneminder/events/2/20/02/18/19/35/21"]
02/18/20 19:35:26.853758 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 Invoking hook on event start:/mnt/Zoneminder/hook/zm_event_start.sh 971 1 "vhod" "Motion All" "/var/cache/zoneminder/events/1/20/02/18/19/35/22"]
02/18/20 19:35:26.860552 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 hook start returned with text: json:[] exit:127]
02/18/20 19:35:26.860566 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 hook start returned with text: json:[] exit:127]
02/18/20 19:35:28.562695 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 Not sending event end alarm, as we did not send a start alarm for this, or start hook processing failed]
02/18/20 19:35:28.864504 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 Matching alarm to connection rules...]
02/18/20 19:35:28.867194 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 Matching alarm to connection rules...]
02/18/20 19:35:28.870862 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 Checking alarm rules for token ending in:...w4M8bOGNjL]
02/18/20 19:35:28.873607 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 Checking alarm rules for token ending in:...w4M8bOGNjL]
02/18/20 19:35:28.876288 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 Monitor 1 event: should send out as 1214.11413002014 is >= interval of 0]
02/18/20 19:35:28.879117 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 Monitor 2 event: should send out as 4.1358699798584 is >= interval of 0]
02/18/20 19:35:28.880035 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 Sending event_start notification over FCM]
02/18/20 19:35:28.882894 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 Sending event_start notification over FCM]
02/18/20 19:35:29.169700 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 FCM push message returned a 200 with body {"multicast_id":5299143482154101306,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"1582050928978487"}]}]
02/18/20 19:35:29.174659 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 Checking alarm rules for token ending in:...5sxQF8jrbQ]
02/18/20 19:35:29.178960 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 Monitor 1 event: should send out as 1214.75686001778 is >= interval of 0]
02/18/20 19:35:29.183506 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 Sending event_start notification over FCM]
02/18/20 19:35:29.491642 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 FCM push message returned a 200 with body {"multicast_id":3669926665962556494,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"1582050929305731"}]}]
02/18/20 19:35:29.498416 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 Checking alarm rules for MQTT 192.168.1.27]
02/18/20 19:35:29.502783 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 Monitor 1 event: should send out as 1214.45338010788 is >= interval of ]
02/18/20 19:35:29.507445 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 Sending event_start notification for EID:971 over MQTT]
02/18/20 19:35:29.512273 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 Event 971 for Monitor 1 has finished]
02/18/20 19:35:29.534629 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 FCM push message returned a 200 with body {"multicast_id":1651045230450611175,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"1582050929399747"}]}]
02/18/20 19:35:29.539563 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 Checking alarm rules for token ending in:...5sxQF8jrbQ]
02/18/20 19:35:29.544608 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 Monitor 2 event: should send out as 4.77806997299194 is >= interval of 0]
02/18/20 19:35:29.549179 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 Sending event_start notification over FCM]
02/18/20 19:35:29.853540 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 FCM push message returned a 200 with body {"multicast_id":9146880971088175738,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"1582050929664122"}]}]
02/18/20 19:35:29.859792 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 Checking alarm rules for MQTT 192.168.1.27]
02/18/20 19:35:29.863143 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 Monitor 2 event: should send out as 4.4640998840332 is >= interval of ]
02/18/20 19:35:29.864230 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 Sending event_start notification for EID:970 over MQTT]
02/18/20 19:35:29.867383 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 Event 970 for Monitor 2 has finished]
02/18/20 19:35:31.517816 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 Invoking hook on event end:/mnt/Zoneminder/hook/zm_event_end.sh 971 1 "vhod" "Motion: All" "/var/cache/zoneminder/events/1/20/02/18/19/35/22"]
02/18/20 19:35:31.523460 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 hook end returned with text: json:[] exit:127]
02/18/20 19:35:31.814500 zmeventnotification[29479].INF [main:833] [PARENT: There are 3 active child forks...]
02/18/20 19:35:31.818389 zmeventnotification[29479].INF [main:833] [PARENT: New event 972 reported for Monitor:2 (Name:Terasa) Motion All]
02/18/20 19:35:31.821559 zmeventnotification[29479].INF [main:833] [PARENT: There are 1 new Events to process]
02/18/20 19:35:31.827346 zmeventnotification[797].INF [main:833] [PARENT: Forked process:797 to handle alarm eid:972]
02/18/20 19:35:31.831255 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 Invoking hook on event start:/mnt/Zoneminder/hook/zm_event_start.sh 972 2 "Terasa" "Motion All" "/var/cache/zoneminder/events/2/20/02/18/19/35/29"]
02/18/20 19:35:31.836272 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 hook start returned with text: json:[] exit:127]
02/18/20 19:35:31.871146 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 Invoking hook on event end:/mnt/Zoneminder/hook/zm_event_end.sh 970 2 "Terasa" "Motion: All" "/var/cache/zoneminder/events/2/20/02/18/19/35/21"]
02/18/20 19:35:31.876564 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 hook end returned with text: json:[] exit:127]
02/18/20 19:35:32.569485 zmeventnotification[766].INF [main:833] [|----> FORK:Terasa (2), eid:969 Ending process:766 to handle alarms]
02/18/20 19:35:33.526866 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 Not sending event end alarm, as we did not send a start alarm for this, or start hook processing failed]
02/18/20 19:35:33.839676 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 Matching alarm to connection rules...]
02/18/20 19:35:33.843022 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 Checking alarm rules for token ending in:...w4M8bOGNjL]
02/18/20 19:35:33.844271 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 Monitor 2 event: should send out as 4.11719989776611 is >= interval of 0]
02/18/20 19:35:33.847536 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 Sending event_start notification over FCM]
02/18/20 19:35:33.881040 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 Not sending event end alarm, as we did not send a start alarm for this, or start hook processing failed]
02/18/20 19:35:34.132758 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 FCM push message returned a 200 with body {"multicast_id":5079611195175915636,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"1582050933955234"}]}]
02/18/20 19:35:34.136162 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 Checking alarm rules for token ending in:...5sxQF8jrbQ]
02/18/20 19:35:34.139449 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 Monitor 2 event: should send out as 4.45115995407104 is >= interval of 0]
02/18/20 19:35:34.142698 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 Sending event_start notification over FCM]
02/18/20 19:35:34.418423 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 FCM push message returned a 200 with body {"multicast_id":7910801054269544798,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"1582050934233605"}]}]
02/18/20 19:35:34.422946 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 Checking alarm rules for MQTT 192.168.1.27]
02/18/20 19:35:34.427225 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 Monitor 2 event: should send out as 4.13583993911743 is >= interval of ]
02/18/20 19:35:34.431566 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 Sending event_start notification for EID:972 over MQTT]
02/18/20 19:35:36.816943 zmeventnotification[29479].INF [main:833] [PARENT: There are 3 active child forks...]
02/18/20 19:35:36.825747 zmeventnotification[29479].INF [main:833] [PARENT: There are 0 new Events to process]
02/18/20 19:35:37.531299 zmeventnotification[777].INF [main:833] [|----> FORK:vhod (1), eid:971 Ending process:777 to handle alarms]
02/18/20 19:35:37.885415 zmeventnotification[776].INF [main:833] [|----> FORK:Terasa (2), eid:970 Ending process:776 to handle alarms]
02/18/20 19:35:38.437150 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 Event 972 for Monitor 2 has finished]
02/18/20 19:35:40.444496 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 Invoking hook on event end:/mnt/Zoneminder/hook/zm_event_end.sh 972 2 "Terasa" "Motion: All" "/var/cache/zoneminder/events/2/20/02/18/19/35/29"]
02/18/20 19:35:40.452391 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 hook end returned with text: json:[] exit:127]
02/18/20 19:35:41.814709 zmeventnotification[29479].INF [main:833] [PARENT: There are 1 active child forks...]
02/18/20 19:35:41.819798 zmeventnotification[29479].INF [main:833] [PARENT: There are 0 new Events to process]
02/18/20 19:35:42.456115 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 Not sending event end alarm, as we did not send a start alarm for this, or start hook processing failed]
02/18/20 19:35:46.461606 zmeventnotification[797].INF [main:833] [|----> FORK:Terasa (2), eid:972 Ending process:797 to handle alarms]
02/18/20 19:35:46.811728 zmeventnotification[29479].INF [main:833] [PARENT: There are 0 active child forks...]
02/18/20 19:35:46.815434 zmeventnotification[29479].INF [main:833] [PARENT: There are 0 new Events to process]
02/18/20 19:35:51.813541 zmeventnotification[29479].INF [main:833] [PARENT: There are 0 active child forks...]
Docker zmesdetect_m1.log, time is 19:52 not at me:
Code: Select all
02/18/20 17:59:09 zmesdetect_m1[29788] DBG zm_detect.py:569 [Saving detections for monitor 1 for future match]
02/18/20 17:59:11 zmesdetect_m1[29807] INF zm_detect.py:138 [---------| app version: 5.7.4 |------------]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG utils.py:229 [secret filename: /etc/zm/secrets.ini]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG utils.py:203 [Secret token found in config: !PLATEREC_ALPR_KEY]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG utils.py:254 [allowing self-signed certs to work...]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG utils.py:273 [[monitor-1] overrides key:models with value:yolo]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG utils.py:273 [[monitor-1] overrides key:yolo_type with value:tiny]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG utils.py:304 [key [config] is '/var/lib/zmeventnotification/models/yolov3/yolov3.cfg' after substitution]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG utils.py:304 [key [weights] is '/var/lib/zmeventnotification/models/yolov3/yolov3.weights' after substitution]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG utils.py:304 [key [labels] is '/var/lib/zmeventnotification/models/yolov3/yolov3_classes.txt' after substitution]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG utils.py:304 [key [tiny_config] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.cfg' after substitution]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG utils.py:304 [key [tiny_weights] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.weights' after substitution]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG utils.py:304 [key [tiny_labels] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.txt' after substitution]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG utils.py:304 [key [known_images_path] is '/var/lib/zmeventnotification/known_faces' after substitution]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG utils.py:304 [key [unknown_images_path] is '/var/lib/zmeventnotification/unknown_faces' after substitution]
02/18/20 17:59:11 zmesdetect_m1[29807] INF zm_detect.py:160 [Importing local classes for Yolo/Face]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG utils.py:163 [Trying to download my portal snapshot]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG zm_detect.py:202 [No polygon area specfied, so adding a full image polygon:[{'name': 'full_image', 'value': [(0, 0), (1280, 0), (1280, 720), (0, 720)]}]]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG zm_detect.py:204 [resizing to 1200 before analysis...]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG utils.py:37 [resized polygons x=0.9375/y=0.9375: [{'name': 'full_image', 'value': [(0, 0), (1200, 0), (1200, 675), (0, 675)]}]]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG zm_detect.py:222 [User ALPR if vehicle found: False]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG zm_detect.py:293 [Using model: yolo with /var/lib/zmeventnotification/images/923.jpg]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG yolo.py:46 [|---------- YOLO (input image: 1200w*675h, resized to: 416w*416h) ----------|]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG yolo.py:57 [Initializing Yolo]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG yolo.py:58 [config:/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.cfg, weights:/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.weights]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG yolo.py:76 [Not using CUDA backend]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG yolo.py:79 [YOLO initialization (loading model from disk) took: 11.869 milliseconds]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG yolo.py:91 [YOLO detection took: 69.065 milliseconds]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG yolo.py:122 [YOLO NMS filtering took: 0.14 milliseconds]
02/18/20 17:59:11 zmesdetect_m1[29807] INF yolo.py:140 [object:person at [149, 230, 335, 640] has a acceptable confidence:0.7402644157409668 compared to min confidence of: 0.3, adding]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG image_manip.py:127 [intersection: polygon in process=[(149, 230), (335, 230), (335, 640), (149, 640)]]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG image_manip.py:133 [full_image intersects object:person[[(149, 230), (335, 230), (335, 640), (149, 640)]]]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG zm_detect.py:476 [ALPR not in use, no need for look aheads in processing]
02/18/20 17:59:11 zmesdetect_m1[29807] INF zm_detect.py:493 [labels found: ['person']]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG zm_detect.py:494 [match found in /var/lib/zmeventnotification/images/923.jpg, breaking file loop...]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG zm_detect.py:543 [Writing out debug bounding box image to /var/lib/zmeventnotification/images/923-bbox.jpg...]
02/18/20 17:59:11 zmesdetect_m1[29807] ERR zm_detect.py:561 [Could not write image to ZoneMinder as eventpath not present]
02/18/20 17:59:11 zmesdetect_m1[29807] INF zm_detect.py:566 [Removing matches to past detections]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG image_manip.py:27 [trying to load /var/lib/zmeventnotification/images/monitor-1-data.pkl]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG image_manip.py:92 [past detection person@[(149, 230), (335, 230), (335, 640), (149, 230)] approximately matches person@[(149, 230), (335, 230), (335, 640), (149, 230)] removing]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG zm_detect.py:569 [Saving detections for monitor 1 for future match]
root@44353fa5d618:/var/log/zm# tail -F /var/log/zm/zmesdetect*.log
==> /var/log/zm/zmesdetect_m1.log <==
02/18/20 17:59:11 zmesdetect_m1[29807] DBG image_manip.py:133 [full_image intersects object:person[[(149, 230), (335, 230), (335, 640), (149, 640)]]]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG zm_detect.py:476 [ALPR not in use, no need for look aheads in processing]
02/18/20 17:59:11 zmesdetect_m1[29807] INF zm_detect.py:493 [labels found: ['person']]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG zm_detect.py:494 [match found in /var/lib/zmeventnotification/images/923.jpg, breaking file loop...]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG zm_detect.py:543 [Writing out debug bounding box image to /var/lib/zmeventnotification/images/923-bbox.jpg...]
02/18/20 17:59:11 zmesdetect_m1[29807] ERR zm_detect.py:561 [Could not write image to ZoneMinder as eventpath not present]
02/18/20 17:59:11 zmesdetect_m1[29807] INF zm_detect.py:566 [Removing matches to past detections]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG image_manip.py:27 [trying to load /var/lib/zmeventnotification/images/monitor-1-data.pkl]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG image_manip.py:92 [past detection person@[(149, 230), (335, 230), (335, 640), (149, 230)] approximately matches person@[(149, 230), (335, 230), (335, 640), (149, 230)] removing]
02/18/20 17:59:11 zmesdetect_m1[29807] DBG zm_detect.py:569 [Saving detections for monitor 1 for future match]
Docker zmdc.log:
Code: Select all
NSOLE DEBUG:2020-02-18,19:34:26 PARENT: After tick: TOTAL: 3, ES_CONTROL: 1, FCM+WEB: 0, FCM: 2, WEB: 0, MQTT:1, invalid WEB: 0, PENDING: 0
CONSOLE DEBUG:2020-02-18,19:34:26 PARENT: Finished processJobs()
CONSOLE INFO:2020-02-18,19:34:26 PARENT: There are 1 active child forks...
CONSOLE DEBUG:2020-02-18,19:34:26 PARENT: checkEvents() new events found=0
CONSOLE INFO:2020-02-18,19:34:26 PARENT: There are 0 new Events to process
CONSOLE DEBUG:2020-02-18,19:34:26 PARENT: ---------->Tick END<--------------
CONSOLE DEBUG:2020-02-18,19:34:31 PARENT: ---------->Tick START<--------------
CONSOLE DEBUG:2020-02-18,19:34:31 PARENT: After tick: TOTAL: 3, ES_CONTROL: 1, FCM+WEB: 0, FCM: 2, WEB: 0, MQTT:1, invalid WEB: 0, PENDING: 0
CONSOLE DEBUG:2020-02-18,19:34:31 PARENT: RAW TEXT-->active_event_delete--TYPE--2--SPLIT--965
CONSOLE DEBUG:2020-02-18,19:34:31 PARENT: Job: Deleting active_event eid:965, mid:2
CONSOLE DEBUG:2020-02-18,19:34:31 PARENT: Finished processJobs()
CONSOLE INFO:2020-02-18,19:34:31 PARENT: There are 0 active child forks...
CONSOLE INFO:2020-02-18,19:34:31 PARENT: New event 966 reported for Monitor:2 (Name:Terasa) Motion All
CONSOLE DEBUG:2020-02-18,19:34:31 PARENT: checkEvents() new events found=1
CONSOLE INFO:2020-02-18,19:34:31 PARENT: There are 1 new Events to process
CONSOLE INFO:2020-02-18,19:34:31 PARENT: Forked process:731 to handle alarm eid:966
CONSOLE DEBUG:2020-02-18,19:34:31 |----> FORK:Terasa (2), eid:966 Adding event path:/var/cache/zoneminder/events/2/20/02/18/19/34/28 to hook for image storage
CONSOLE INFO:2020-02-18,19:34:31 |----> FORK:Terasa (2), eid:966 Invoking hook on event start:/mnt/Zoneminder/hook/zm_event_start.sh 966 2 "Terasa" "Motion All" "/var/cache/zoneminder/events/2/20/02/18/19/34/28"
sh: 1: /mnt/Zoneminder/hook/zm_event_start.sh: not found
CONSOLE DEBUG:2020-02-18,19:34:31 |----> FORK:Terasa (2), eid:966 parse of hook: and []
CONSOLE INFO:2020-02-18,19:34:31 |----> FORK:Terasa (2), eid:966 hook start returned with text: json:[] exit:127
CONSOLE INFO:2020-02-18,19:34:33 |----> FORK:Terasa (2), eid:966 Matching alarm to connection rules...
CONSOLE INFO:2020-02-18,19:34:33 |----> FORK:Terasa (2), eid:966 Checking alarm rules for token ending in:...w4M8bOGNjL
CONSOLE INFO:2020-02-18,19:34:33 |----> FORK:Terasa (2), eid:966 Monitor 2 event: should send out as 19.1510200500488 is >= interval of 0
CONSOLE DEBUG:2020-02-18,19:34:33 |----> FORK:Terasa (2), eid:966 shouldSendEventToConn returned true, so calling sendEvent
CONSOLE DEBUG:2020-02-18,19:34:33 |----> FORK:Terasa (2), eid:966 isAllowedChannel: got type:event_start resCode:127
CONSOLE INFO:2020-02-18,19:34:33 |----> FORK:Terasa (2), eid:966 Sending event_start notification over FCM
CONSOLE DEBUG:2020-02-18,19:34:33 |----> FORK:Terasa (2), eid:966 Final JSON being sent is: {"notification":{"sound":"default","body":"Motion All at 07:34 PM, 18-Feb","title":"Terasa Alarm (966)","badge":"48"},"to":"fz_lFU0xllY:APA91bGfE4n7vLXzg5jnUkq50yUgpm4YeCqho6SUiFCpFw0M1F7Kfmg9vRd60fRMOxbvcbMgJkK54Zwc-2Tm8WJqjBYodsQab7hVAfRJ8TiOylQd9g9PubeIWGBVsr9PYQw4M8bOGNjL","mutable_content":true,"data":{"myMessageId":1,"mid":"2","image_url_jpg":"zm/index.php?view=image&eid=966&fid=alarm&width=600&username=admin&password=xxx&username=admin&password=xxx
CONSOLE INFO:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 FCM push message returned a 200 with body {"multicast_id":1997091925883460812,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"1582050873972359"}]}
CONSOLE DEBUG:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 child finished writing to parent
CONSOLE INFO:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 Checking alarm rules for token ending in:...5sxQF8jrbQ
CONSOLE INFO:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 Monitor 2 event: should send out as 19.8910100460052 is >= interval of 0
CONSOLE DEBUG:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 shouldSendEventToConn returned true, so calling sendEvent
CONSOLE DEBUG:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 isAllowedChannel: got type:event_start resCode:127
CONSOLE INFO:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 Sending event_start notification over FCM
CONSOLE DEBUG:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 Final JSON being sent is: {"notification":{"title":"Terasa Alarm (966)","badge":"48","sound":"default","body":"Motion All at 07:34 PM, 18-Feb"},"to":"c9pIYrUVwcM:APA91bHbp4UYwigO3B8HkH3KqjzGvv9Y3EfT_w3F9oKXFKstgVvZllVe2I6wLUAoJaZqeqFYRWBuhu6aYGucR5U75iuRbS9bKGoKXbUzOCdc3miqKEUd2HWu-CGEA8F2jv5sxQF8jrbQ","mutable_content":true,"data":{"image_url_jpg":"https:///zm/index.php?view=image&eid=966&fid=alarm&width=600&username=admin&password=xxx&username=admin&password=xxx
CONSOLE INFO:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 FCM push message returned a 200 with body {"multicast_id":3761071032499497145,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"1582050874287975"}]}
CONSOLE DEBUG:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 child finished writing to parent
CONSOLE INFO:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 Checking alarm rules for MQTT 192.168.1.27
CONSOLE INFO:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 Monitor 2 event: should send out as 19.4926800727844 is >= interval of
CONSOLE DEBUG:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 shouldSendEventToConn returned true, so calling sendEvent
CONSOLE DEBUG:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 isAllowedChannel: got type:event_start resCode:127
CONSOLE INFO:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 Sending event_start notification for EID:966 over MQTT
CONSOLE DEBUG:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 requesting MQTT Publishing Job for EID:966
CONSOLE DEBUG:2020-02-18,19:34:34 |----> FORK:Terasa (2), eid:966 child finished writing to parent
CONSOLE DEBUG:2020-02-18,19:34:38 |----> FORK:Terasa (2), eid:966 For 2 (Terasa), SHM says: state=2, eid=967
CONSOLE INFO:2020-02-18,19:34:38 |----> FORK:Terasa (2), eid:966 Event 966 for Monitor 2 has finished
CONSOLE DEBUG:2020-02-18,19:34:38 |----> FORK:Terasa (2), eid:966 Event end object is: state=>pending with cause=>Motion: All
CONSOLE DEBUG:2020-02-18,19:34:40 |----> FORK:Terasa (2), eid:966 Adding event path:/var/cache/zoneminder/events/2/20/02/18/19/34/28 to hook for image storage
CONSOLE INFO:2020-02-18,19:34:40 |----> FORK:Terasa (2), eid:966 Invoking hook on event end:/mnt/Zoneminder/hook/zm_event_end.sh 966 2 "Terasa" "Motion: All" "/var/cache/zoneminder/events/2/20/02/18/19/34/28"
sh: 1: /mnt/Zoneminder/hook/zm_event_end.sh: not found
zms_e895.log and zms_e887.log
Code: Select all
root@44353fa5d618:/var/log/zm# cat zms_e895.log
02/18/20 17:24:35.344861 zms_e895[27004].INF-zm_ffmpeg.cpp/84 [Not enabling ffmpeg logs, as LOG_FFMPEG and/or LOG_DEBUG is disabled in options, or this monitor is not part of your debug targets]
02/18/20 17:24:36.237353 zms_e895[27004].ERR-zm_eventstream.cpp/762 [Unable to send raw frame 9: Broken pipe]
root@44353fa5d618:/var/log/zm# cat zms_e887.log
02/18/20 17:19:44.601981 zms_e887[26711].INF-zm_ffmpeg.cpp/84 [Not enabling ffmpeg logs, as LOG_FFMPEG and/or LOG_DEBUG is disabled in options, or this monitor is not part of your debug targets]
02/18/20 17:19:44.632235 zms_e887[26711].ERR-zm_eventstream.cpp/762 [Unable to send raw frame 1: Broken pipe]
02/18/20 17:19:44.894501 zms_e887[26717].INF-zm_ffmpeg.cpp/84 [Not enabling ffmpeg logs, as LOG_FFMPEG and/or LOG_DEBUG is disabled in options, or this monitor is not part of your debug targets]
So this are dokcer log, now you need host logs?