Recording Event Stats...
Recording Event Stats...
ZM v1.21.3
RedHat 2.4.18-3
mysql-3.23.49-3
Apache-1.3.27-4
I'm trying to tweak the zoning parameters and what better way than with stats! I checked off the RECORD_EVENT_STATS in the Options->Systems tab; restarted ZM. When I select the alarmed frame and click on the (Stats) link, the stats window opens with "There are no stats recorded for this event/frame". Nothing in the logs. What am I missing?
Thanks.
RedHat 2.4.18-3
mysql-3.23.49-3
Apache-1.3.27-4
I'm trying to tweak the zoning parameters and what better way than with stats! I checked off the RECORD_EVENT_STATS in the Options->Systems tab; restarted ZM. When I select the alarmed frame and click on the (Stats) link, the stats window opens with "There are no stats recorded for this event/frame". Nothing in the logs. What am I missing?
Thanks.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
when you say checked off alarm stats?
you do mean the you checked it on??
you do mean the you checked it on??
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
I enabled (checked on) both RECORD_EVENT_STATS and RECORD_DIAG_IMAGES; restarted ZM. Reviewing the alarmed events, I see the diag images - so I know that worked but no stats. ZM logfiles are all clean, MySQL logfile is clean and apart from the WAR [Buffer overrun] messages and ERR [Incomplete read of frame image data, 1904 bytes only]
ERR [Incomplete frame write: 1920 of 75344 bytes written] (which I assume is due to 256MB of memory and is related to the DIAG_IMAGES option) nothing else out of the ordinary.
ERR [Incomplete frame write: 1920 of 75344 bytes written] (which I assume is due to 256MB of memory and is related to the DIAG_IMAGES option) nothing else out of the ordinary.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
check off your diag images it will nail your system and wont be a great help with what your tring to do here.
Also ensure are using blobs in the zone detection method That should sort you out. I would assume the reason your not getting stats at the mo is because the 2 things you have turned on are very resourse hungry and your box just aint up to it. You could also try reducing your framerate or just enabling 1 monitor at a time while setting up.
Also ensure are using blobs in the zone detection method That should sort you out. I would assume the reason your not getting stats at the mo is because the 2 things you have turned on are very resourse hungry and your box just aint up to it. You could also try reducing your framerate or just enabling 1 monitor at a time while setting up.
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
I've since removed the DIAG_IMAGES and restarted ZM, so the diag images don't get created anymore. My single zone is based on Units:Pixel and Alarm_check_method:AlarmPixel. I changed the alarm_check_method to Blobs as James mentioned. Does this take effect immediately?
I also checked the database itself. Shouldn't the Stats table contain entries?
mysql> use zm;
mysql> select * from Stats;
Empty set (0.00 sec)
I also checked the database itself. Shouldn't the Stats table contain entries?
mysql> use zm;
mysql> select * from Stats;
Empty set (0.00 sec)
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i think it may need a restart but i always restart zm after any config changes. If i turn it on on mine i get stats.
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Actually that's not true. The whole bit is enclosed in a big test for CREATE_ANALYSIS_IMAGES. It's a long time since I looked at any of this so I think it's due a bit of a rework. However for now, if you switch on analysis images (not diagnostic ones) then you should get your stats.
I'll add this to the bug list.
Phil
I'll add this to the bug list.
Phil