laitimes

A complete set of open source monitoring system (with source code) eat through the monitoring system preface project introduction Compared with other open source monitoring systems Advantages: Installing video surveillance systems Eight principles Features Recommend online deployment of offline deployment of the use of technical solutions

author:Java456

<h1 class="pgc-h-arrow-right" data-track="1" > preface</h1>

The TV monitoring system is composed of five major parts: front-end monitoring equipment, transmission equipment, back-end storage, control and display equipment. The back-end device can be further divided into a central control device and a central control device. Front and rear equipment have a variety of compositions, and the connection between them can be achieved through cables, optical fibers, microwaves and other ways. Front-end surveillance equipment camera, using advanced charge-coupled device CCD image sensing technology. Cameras with automatic aperture interface, automatic white balance, electronic shutter, illuminance requirements, backlight compensation, standard definition or high resolution force are suitable for a variety of occasions for users to choose from. Terminal monitoring equipment sequential video audio switcher, can switch the camera image from 2 to 12 channels and the corresponding audio signal in order, its timing switching image signal is automatically displayed in sequence on the monitor, and the switching time can be adjusted. You can also manually toggle the selection or bypass to isolate the image display of a specified camera.

A complete set of open source monitoring system (with source code) eat through the monitoring system preface project introduction Compared with other open source monitoring systems Advantages: Installing video surveillance systems Eight principles Features Recommend online deployment of offline deployment of the use of technical solutions

<h1 class="pgc-h-arrow-right" data-track="4" > project introduction</h1>

A domestic open source monitoring system that integrates monitoring point monitoring, log monitoring, data visualization and monitoring alarms can be used directly.

A complete set of open source monitoring system (with source code) eat through the monitoring system preface project introduction Compared with other open source monitoring systems Advantages: Installing video surveillance systems Eight principles Features Recommend online deployment of offline deployment of the use of technical solutions

Monitoring data types are rich, providing a variety of expressive charts to meet the needs of data visualization, currently support line charts, pie charts, geographical map, and will introduce more expressive charts to strengthen the support for data visualization.

A complete set of open source monitoring system (with source code) eat through the monitoring system preface project introduction Compared with other open source monitoring systems Advantages: Installing video surveillance systems Eight principles Features Recommend online deployment of offline deployment of the use of technical solutions

<h1 class="pgc-h-arrow-right" data-track="9" > advantages over other open source monitoring systems:</h1>

(1) Support plug-in function, monitoring plug-in does not need to be developed, freely choose monitoring plug-in, installation can be used

(2) Integrated alarm function, support a variety of alarm methods

(3) Integrate the function of distributed logging system

(4) Support multiple deployment methods

a. Centralized deployment (all services are deployed on one machine, suitable for individuals or small team developers) b. Distributed deployment (distributed deployment on multiple machines, suitable for large-scale monitoring needs of small and medium-sized enterprises)

(5) Support automatic configuration (after the machine is deployed agent, it is automatically registered to the monitoring system without the need to configure in the console, and the view is automatically bound to the relevant reporting machine according to the report)

(6) Support multi-user access (sub-accounts are added by the administrator account in the console)

(7) The reporting interface supports mainstream development languages, and the data reporting API provides convenience similar to the common library interface

<h1 class="pgc-h-arrow-right" data-track="17" > eight principles for installing video surveillance systems</h1>

A complete set of open source monitoring system (with source code) eat through the monitoring system preface project introduction Compared with other open source monitoring systems Advantages: Installing video surveillance systems Eight principles Features Recommend online deployment of offline deployment of the use of technical solutions

Real-time

With the enhancement of security awareness, video surveillance systems have slowly entered the homes of our ordinary people. Video surveillance solutions are also emerging, so what principles need to be observed in the installation of surveillance systems? To install a monitoring system, we must first consider the following 8 major monitoring and installation principles:

1, real-time: the monitoring system is real-time, which is particularly important. It is precisely because of the real-time nature of the monitoring system that the monitoring system is so necessary.

2. Security: The monitoring system has security precautions and confidentiality measures to prevent illegal intrusion into the system and illegal operation.

3, scalability: monitoring system equipment using modular structure, the system can be convenient and flexible in the monitoring scale, monitoring objects, or monitoring requirements and other changes in hardware and software to expand, that is, do not need to change the structure of the network and the main software and hardware equipment.

4, open: the monitoring system follows the principle of openness, the system provides in line with international standards of software, hardware, communications, network, operating system and database management system and other aspects of the interface and tools, so that the system has good flexibility, compatibility, scalability and portability. The entire network is an open system that is compatible with the products of multiple monitoring manufacturers and can support secondary development.

5. Standardization: The equipment and technology used in the monitoring system comply with international standards. This gives you a guarantee of peace of mind.

6. Flexibility: The monitoring system is flexible in networking mode, flexible in system function configuration, and can make full use of the existing video surveillance subsystem network resources. The system integrates other subsystems into it, which can meet the business needs of different monitoring units, and the software functions are comprehensive and easy to configure.

7, advanced: the monitoring system is to meet the reliability and practicality of the premise of the most advanced system. The entire system remains advanced for ten years after its completion, and the equipment and technology used in the system can adapt to future development and can be easily upgraded. It will become an advanced security system that adapts to future development, high reliability, good confidentiality, simple network expansion, strong connection data processing ability, and easy system operation and operation.

8. Practicality: The video surveillance system has the ability and level to complete the required functions in the project. The system meets the requirements of the relevant specifications at home and abroad that are actually needed for this project, and is easy to achieve and easy to operate. From the user's point of view, make full use of existing resources, minimize the cost of the system, so that the system has a high performance-price ratio.

<h1 class="pgc-h-arrow-right" data-track="29" > featured features</h1>

IP address library: Supports converting an IP address to a physical address when reporting through an IP address, and the same physical address is combined to display a monitoring API to easily generate monitoring.

A plot of the physical address distribution of the data

A complete set of open source monitoring system (with source code) eat through the monitoring system preface project introduction Compared with other open source monitoring systems Advantages: Installing video surveillance systems Eight principles Features Recommend online deployment of offline deployment of the use of technical solutions

Monitoring plug-in market: Monitoring has become a reusable component, and more monitoring plug-ins are under continuous development.

A complete set of open source monitoring system (with source code) eat through the monitoring system preface project introduction Compared with other open source monitoring systems Advantages: Installing video surveillance systems Eight principles Features Recommend online deployment of offline deployment of the use of technical solutions

Distributed log system: Support large-scale system log reporting, log reporting support frequency limit, log staining, custom fields and other advanced functions, console log viewing support by keywords, excluded keywords, reporting time, reporting machine, etc. to filter logs, easily find the logs you need from the vast logs.

A complete set of open source monitoring system (with source code) eat through the monitoring system preface project introduction Compared with other open source monitoring systems Advantages: Installing video surveillance systems Eight principles Features Recommend online deployment of offline deployment of the use of technical solutions

View mechanism: The monitoring chart supports the view customization mode, and the view can be arbitrarily combined according to the reporting server and monitoring point, which can easily customize the monitoring view you need, and can directly set the alarm value on the monitoring chart.

A complete set of open source monitoring system (with source code) eat through the monitoring system preface project introduction Compared with other open source monitoring systems Advantages: Installing video surveillance systems Eight principles Features Recommend online deployment of offline deployment of the use of technical solutions

Alarm integration: Integrated alarm function, support email, SMS, WeChat, PC client and other alarm methods, alarm function can be directly available without development.

A complete set of open source monitoring system (with source code) eat through the monitoring system preface project introduction Compared with other open source monitoring systems Advantages: Installing video surveillance systems Eight principles Features Recommend online deployment of offline deployment of the use of technical solutions

<h1 class="pgc-h-arrow-right" data-track="41" > deployed online</h1>

The installation script will first check whether the current system supports online installation, if not supported, you can download the source code and compile and install on the system.

Online deployment currently only supports centralized deployment, where all services are deployed on a single machine where mysql/apache needs to be installed.

The installation script uses Chinese UTF8 encoding, please set your terminal to UTF8 during the installation process to avoid garbled codes.

The installation script supports both root and normal account operations, and the requirements for installation and deployment using a normal account are as follows:

1. The online deployment uses the dynamic link library, and the installation script needs to be executed in the specified directory, which is: /home/mtreport

2. Some directories of ordinary accounts may not have permission to operate, and require authorization to install normally We strongly recommend that you first perform online installation on the local virtual machine, familiarize yourself with the installation process, and then actually deploy to your server.

<h1 class="pgc-h-arrow-right" data-track="48" > deployed offline</h1>

If the online installation fails or requires secondary development, you can use the source code compilation method to install.

Deploy in three steps:

1. Execute make to complete the source code compilation

2. Enter the tools_sh directory, execute the make_all.sh generate the deployment package

3. Extract the deployment package in the installation directory, perform local_install.sh complete the installation

< h1 class="pgc-h-arrow-right" data-track="54" > technical solution used</h1>

apache + mysql (monitor point data, configuration information using mysql storage, support distributed deployment)

The front-end web console uses the dwz open source framework

Front-end monitoring charts are plotted using open source echarts

Background CGI uses the open source CGI template engine - Clearsilver, all CGI supports deploying in a faccgi fashion

The back-end service uses the open source feature socket development framework - C++ Sockets

Source code acquisition method: pay attention to Xiaobian + forward article + private message [666] free to get

Important things to say three times, forward + forward + forward, be sure to remember to like and forward Oh!!!