CN107483245A - It is a kind of that realization device is actively gathered based on karaf_agent - Google Patents

It is a kind of that realization device is actively gathered based on karaf_agent Download PDF

Info

Publication number
CN107483245A
CN107483245A CN201710690493.XA CN201710690493A CN107483245A CN 107483245 A CN107483245 A CN 107483245A CN 201710690493 A CN201710690493 A CN 201710690493A CN 107483245 A CN107483245 A CN 107483245A
Authority
CN
China
Prior art keywords
file
karaf
server
message
main frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710690493.XA
Other languages
Chinese (zh)
Inventor
程永新
宋辉
王贤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai New Torch Network Information Technology Ltd By Share Ltd
Original Assignee
Shanghai New Torch Network Information Technology Ltd By Share Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai New Torch Network Information Technology Ltd By Share Ltd filed Critical Shanghai New Torch Network Information Technology Ltd By Share Ltd
Priority to CN201710690493.XA priority Critical patent/CN107483245A/en
Publication of CN107483245A publication Critical patent/CN107483245A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/046Network management architectures or arrangements comprising network management agents or mobile agents therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/042Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

Realization device, including the application server with karaf server modules are actively gathered based on karaf_agent the invention discloses a kind of, it builds MQ message-oriented middlewares by karaf and file issues plug-in unit;Monitored main frame, it builds client plug-in by karaf, and the application server calls client plug-in to obtain monitoring data;Database server, it is used to store monitoring configuration information and monitoring data;When being connected between the monitored main frame and the application server by proxy server, the proxy server is provided with karaf middlewares and carries out data forwarding, and the application server is by calling the karaf middlewares on proxy server to obtain the monitoring data of monitored main frame.The present invention's actively gathers realization device based on karaf_agent, possesses self refresh, heat deployment, distributed quick function extended capability, support is provided for operation maintenance personnel Daily Round Check.

Description

It is a kind of that realization device is actively gathered based on karaf_agent
Technical field
The present invention relates to one kind actively to gather realization device, more particularly to a kind of active collection based on karaf_agent Realization device.
Background technology
In automation O&M field, zabbix is a main flow, well-known distributed system monitoring and network prison The enterprise-level of visual function is increased income solution.Zabbix server can be by SNMP, and zabbix agent, ping, port is supervised Depending on the methods of the function such as monitoring, Data Collection to remote server/network state is provided, it may operate in LinuX, On the platforms such as S0lariS, HP-UX, AIX, Free BSD, Open BSD, OS X.Zabbix is installed with configuration simply, is learnt into This is low;Support multilingual (including Chinese);Freely increase income;It is automatic to find server and the network equipment;Distributed monitoring and WEB Manage function concentratedly;It can be monitored without agent;User safety authentication and soft authorization;Set or look into by WEB interface See monitoring result;Informing functions such as email etc..Zabbix can monitor various network parameters, ensure the safety of server system Operation;And flexible informing mechanism is provided to allow various problems existing for system manager's fast positioning/solution.
Puppet is a kind of centralized configuration management system of Linux, Unix, windows platform, uses own puppet Description language, can management configuration file, user, cron tasks, software kit, system service etc..Puppet is these system entitys Referred to as resource, the dependence puppet design object is the management simplified these resources and deals carefully with resource are closed System.
But there are the following problems for current technology scheme:
1st, system client itself does not possess the ability of self refresh, a large amount of manpowers of renewal consuming of program after deployment.
2nd, system client does not possess heat deployment ability, it is necessary to which stopping client entering line program renewal.
3rd, systemic-function is fixed, and extended capability is weak, or Function Extension complex steps, such as needs to log in client etc..
The content of the invention
The technical problems to be solved by the invention be to provide it is a kind of realization device is actively gathered based on karaf_agent, Disposed using application server, proxy server and client plug-in mode, have and support distributed monitoring ability, supported The monitor mode of agency, not because local problem influences whole system, possess powerful ability extending transversely, can quickly be disposed Promote.
The present invention is to provide a kind of master based on karaf_agent to solve the technical scheme that above-mentioned technical problem uses Dynamic collection realization device, including:Application server, it includes karaf server modules, and the karaf server modules pass through Karaf builds MQ message-oriented middlewares and file issues plug-in unit;Monitored main frame, it builds client plug-in by karaf, described Application server is by calling the client plug-in on monitored main frame to obtain monitoring data;Database server, it is used to deposit Store up monitoring configuration information and monitoring data;When passing through proxy server phase between the monitored main frame and the application server Lian Shi, the proxy server are provided with karaf middlewares and carry out data forwarding, and the application server is by calling agency's clothes The karaf middlewares being engaged on device obtain the monitoring data of monitored main frame.
Further, the client plug-in includes monitoring alarm plug-in unit, automation O&M feature card and basis clothes Business feature card.
Further, it is connected between the monitored main frame and the application server by proxy server;It is described to answer File is sent into request with server to be issued in the MQ message-oriented middlewares of the server end module;The application server File issue plug-in unit and listen to the file and send request, file is sent into request is sent to the proxy server In karaf middlewares;Client plug-in on the monitored main frame listens to the karaf middlewares of the proxy server Corresponding queue has the message of itself, then receives the message;The monitored main frame monitors unique queue, according to message solution in queue Release and get corresponding operational order, then send file transmission to the recovery message queue that karaf server modules are monitored File is construed to file stream after receiving the file transmission order and is put into respective queue, institute by order, the server State monitored main frame and get restoring files and be saved in into file under local directory, determined according to the order received before next Step exits or performed respective file, sends back by basic message state plug-in unit corresponding message after completion task described In the MQ message-oriented middlewares of application server, and it is written to the database server;The application server reads message shape State, file is issued into result and feeds back to user.
Further, the monitored main frame and the application server are joined directly together;The karaf of the application server The file crawl plug-in unit of server module listens to MQ message-oriented middleware message;The monitored main frame feedback prepares to download file Message status to the database server;The monitored main frame starts to download file, receives file stream, described monitored Main frame feedback is receiving the message status of file to the database server;The monitored main frame completes file reception, The message status that the monitored main frame feedback reception is completed is to the database server;The karaf of the application server Server module deletes the temporary file of reception.
Further, the file crawl plug-in unit of the proxy server listens to MQ message-oriented middleware message;The karaf Server module or proxy server feedback prepare to download the message status of file to the database server;Start lower published article Part, receives file stream, and the service monitor or proxy server feedback are receiving the message status of file described in Database server;The karaf server modules or the proxy server complete file reception, file are saved in described Karaf server modules or institute's proxy server, and the message status that feedback reception is completed is to the database server;It is described Proxy server deletes the temporary file of reception.
Further, the application server also includes the parameter of file crawl being forwarded to institute by MQ message-oriented middlewares In the karaf middlewares for stating proxy server;The client plug-in of the monitored main frame listens to the proxy server Task of having file to capture in queue, then receive message;The monitored main frame judges that file whether there is, if file is not present Then stop collection, it is newly-built, task scheduling is deleted or modified if file is present;File type is judged, if crawl configuration text Part, judges whether the configuration file changes, and is not captured if the configuration file does not change, if the configuration file has Change then captures configuration file.
Further, if the file type is daily record crawl file, the journal file is returned into the application Server.
Further, under using Observer Pattern, the karaf server modules or proxy server are monitored accordingly The message queue of monitored main frame, the information content is assembled according to the monitored host object address to be performed, and is then propagated or wide It is multicast in corresponding message queue, after monitored main frame receives the content of message queue accordingly, according to the message queue Content be acquired with file transmit, perform remote scripting order, and assemble execution after the completion of return information to return queue In, the karaf server modules or the proxy server are monitored and return to queue, obtain implementing result, and update and arrive data In the corresponding data row in storehouse.
Further, the remote scripting order includes to the database server, MQ message-oriented middlewares and and supervised Control main frame and perform SHELL and sql command, for periodicity, timing or manual mode to the database server, MQ message Middleware and monitored main frame are restarted, and verification and state verification is compared to restarting front and rear data.
Further, between the monitored main frame and the application server using go-ahead mode realize automatic deployment or Manually dispose.
It is proposed by the present invention it is a kind of realization device is actively gathered based on karaf_agent, using application server, agency Server and client side's plug-in unit mode is disposed, have support distributed monitoring ability, support agency monitor mode, not because Local problem influences whole system, possesses powerful ability extending transversely, can quickly carry out deployment popularization.
Further, the system module include remote command, file issue/capture, automate restart, automatically dispose etc. Automation function, the operating efficiency and O&M standardization of operation maintenance personnel can be greatly enhanced.
Brief description of the drawings
Fig. 1 is a kind of module map for actively gathering realization device based on karaf_agent in the embodiment of the present invention;
Fig. 2 is that a kind of file for actively gathering realization device based on karaf_agent in the embodiment of the present invention issues Flow chart;
Fig. 3 is a kind of application service for actively gathering realization device based on karaf_agent in the embodiment of the present invention The file crawl flow chart of device;
Fig. 4 is a kind of agency service for actively gathering realization device based on karaf_agent in the embodiment of the present invention The file crawl flow chart of device;
Fig. 5 is a kind of monitored master for actively gathering realization device based on karaf_agent in the embodiment of the present invention The file crawl flow chart of machine.
Embodiment
A kind of in the embodiment of the present invention actively gathers realization device based on karaf_agent, using application server, Proxy server and client plug-in mode are disposed, and are had and are supported distributed monitoring ability, support the monitor mode of agency, Not because local problem influences whole system, possess powerful ability extending transversely, can quickly carry out deployment popularization.
The Karaf that the present invention uses is an operation for being based on OSGi (Open Service GatewayInitiative) Environment, OSGi technologies are the dynamic modeling systems towards Java.OSGi service platform provides service to Java, and these services make Java turns into Integrated Simulation and the preferred environment of software development.Java provides the portability that product is supported in multiple platforms. OSGi technologies, which provide, allows application program to use refining, the reusable and standardization primitive of component construction that can cooperate.
OSGi is a standard, and it is directed to being supplied to one modular BOTTOM LAYER ENVIRONMENT of Java projects, and a series of General service (Service).Compared with common JVM programs, the characteristics of OSGi program innately possesses dynamic module, it is different Module (in OSGi be referred to as Bundle) have independent life cycle, can independently be installed, started, stopped, being unloaded Operation, the dependence management of intermodule also provides by OSGi.As can be seen that OSGi is especially suitable for needing to carry out Plugin management Project, a typical successful case is exactly Eclipse and its numerous Plugin.OSGi standards also specifications is a series of often Operation, daily record, configuration file, event queue, Web exploitations and JPA&JDBC for seeing etc., most of frame for disposing OSGi standards Frame both provides these services, such one side specification structure of code, has on the one hand saved the time of exploitation.
Karaf is an open source projects under Apache;Karaf is also the running environment based on OSGi simultaneously, Karaf provides the OSGi containers of a lightweight, can be used for disposing various assemblies, application program.Karaf is provided a lot Characteristic is used to help developer and the more flexible application deployment of user, such as:Heat deployment, dynamic configuration, several log processings System, local system integrate, may be programmed extension console, ssh remote accesses and built-in installation authentication mechanism etc..Simultaneously Karaf has been gone out as a ripe and outstanding OSGi running environment and container by many Apache projects as foundation stone Container, such as:Apache Geronimo, ApacheServiceMix and Fuse ESB, it can be seen that Karaf is in performance, function Be all a good selection in stability.
Apache Felix are an OSGi frameworks under Apache, and project itself is highly developed, has been used In a lot of other projects, such as the service that Apache Servicemixo itselfs provide is also most complete, is almost covered Whole OSGi4.2 standard.In addition some off-gauge functions, such as iPOJO are additionally provided.Framework is very tight in itself Gather, it is only necessary to which 3 Bao Jiayi shell cans are run, and either exploitation or Debug are very easy.
Apache Felix Karaf are a Felix sub-project in itself, but he is to encapsulate Felix to provide more in fact High one layer of Runtime, built-in a large amount of utilities under default situations.
Karaf is intended to reference to Equinox or two frameworks of Felix outstanding OSGi functions, and ensures its out-of-the-box. Such as it contains a configurable log system and (is based on Log4J, but is carried out for numerous general log systems Packaging), the remote access realized by SSH, pass through ConfigAdmin (source code is located in etc catalogues) configuration and interior The JAAS built is supported.Moreover, Karaf there is also mounted Pax URL MVN agreements, thus can be from Maven central repositories (can be packaged as bundle automatically in the case of necessary) installs bundle.
In addition, Karaf also proposed the concept of characteristic, so-called characteristic is exactly bundle set, can be pacified in the form of group It is attached to central during running OSGi operations.Characteristic contains the support to obr, jetty and spring, has accomplished to unpack i.e. With.So, multiple bundle are installed if desired, but do not have strict runtime dependence between these bundle, then this Kind supports can to greatly simplify such case.
ActiveMQ is Apache products, the messaging bus of increasing income most popular, ability is powerful.ActiveMQ is one complete It is complete to support JMS1.1 and the JMS Provider of the specifications of J2EE 1.4 to realize, although the appearance of JMS specifications has been thing for a long time , but JMS still plays special status among current J2EE applications.Main feature is as follows:
(1) multilingual and agreement write client.Language:Java、C、C++、C#、Ruby、Perl、Python、PHP、 Using association IX, Openffire, Stomp REST, WS Notificat1n, XMPP and AMQP;
(2) JMS1.1 and J2EE1.4 specifications (persistence, XA message and affairs) are supported completely;
(3) to Spring support, ActiveMQ can be easy to be embedded into inside the system using Spring and go, and Also Spring2.0 characteristic is supported;
(4) common J2EE servers (such as Geronimo, JBoss 4, GlassFish, WebLogic) test has been passed through, Wherein by JCA 1.5resource adaptors configuration, ActiveMQ automatic deployments can be allowed to any compatible J2EE In 1.4 commerce server;
(5) a variety of transportation protocols are supported:In-VM, TCP, SSL, N1, UDP, JGroups, and JXTA;
(6) message duration by JDBC and journal offer high speeds is supported;
(7) high performance cluster, client-server and point-to-point are ensure that from design;
(8) Ajax is supported;
(9) integration with Axis is supported;
(10) embedded JMS provider can be easily called to be tested.
It is understandable to enable above-mentioned purpose, feature and the beneficial effect of the present invention to become apparent, below in conjunction with the accompanying drawings to this The specific embodiment of invention is described in detail.
Fig. 1 is a kind of module map of Self management realization device based on karaf_agent ends in the embodiment of the present invention.Such as It is a kind of that realization device is actively gathered based on karaf_agent shown in Fig. 1, including:Application server 11, it includes service end Module, the server module includes MQ message-oriented middlewares and file issues plug-in unit;Monitored main frame 12, the monitored main frame 12 and the application server 11 connect, the monitored main frame 12 includes client plug-in, and the client plug-in is used to obtain Take monitoring data;Database server 13, it is used to store monitoring configuration information and monitoring data;Proxy server 14, it is wrapped Karaf message-oriented middlewares are included, the client on plug-in unit and the monitored main frame 12 for calling proxy server 14 Plug-in unit is held to obtain monitoring data.
In specific implementation, the client plug-in includes monitoring alarm plug-in unit, automation O&M feature card and base Plinth service function plug-in unit.
Fig. 2 is that a kind of file for actively gathering realization device based on karaf_agent in the embodiment of the present invention issues Flow chart.As shown in Fig. 2 step 21:File transmission request is issued to the server end module by the application server 11 MQ message-oriented middlewares in;Step 22:The application service:11 file issues plug-in unit and listens to the file transmission request, File is sent into request to be sent in the karaf message-oriented middlewares of the proxy server 14;Step 23:The monitored main frame The corresponding queue that client plug-in on 12 listens to the karaf message-oriented middlewares of the proxy server 14 has disappearing for itself Breath, then receive the message;Step 24:The monitored main frame monitors unique queue, and phase is got according to message interpretation in queue The operational order answered, then sends file transmission order to monitoring server recovery message queue, and the monitoring server receives File is construed to file stream after the file transmission order and is put into respective queue, the monitored main frame gets file Circulate into file to be saved under local directory, determined to exit or perform in next step corresponding text according to the order received before Part, the file is received after completion task, corresponding message is sent back into the application service by basic message state plug-in unit In the MQ message-oriented middlewares of device 11, and it is written to the database server 13;Step 25:The application server 11, which is read, to disappear Breath state, file is issued into result and feeds back to user.
Fig. 3 is a kind of application service for actively gathering realization device based on karaf_agent in the embodiment of the present invention The file crawl flow chart of device.As shown in figure 3, step 31:The file crawl of the server module of the application server 11 is inserted Part listens to the MQ message-oriented middlewares of the server end module;Step 32:The monitored main frame feedback prepares to download file Message status to the database server 13;Step 33:The monitored main frame starts to download file, receives file stream, The monitored main frame feedback is receiving the message status of file to the database server 13;Step 34:It is described to be supervised Control main frame and complete file reception, the message status that the monitored main frame feedback reception is completed to the database server 13; Step 35:The server module of the application server 11 deletes the temporary file of reception.
Fig. 4 is a kind of agency service for actively gathering realization device based on karaf_agent in the embodiment of the present invention The file crawl flow chart of device.As shown in figure 4, step 41:The file crawl plug-in unit of the proxy server 14 listens to described The MQ message-oriented middleware message of server end module;Step 42:The service monitor or proxy server feedback prepare to download The message status of file is to the database server 13;Step 43:Start to download file, receive file stream, the service prison Control or proxy server feedback are receiving the message status of file to the database server 13;Step 44:It is described Service monitor or the proxy server complete file reception, and file is saved in into the service monitor or the agency takes It is engaged in device, and the message status that feedback reception is completed is to the database server 13;Step 45:The agency service:14 will connect The temporary file of receipts is deleted.
Fig. 5 is a kind of monitored master for actively gathering realization device based on karaf_agent in the embodiment of the present invention The file crawl flow chart of machine.As shown in figure 5, step 51:The MQ that the parameter that file captures is passed through into the application server 11 Message-oriented middleware is forwarded in the karaf message-oriented middlewares of the proxy server;Step 52;The visitor of the monitored main frame 12 Family end plug-in unit listens in the queue of the proxy server 14 task of having file to capture, then receives message;Step 53:It is described Monitored main frame 12 judges that file whether there is, and stops collection if file is not present, if file is present, newly-built, deletion or Change task scheduling;Step 54:Judge file type, if crawl configuration file, judges whether the configuration file changes, Do not captured if the configuration file does not change, configuration file is captured if the configuration file changes.
In specific implementation, in addition to step:If the file type is daily record crawl file, by the journal file Return to the application server 11.
It is proposed by the present invention it is a kind of realization device is actively gathered based on karaf_agent, using application server, agency Server and client side's plug-in unit mode is disposed, have support distributed monitoring ability, support agency monitor mode, not because Local problem influences whole system, possesses powerful ability extending transversely, can quickly carry out deployment popularization.
Further, the system module include remote command, file issue/capture, automate restart, automatically dispose etc. Automation function, the operating efficiency and O&M standardization of operation maintenance personnel can be greatly enhanced.
Further, Observer Pattern can also be used, the corresponding monitored main frame monitoring information queue, server Or proxy server assembles the information content according to the monitored host object address to be performed, and then propagates or be broadcast to phase In the message queue answered, after the corresponding monitored main frame receives the content of the message queue, according to the message team The remote commands such as the content of row is acquired, file transmits and script performs, then perform completion according to corresponding queue command Assembling return information content is returned in the return queue in order afterwards, the monitoring host computer or agent monitors server prison Listen and return to queue acquisition to renewal after implementing result into the corresponding data row of database, the function can also issue long-range life Order, the function can perform order, SHELL and sql command to database, middleware, main frame.
Further, Observer Pattern can also be used, the corresponding monitored main frame monitoring information queue, server Or proxy server assembles the information content according to the monitored host object address to be performed, and then propagates or be broadcast to phase In the message queue answered, after the corresponding monitored main frame receives the content of the message queue, according to the message team The remote commands such as the content of row is acquired, file transmits and script performs, then perform completion according to corresponding queue command Assembling return information content is returned in the return queue in order afterwards, the monitoring host computer or agent monitors server prison Listen and return to queue acquisition to renewal after implementing result into the corresponding data row of database, the function is also equipped with file and issues/grab Take function, the function provide to the operational capacity of file, file issued, covered, replaced, the crawl of partial replacement, increment, The abilities such as full dose crawl.
Further, additionally it is possible to which automation is restarted, and the function supports periodicity, timing, manual mode to database, centre Part, main frame are restarted, comparing verification and state verification after supporting before restarting.
Further, additionally it is possible to which automatically dispose, the function support deployment template, the management of deployment scheme and deployment system Function is counted, the function of automatic deployment or manually dispose is realized using go-ahead mode.
Although the present invention is disclosed as above with preferred embodiment, so it is not limited to the present invention, any this area skill Art personnel, without departing from the spirit and scope of the present invention, when a little modification and perfect, therefore the protection model of the present invention can be made Enclose to work as and be defined by what claims were defined.

Claims (10)

1. a kind of actively gather realization device based on karaf_agent, it is characterised in that including:
Application server, it includes karaf server modules, and the karaf server modules are built in MQ message by karaf Between part and file issue plug-in unit;
Monitored main frame, it builds client plug-in by karaf, and the application server is by calling on monitored main frame Client plug-in obtains monitoring data;
Database server, it is used to store monitoring configuration information and monitoring data;
When being connected between the monitored main frame and the application server by proxy server, on the proxy server Data forwarding is carried out provided with karaf middlewares, the application server is by calling the karaf middlewares on proxy server to obtain Take the monitoring data of monitored main frame.
2. according to claim 1 actively gather realization device based on karaf_agent, it is characterised in that the visitor Family end plug-in unit includes monitoring alarm plug-in unit, automation O&M feature card and infrastructure service feature card.
3. according to claim 1 actively gather realization device based on karaf_agent, it is characterised in that the quilt It is connected between monitoring host computer and the application server by proxy server;The application server sends file under request It is dealt into the MQ message-oriented middlewares of the server end module;The file of the application server issue plug-in unit listen to it is described File sends request, and file is sent into request is sent in the karaf middlewares of the proxy server;
The corresponding queue that client plug-in on the monitored main frame listens to the karaf middlewares of the proxy server has The message of itself, then receive the message;
The monitored main frame monitors unique queue, and corresponding operational order, Ran Houxiang are got according to message interpretation in queue The recovery message queue that karaf server modules are monitored sends file transmission order, and the server receives the file File is construed to file stream after transmission order and is put into respective queue, it is written that the monitored main frame gets restoring files Part is saved under local directory, is determined to exit or perform in next step respective file according to the order received before, completed Corresponding message is sent back in the MQ message-oriented middlewares of the application server by basic message state plug-in unit after task, and It is written to the database server;
The application server reads message status, and file is issued into result and feeds back to user.
4. according to claim 1 actively gather realization device based on karaf_agent, it is characterised in that the quilt Monitoring host computer and the application server are joined directly together;The file crawl of the karaf server modules of the application server is inserted Part listens to MQ message-oriented middleware message;
The monitored main frame feedback prepares to download the message status of file to the database server;
The monitored main frame starts to download file, receives file stream, and the monitored main frame feedback is receiving disappearing for file Breath state is to the database server;
The monitored main frame completes file reception, the message status that the monitored main frame feedback reception is completed to the data Storehouse server;
The karaf server modules of the application server delete the temporary file of reception.
5. realization device is actively gathered based on karaf_agent according to claim 3 or 4, it is characterised in that described The file crawl plug-in unit of proxy server listens to MQ message-oriented middleware message;
The karaf server modules or proxy server feedback prepare to download the message status of file to the database service Device;
Start to download file, receive file stream, the service monitor or proxy server feedback receive file Message status is to the database server;
The karaf server modules or the proxy server complete file reception, and file is saved in into the karaf services End module or institute's proxy server, and the message status that feedback reception is completed is to the database server;
The proxy server deletes the temporary file of reception.
6. according to claim 3 actively gather realization device based on karaf_agent, it is characterised in that described to answer Also included the parameter that file captures being forwarded among the karaf of the proxy server by MQ message-oriented middlewares with server In part;
The client plug-in of the monitored main frame listens in the queue of the proxy server task of having file to capture, then Receive message;
The monitored main frame judges that file whether there is, and stops collection if file is not present, if file is present, newly-built, Task scheduling is deleted or modified;
File type is judged, if crawl configuration file, judges whether the configuration file changes, if the configuration file does not have Change, do not capture, configuration file is captured if the configuration file changes.
7. according to claim 6 actively gather realization device based on karaf_agent, it is characterised in that if described File type is daily record crawl file, then the journal file is returned into the application server.
8. according to claim 1 actively gather realization device based on karaf_agent, it is characterised in that is using Under Observer Pattern, the message queue of the karaf server modules or the corresponding monitored main frame of proxy server monitoring, root The information content is assembled according to the monitored host object address to be performed, then propagates or is broadcast in corresponding message queue, phase After the monitored main frame answered receives the content of message queue, it is acquired according to the content of the message queue and is passed with file It is defeated, perform remote scripting order, and assemble execution after the completion of return information to return queue in, the karaf server modules Or the proxy server is monitored and returns to queue, implementing result is obtained, and is updated into the corresponding data row of database.
9. according to claim 8 actively gather realization device based on karaf_agent, it is characterised in that described remote Journey script command includes performing SHELL and SQL to the database server, MQ message-oriented middlewares and with monitored main frame and ordering Order, weight is carried out to the database server, MQ message-oriented middlewares and monitored main frame for periodicity, timing or manual mode Open, and verification and state verification is compared to restarting front and rear data.
10. according to claim 1 actively gather realization device based on karaf_agent, it is characterised in that the quilt Automatic deployment or manually dispose are realized using go-ahead mode between monitoring host computer and the application server.
CN201710690493.XA 2017-08-14 2017-08-14 It is a kind of that realization device is actively gathered based on karaf_agent Pending CN107483245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710690493.XA CN107483245A (en) 2017-08-14 2017-08-14 It is a kind of that realization device is actively gathered based on karaf_agent

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710690493.XA CN107483245A (en) 2017-08-14 2017-08-14 It is a kind of that realization device is actively gathered based on karaf_agent

Publications (1)

Publication Number Publication Date
CN107483245A true CN107483245A (en) 2017-12-15

Family

ID=60600198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710690493.XA Pending CN107483245A (en) 2017-08-14 2017-08-14 It is a kind of that realization device is actively gathered based on karaf_agent

Country Status (1)

Country Link
CN (1) CN107483245A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804291A (en) * 2018-06-19 2018-11-13 郑州云海信息技术有限公司 A kind of server inspection dispatching method, device and storage medium
CN109120481A (en) * 2018-09-27 2019-01-01 上海新炬网络信息技术股份有限公司 Method based on Zabbix open source monitor component DCOS container and bosom part
CN110784371A (en) * 2019-10-15 2020-02-11 四川天邑康和通信股份有限公司 Gateway network quality testing method and system based on OSGI technology
CN111082958A (en) * 2018-10-22 2020-04-28 千寻位置网络有限公司 Monitoring method and device for large number of reference station moving rings, server and monitoring system
CN111245915A (en) * 2020-01-06 2020-06-05 南京鼎震信息技术有限公司 Compatible portable remote monitoring system and monitoring method thereof
CN111600753A (en) * 2020-05-13 2020-08-28 山东汇贸电子口岸有限公司 Intelligent agent management system in cloud computing environment
CN111666090A (en) * 2020-06-10 2020-09-15 贵州电子商务云运营有限责任公司 Online updating support system for application system extension assembly
CN112764753A (en) * 2020-12-31 2021-05-07 北京知因智慧科技有限公司 Project deployment method and device, electronic equipment and storage medium
WO2021120975A1 (en) * 2019-12-20 2021-06-24 深圳前海微众银行股份有限公司 Monitoring method and apparatus
CN114124643A (en) * 2021-11-10 2022-03-01 中盈优创资讯科技有限公司 PaaS-based network equipment flow acquisition method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345757A (en) * 2007-07-13 2009-01-14 阿尔卡特朗讯公司 A remote management system and method for service objects
US20140245262A1 (en) * 2011-10-05 2014-08-28 Hartigen Solutions, Llc. Integrated Software Development and Deployment Architecture and High Availability Client-Server Systems Generated Using the Architecture
CN104731580A (en) * 2015-01-12 2015-06-24 上海新炬网络信息技术有限公司 Automation operation and maintenance system based on Karaf and ActiveMQ and implement method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345757A (en) * 2007-07-13 2009-01-14 阿尔卡特朗讯公司 A remote management system and method for service objects
US20140245262A1 (en) * 2011-10-05 2014-08-28 Hartigen Solutions, Llc. Integrated Software Development and Deployment Architecture and High Availability Client-Server Systems Generated Using the Architecture
CN104731580A (en) * 2015-01-12 2015-06-24 上海新炬网络信息技术有限公司 Automation operation and maintenance system based on Karaf and ActiveMQ and implement method thereof

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804291A (en) * 2018-06-19 2018-11-13 郑州云海信息技术有限公司 A kind of server inspection dispatching method, device and storage medium
CN109120481A (en) * 2018-09-27 2019-01-01 上海新炬网络信息技术股份有限公司 Method based on Zabbix open source monitor component DCOS container and bosom part
CN109120481B (en) * 2018-09-27 2021-06-04 上海新炬网络信息技术股份有限公司 Method for monitoring DCOS container and internal middleware based on Zabbix open source component
CN111082958A (en) * 2018-10-22 2020-04-28 千寻位置网络有限公司 Monitoring method and device for large number of reference station moving rings, server and monitoring system
CN110784371A (en) * 2019-10-15 2020-02-11 四川天邑康和通信股份有限公司 Gateway network quality testing method and system based on OSGI technology
CN110784371B (en) * 2019-10-15 2021-02-02 四川天邑康和通信股份有限公司 Gateway network quality testing method and system based on OSGI technology
WO2021120975A1 (en) * 2019-12-20 2021-06-24 深圳前海微众银行股份有限公司 Monitoring method and apparatus
CN111245915A (en) * 2020-01-06 2020-06-05 南京鼎震信息技术有限公司 Compatible portable remote monitoring system and monitoring method thereof
CN111600753A (en) * 2020-05-13 2020-08-28 山东汇贸电子口岸有限公司 Intelligent agent management system in cloud computing environment
CN111600753B (en) * 2020-05-13 2023-03-28 山东汇贸电子口岸有限公司 Intelligent agent management system in cloud computing environment
CN111666090B (en) * 2020-06-10 2022-09-20 贵州电子商务云运营有限责任公司 Online updating support system for application system extension assembly
CN111666090A (en) * 2020-06-10 2020-09-15 贵州电子商务云运营有限责任公司 Online updating support system for application system extension assembly
CN112764753A (en) * 2020-12-31 2021-05-07 北京知因智慧科技有限公司 Project deployment method and device, electronic equipment and storage medium
CN112764753B (en) * 2020-12-31 2024-04-12 北京知因智慧科技有限公司 Project deployment method and device, electronic equipment and storage medium
CN114124643A (en) * 2021-11-10 2022-03-01 中盈优创资讯科技有限公司 PaaS-based network equipment flow acquisition method and device
CN114124643B (en) * 2021-11-10 2023-08-01 中盈优创资讯科技有限公司 PaaS-based network equipment flow collection method and device

Similar Documents

Publication Publication Date Title
CN104731580B (en) Automation operational system and its implementation based on Karaf and ActiveMQ
CN107483245A (en) It is a kind of that realization device is actively gathered based on karaf_agent
CN112035228B (en) Resource scheduling method and device
CN110321152B (en) Software development platform
CN102880503B (en) Data analysis system and data analysis method
CN101707399B (en) Method and system for acquiring electric energy information
CN104539487B (en) A kind of system testing and reliability estimation method based on cloud platform
CN110554856A (en) Micro-service treatment system
US20060282886A1 (en) Service oriented security device management network
CN103001809B (en) Service node method for monitoring state for cloud storage system
CN111552556B (en) GPU cluster service management system and method
CN109344065A (en) Remote debugging method, debugging server and target machine
CN104021078B (en) Software supervision device and method
CN104536899A (en) Software deploying and maintaining method based on intelligent cluster
US8538793B2 (en) System and method for managing real-time batch workflows
CN105791354A (en) Job scheduling method and cloud scheduling server
CN112230987B (en) Distributed modular plug-in frame realization system and method
CN111026602A (en) Health inspection scheduling management method and device of cloud platform and electronic equipment
CN116048467A (en) Micro-service development platform and business system development method
CN113703997A (en) Bidirectional asynchronous communication middleware system integrating multiple message agents and implementation method
CN108023959A (en) A kind of method and system of automatic installation group system
CN106959924A (en) A kind of one-touch Physical Examination System of oracle database based on oracheck
CN103067507A (en) Internet cloud computing resource virtualization packaging system and method
CN113824801B (en) Intelligent integration terminal unified access management component system
CN113348778B (en) Generalized satellite comprehensive test system based on DDS system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171215