PIGOSS BSM Monitoring System Collection Mode Agent 3.0 Technology and Introduction

I. Overview

        The PIGOSS IT comprehensive operation and maintenance management platform implements different platforms through various collection methods. Agent , as one of the collection methods, plays a vital role in the data collection part; most devices can achieve indicators through this collection method data collection.

        The initial versions 1.0 and 2.0 supported the collection and expansion of various scripts, and now the developed version 3.0 has been enhanced and processed on the basis of the original version, with better stability and scalability.

Two: technical description

        As the latest generation of agent collection agents, Agent 3.0 uses the mature and widely used Netty communication framework . Netty provides an asynchronous, event-driven network application framework for developing high-performance, high-reliability clients Program , PIGOSS integrates the superior characteristics of Java object-oriented programming and NIO , making Netty play the biggest role in Agent .

          The overall architecture module of PIGOSS Agent3.0 uses the factory model in the basic framework to realize the flexibility of configuration and development, and combines the object-oriented development of transmission messages to manage and assign messages reasonably and scientifically, so that each module can be used in the overall Close integration and mutual cooperation, so that the Agent framework structure is clear and the detailed code is reasonable.

        Agent ensures the integrity of sending and receiving messages and reduces the packet loss rate. These two key features are the basic functions and core points of the task mechanism. The task mechanism includes task pools and various message status notification rules; Agent uses adaptive The thread pool and the protection mechanism of large message volume compression have greatly improved the performance of Agent .

        

Agent also inherits the characteristics of Netty         on the external interface , which can be customized and developed for a variety of different protocols, and provides SSL/TLS , JavaNIO API , I/O event model, GoogleProtocol Buffers and other advanced components to speed up the development process. Netty also provides complete IOC container support, thus ensuring the ease of use and scalability of the framework for developers.

Three: Instructions for use

       1. Agent deployment methods are divided into automatic batch deployment and manual deployment

                Automatic batch deployment can directly install the Agent to the collected end, which is suitable for deploying multiple devices at one time

                Manual deployment needs to download the corresponding Agent installation package according to the operating system platform of the collected end, and perform Agent installation and start after manual upload

         2. Deploy Agents to the collected end in batches

                PIGOSS BSM simplifies the Agent deployment process, and can send Agents to the collected end in batches, which greatly simplifies the early implementation process

                Go to Toolbox-Common Tools-Agent Batch Deployment, enter the information of the collected end, click Start, and wait for the automatic batch deployment to complete. After the deployment is completed, the collected end will automatically start the Agent service

        3. Add resources that need to be collected using the Agent method

                After the Agent is installed and started on the collection terminal, the Agent mode can be used for collection

                Take monitoring the Linux system as an example, manually add Linux resources, check the Agent collection method, and fill in the relevant information

                 In addition, it is also possible to discover host operating systems with Agent deployed through automatic discovery (only limited to automatic discovery of host operating systems with Agent deployed, such as Linux and Windows). After automatic discovery and adding resources, PIGOSS will automatically collect them through Agent way to find corresponding indicators

Four: Summary

        The new generation of Agent not only continues the small size, powerful functions, and easy installation of the previous version, but also greatly improves the efficiency of data collection. Compared with the previous generation program, the overall collection efficiency has improved, and the performance improvement At the same time, it occupies less host computer resources, so that users will not feel any pressure when using the Agent agent program for data collection, and will not have any impact on the operation of other programs.

        In today's world, the development of science and technology is changing with each passing day, and new technologies emerge in an endless stream. Only by standing on the shoulders of giants can we see further ahead. Our PIGOSS operation and maintenance monitoring platform and agent collection agent are also advancing with the times, absorbing new technologies at any time Knowledge and technology, continuous improvement and improvement of customer experience and satisfaction.

Guess you like

Origin blog.csdn.net/pigoss02/article/details/127603738