Skip to content

Instantly share code, notes, and snippets.

08/13/15 07:37:54.860376 zmpkg[21553].INF [Command: start]
08/13/15 07:37:58.845350 zmc_m1[21641].DB1-zm_logger.cpp/230 [LogOpts: level=DB1/DB1, screen=OFF, database=INF, logfile=DB1->/var/log/zm/zm_debug.log.21641, syslog=DB9]
08/13/15 07:37:58.845477 zmc_m1[21641].DB1-zm_utils.cpp/265 [Detected a x86\x86-64 processor with SSE3]
08/13/15 07:37:58.846971 zmc_m1[21641].DB1-zm_monitor.cpp/2486 [Got 1 monitors]
08/13/15 07:37:58.847045 zmc_m1[21641].DB1-zm_monitor.cpp/2521 [Got 1 for v4l_captures_per_frame]
08/13/15 07:37:58.847154 zmc_m1[21641].DB1-zm_monitor.cpp/369 [monitor purpose=1]
08/13/15 07:37:58.847179 zmc_m1[21641].DB1-zm_monitor.cpp/377 [mem.size=138241760]
08/13/15 07:37:58.993927 zmc_m1[21666].DB1-zm_logger.cpp/230 [LogOpts: level=DB1/DB1, screen=OFF, database=INF, logfile=DB1->/var/log/zm/zm_debug.log.21666, syslog=DB9]
08/13/15 07:37:58.994085 zmc_m1[21666].DB1-zm_utils.cpp/265 [Detected a x86\x86-64 processor with SSE3]
08/13/15 07:37:58.995561 zmc_m1[21666].DB1-zm_monitor.cpp/2486 [Got 1 monito
This file has been truncated, but you can view the full file.
08/13/15 05:22:08.677897 web_php[14616].DBG [LogOpts: level=DBG/DBG, screen=OFF, database=INF, logfile=DBG->/var/log/zm/zm_debug.log.14616, weblog=INF, syslog=INF] at includes/logger.php line 168
08/13/15 05:22:08.678611 web_php[14616].ERR [socket_sendto( /var/run/zm/zms-656422s.sock ) failed: No such file or directory] at includes/functions.php line 2330
08/13/15 05:22:08.877942 web_php[14616].DBG [LogOpts: level=DBG/DBG, screen=OFF, database=INF, logfile=DBG->/var/log/zm/zm_debug.log.14616, weblog=INF, syslog=INF] at includes/logger.php line 168
08/13/15 05:22:08.878582 web_js[14616].DBG [LogOpts: level=DBG/DBG, screen=OFF, database=INF, logfile=DBG->/var/log/zm/zm_debug.log.14616, weblog=INF, syslog=DBG] at includes/logger.php line 168
08/13/15 05:22:08.878822 web_js[14616].ERR [getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-656422s.sock ) failed: No such file or directory - checkStreamForErrors()] at ?view=watch line
08/13/15 05:22:12.934676 zmpkg[16822].INF [Command: start]
08/13/15 0
08/12/15 14:57:13.960251 zma_m1[12215].WAR-zm_monitor.cpp/486 [Waiting for capture daemon]
08/12/15 14:57:15.000659 zma_m1[12215].WAR-zm_monitor.cpp/486 [Waiting for capture daemon]
08/12/15 14:57:16.063949 zma_m1[12215].WAR-zm_monitor.cpp/486 [Waiting for capture daemon]
08/12/15 14:57:17.095456 zma_m1[12215].WAR-zm_monitor.cpp/486 [Waiting for capture daemon]
08/12/15 14:57:18.161033 zma_m1[12215].WAR-zm_monitor.cpp/486 [Waiting for capture daemon]
08/12/15 14:57:19.208850 zma_m1[12215].WAR-zm_monitor.cpp/486 [Waiting for capture daemon]
08/12/15 14:57:20.285058 zma_m1[12215].INF-zma.cpp/105 [In mode 3/1, warming up]
08/12/15 14:57:44.323406 zma_m1[12215].INF-zm_monitor.cpp/1485 [frontDoor: 474 - Gone into prealarm state]
08/12/15 14:57:44.602760 zma_m1[12215].INF-zm_monitor.cpp/1444 [frontDoor: 480 - Gone into alarm state]
08/12/15 14:57:44.690582 zma_m1[12215].INF-zm_monitor.cpp/1464 [frontDoor: 480 - Opening new event 139, alarm start]
Aug 12 15:43:50 server zmfilter[21212]: INF [Scanning for events]
Aug 12 15:43:55 server zmfilter[21212]: INF [PP - Force closing DB just to test]
Aug 12 15:43:55 server zmfilter[21212]: INF [Executing select E.Id,E.MonitorId,M.Name as MonitorName,M.DefaultRate,M.DefaultScale,E.Name,E.Cause,E.Notes,E.StartTime,unix_timestamp(E.StartTime) as Time,E.Length,E.Frames,E.AlarmFrames,E.TotScore,E.AvgScore,E.MaxScore,E.Archived,E.Videoed,E.Uploaded,E.Emailed,E.Messaged,E.Executed from Events as E inner join Monitors as M on M.Id = E.MonitorId where not isnull(E.EndTime) and ( E.StartTime < '2015-08-12 15:43:55' ) and ( E.Executed = 0 ) order by E.StartTime asc limit 0,5]
Aug 12 15:43:55 server zmfilter[21212]: INF [PP:Executing '/tmp/eventcatch.sh /usr/share/zoneminder/events/1/15/08/12/14/57/43']
Aug 12 15:43:55 server zmdc[12105]: ERR ['zmfilter.pl ' exited abnormally, exit status 9]
08/12/15 14:57:13.960251 zma_m1[12215].WAR-zm_monitor.cpp/486 [Waiting for capture daemon]
08/12/15 14:57:15.000659 zma_m1[12215].WAR-zm_monitor.cpp/486 [Waiting for capture daemon]
08/12/15 14:57:16.063949 zma_m1[12215].WAR-zm_monitor.cpp/486 [Waiting for capture daemon]
08/12/15 14:57:17.095456 zma_m1[12215].WAR-zm_monitor.cpp/486 [Waiting for capture daemon]
08/12/15 14:57:18.161033 zma_m1[12215].WAR-zm_monitor.cpp/486 [Waiting for capture daemon]
08/12/15 14:57:19.208850 zma_m1[12215].WAR-zm_monitor.cpp/486 [Waiting for capture daemon]
08/12/15 14:57:20.285058 zma_m1[12215].INF-zma.cpp/105 [In mode 3/1, warming up]
08/12/15 14:57:44.323406 zma_m1[12215].INF-zm_monitor.cpp/1485 [frontDoor: 474 - Gone into prealarm state]
08/12/15 14:57:44.602760 zma_m1[12215].INF-zm_monitor.cpp/1444 [frontDoor: 480 - Gone into alarm state]
08/12/15 14:57:44.690582 zma_m1[12215].INF-zm_monitor.cpp/1464 [frontDoor: 480 - Opening new event 139, alarm start]
2015-08-12 13:45:47.697860 zmfilter 15768 INF PP:Executing '/tmp/eventcatch.sh /usr/share/zoneminder/events/1/15/08/12/13/34/05' zmfilter.pl
2015-08-12 13:45:47.641950 zmfilter 15768 INF Executing select E.Id,E.MonitorId,M.Name as MonitorName,M.DefaultRate,M.DefaultScale,E.Name,E.Cause,E.Notes,E.StartTime,unix_timestamp(E.StartTime) as Time,E.Length,E.Frames,E.AlarmFrames,E.TotScore,E.AvgScore,E.MaxScore,E.Archived,E.Videoed,E.Uploaded,E.Emailed,E.Messaged,E.Executed from Events as E inner join Monitors as M on M.Id = E.MonitorId where not isnull(E.EndTime) and ( E.StartTime < '2015-08-12 13:45:47' ) and ( E.Executed = 0 ) order by E.StartTime asc limit 0,5 zmfilter.pl
2015-08-12 13:45:47.516900 zmfilter 15768 INF PP - Force closing DB just to test zmfilter.pl
2015-08-12 13:45:42.485800 zmfilter 15768 INF Scanning for events zmfilter.pl
2015-08-12 13:40:22.643650 zmfilter 11507 INF PP:Executing '/tmp/eventcatch.sh /usr/share/zoneminder/events/1/15/08/12/13/34/05' zmfilter.pl
2015-08-12 13:40:22.583160 zm
2015-08-12 13:40:22.643650 zmfilter 11507 INF PP:Executing '/tmp/eventcatch.sh /usr/share/zoneminder/events/1/15/08/12/13/34/05' zmfilter.pl
2015-08-12 13:40:22.583160 zmfilter 11507 INF Executing select E.Id,E.MonitorId,M.Name as MonitorName,M.DefaultRate,M.DefaultScale,E.Name,E.Cause,E.Notes,E.StartTime,unix_timestamp(E.StartTime) as Time,E.Length,E.Frames,E.AlarmFrames,E.TotScore,E.AvgScore,E.MaxScore,E.Archived,E.Videoed,E.Uploaded,E.Emailed,E.Messaged,E.Executed from Events as E inner join Monitors as M on M.Id = E.MonitorId where not isnull(E.EndTime) and ( E.StartTime < '2015-08-12 13:40:22' ) and ( E.Executed = 0 ) order by E.StartTime asc limit 0,5 zmfilter.pl
2015-08-12 13:40:22.453150 zmfilter 11507 INF PP - Force closing DB just to test zmfilter.pl
2015-08-12 13:40:17.395470 zmfilter 11507 INF Scanning for events zmfilter.pl
2015-08-12 13:37:37.595640 zmfilter 9229 INF PP:Executing '/tmp/eventcatch.sh /usr/share/zoneminder/events/1/15/08/12/13/34/05' zmfilter.pl
2015-08-12 13:37:37.567870 zmf
2015-08-12 13:35:27.799940 zmdc 5698 ERR 'zmfilter.pl ' exited abnormally, exit status 9 zmdc.pl
2015-08-12 13:35:27.731590 zmfilter 7481 INF PP:Executing '/tmp/eventcatch.sh /usr/share/zoneminder/events/1/15/08/12/13/34/05' zmfilter.pl
2015-08-12 13:35:27.675420 zmfilter 7481 INF Executing select E.Id,E.MonitorId,M.Name as MonitorName,M.DefaultRate,M.DefaultScale,E.Name,E.Cause,E.Notes,E.StartTime,unix_timestamp(E.StartTime) as Time,E.Length,E.Frames,E.AlarmFrames,E.TotScore,E.AvgScore,E.MaxScore,E.Archived,E.Videoed,E.Uploaded,E.Emailed,E.Messaged,E.Executed from Events as E inner join Monitors as M on M.Id = E.MonitorId where not isnull(E.EndTime) and ( E.StartTime < '2015-08-12 13:35:27' ) and ( E.Executed = 0 ) order by E.StartTime asc limit 0,5 zmfilter.pl
2015-08-12 13:35:27.554120 zmfilter 7481 INF PP - Force closing DB just to test zmfilter.pl
2015-08-12 13:35:22.492340 zmfilter 7481 INF Scanning for events zmfilter.pl
2015-08-12 13:35:22.082210 zmdc 7481 INF 'zmfilter.pl' started at 15/08/12 13
#!/usr/bin/perl -wT
#
# ==========================================================================
#
# ZoneMinder Event Filter Script, $Date$, $Revision$
# Copyright (C) 2001-2008 Philip Coombes
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2