Transcription of ZoneMinder Documentation - Read the Docs
1 ZoneMinder 17, 2020 Contents1 Installation Easy To Use Docker Image .. Distros - A Docker Way to Build ZoneMinder .. 10+ using WSL .. Install .. Drive, Partition, or Network Share ..232 User .. Started .. Monitors .. Zones .. Monitors .. Events .. Events .. Camera Control .. Controlling Monitors .. Mobile Devices .. Logging .. Configuration Files .. 1043 .. Wrappers .. evolution .. API .. secret key .. an API key .. these keys with subsequent requests .. lifetime ( ) .. lifetime ( ) .. Understanding access/refresh tokens ( ).
2 Understanding key security .. Examples .. API Version .. Return a list of all monitors .. Retrieve monitor 1 .. Change State of Monitor 1 .. Get Daemon Status of Monitor 1 .. Add a monitor .. Edit monitor 1 .. Delete monitor 1 .. Arm/Disarm monitors .. Return a list of all events .. Retrieve event Id 1000 .. Edit event 1 .. Delete event 1 .. Return a list of events for a specific monitor Id =5 .. Return a list of events for a specific monitor within a specific date/time range.
3 Return a list of events for all monitors within a specified date/time range .. Return event count based on times and conditions .. Return sorted events .. Configuration Apis .. Run State Apis .. Create a Zone .. PTZ Control Meta-Data APIs .. Host APIs .. Storage and server APIs .. Other APIs .. Streaming Interface .. Further Reading .. 1204 can I stop ZoneMinder filling up my disk? .. for Memory: Making sure you have enough memory to handle your cameras .. have enabled motion detection but it is not always being triggered when things happen in the cameraview.
4 Can t ZoneMinder capture images (either at all or just particularly fast) when I can see my camerajust fine in xawtv or similar? .. can t I see streamed images when I can see stills in the zone window etc? .. have several monitors configured but when I load the Montage view in FireFox why can I only seetwo? or, Why don t all my cameras display when I use the Montage view in FireFox? .. can t see more than 6 monitors in montage on my browser .. is ZoneMinder using so much CPU? .. is the timeline view all messed up? .. How much Hard Disk Space / Bandwidth do I need for ZM?
5 When I try and run ZoneMinder I get lots of audit permission errors in the logs and it won t start .. How do I enable ZoneMinder s security? .. Managing system load (with IP Cameras in mind) .. Extending ZoneMinder .. Trouble Shooting .. Miscellaneous .. 1355 Contributing1376 Indices and tables139iiCHAPTER1 Installation GuideTodo:This entire guide needs to be checked/updated as An Easy To Use Docker ImageIf you are interested in trying out ZoneMinder quickly, user Dan Landon maintains an easy to use docker imagefor ZoneMinder . With a few simple configuration changes, it also provides complete Event Notification server andMachine Learning hook support.
6 Please follow instructions in his repostory. He maintains two repositories: If you want to run the latest stable release, please use his ZoneMinder repository. If you want to run the latest ZoneMinder master, please use his ZoneMinder master both cases, instructions are provided in the repo README you are looking at building your own native (non docker) binary packages of ZoneMinder for your distro, pleaserefer to the distro specific install guides orAll Distros - A Docker Way to Build All Distros - A Docker Way to Build ZoneMinderNote:If you are looking for an easy way to run ZoneMinder and not interested in building your own docker image,please refer toAn Easy To Use Docker Documentation All Distros - A Docker Way to Build ZoneMinder Background Procedure Appendix A - Enable Qemu On the HostThese instructions represent an alternative way to build ZoneMinder for any supported.
7 Fewer steps and therefore much simpler Target distro agnostic - the steps are the same regardless of the target distro Host distro agnostic - the steps described here should work on any host Linux distro capable of running Bashand BackgroundThese instructions leverage the power of the automated build system recently implemented in the ZoneMinder the scenes, a project called packpack is utilized, to build ZoneMinder inside a Docker ProcedureStep 1:Verify the target distro. Open the project s . file and verify the distro you want to build ZoneMinder for appears in the buildmatrix. The distros shown in the matrix are those known to build on ZoneMinder .
8 If the distro you desire is inthe list then continue to step two. If the desired distro is not in the first list, then open the packpack project README and check if the desireddistro is theoretically supported. If it is, then continue to step 2 with the understanding that you are heading outinto uncharted territory. There could be problems. If the desired distro does not appear in either list, then unfortuantely you cannot use the procedure describedhere. If the desired distro architecture is arm, refer toAppendix A - Enable Qemu On the Hostto enable qemu emula-tion on your amd64 host 2:Install need to have a working installation of Docker so head over to the Docker site and get it working.
9 Before continuingto the next step, verify you can run the Docker Hello World container as a normal user. To run a Docker containeras a normal user, issue the following:sudo gpasswd -a <username> dockernewgrp dockerWhere <username> is, you guessed it, the user name you log in 3:Git clone the ZoneMinder the ZoneMinder project if you have not done so clone ZoneMinder2 Chapter 1. Installation GuideZoneMinder DocumentationAlternatively, if you have already cloned the repo and wish to update it, do the ZoneMindergit checkout mastergit pull origin masterStep 4:Checkout the revision of ZoneMinder you wish to freshly cloned ZoneMinder git repo already points to the most recent commit in the master branch.
10 If you want thelatest development code then continue to the next step. If instead, you want to build a stable release then perform thefollowing checkout <releasename>Where <releasename> is one of the official ZoneMinder releases shown on the releases page, such as 5:Build ZoneMinderTo start the build, simply execute the following command from the root folder of the local git repo:OS=<distroname> DIST=<distrorel> utils/ <distroname> is the name of the distro you wish to build on, such as fedora, and <distrorev> is release name ornumber of the distro you wish to build on. Redhat distros expect a number for <distrorev> while Debian and Ubuntudistros expect a name.