[go: up one dir, main page]

CN105847039A - Network monitoring method and network monitoring system based on dynamic executable script - Google Patents

Network monitoring method and network monitoring system based on dynamic executable script Download PDF

Info

Publication number
CN105847039A
CN105847039A CN201610154670.8A CN201610154670A CN105847039A CN 105847039 A CN105847039 A CN 105847039A CN 201610154670 A CN201610154670 A CN 201610154670A CN 105847039 A CN105847039 A CN 105847039A
Authority
CN
China
Prior art keywords
script
monitoring
monitored
monitored object
result
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
CN201610154670.8A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201610154670.8A priority Critical patent/CN105847039A/en
Publication of CN105847039A publication Critical patent/CN105847039A/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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Debugging And Monitoring (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a network monitoring method based on a dynamic executable script. The method comprises the following steps: extracting an executable script corresponding to a monitored object; transmitting the extracted executable script to the monitored object; receiving a result that is obtained after the monitored object operates the script, and displaying the result according to a preset style. The invention discloses a network monitoring system based on the dynamic executable script. The system comprises: a database used for storing the executable script corresponding to the monitored object; and a monitoring server used for extracting the executable script corresponding to the monitored object, transmitting the extracted executable script to the monitored object and receiving the result that is obtained after the monitored object operates the script. By adopting the network monitoring method based on the dynamic executable script and the network monitoring system based on the dynamic executable script, the executable script is stored in the database, is extracted in real time and is executed in real time. By adopting this method, the monitoring data collection, storage and display are decoupled, and a proxy program is avoided being installed in a monitored node, thereby saving the development and deployment costs.

Description

A kind of based on method for monitoring network and the network monitoring system that dynamically can perform script
Technical field
The present invention relates to based on agreement and script configurable can online real-time upgrading based on dynamically can perform script network supervise Ore-controlling Role and based on the method for monitoring network that dynamically can perform script.
Background technology
Along with developing rapidly of computer technology, computer application is more and more universal, therefore, and the health status of computer network The most noticeable.The NMS of present stage, in the case of various procotols are constantly improved, it is achieved function is Not being technical barrier, one problem of the thing followed is: how can exploitation convenient, fast, simple, effective and safeguard network Management system.
The implementing procedure of traditional a kind of NMS is: investigation monitoring demand, writes monitoring generation according to each monitoring demand Code, Complied executing, test code, test by forming executable program.Different monitor nodes is disposed monitoring agent journey Sequence, is sent to monitoring server by monitoring agent program by monitored results, is presented on server end eventually through chart.Such as figure Shown in 1.Directly different are write monitoring generation respectively based on the network monitoring system node that dynamically can perform script in systems Code, acquisition monitoring data.This Network Management Model has preferable specific aim, and one gathers the corresponding single code of request Flow process, associated module and data are fairly simple, and development difficulty is smaller, and the personnel of new contact are also easier to understand.
Fig. 1 shows traditional network management system: on monitored node, operation monitoring is acted on behalf of, by acting on behalf of collection monitoring data, It is aggregated into server node to show.
This Network Management Model has two shortcomings: autgmentability is poor, be difficult to amendment and maintenance.Owing to one gathers request correspondence One single code flow, so whenever a newly-increased acquisition function, it is necessary to newly-increased a set of code, and all of code Amendment is directed to agent side and server-side code is revised simultaneously, and submit to test, again the waiting system free time when upgrade Application deployment system, process CIMS is long, and the cost time is many, completes once complete upgrading at least more than 1 month even up to 1 Year.Delivery cost is caused to steeply rise for newly increased requirement.
Summary of the invention
In order to overcome the drawbacks described above of prior art, embodiment of the present invention technical problem to be solved there is provided a kind of based on dynamic State can perform the method for monitoring network of script and based on dynamically performing the network monitoring system of script, and it can solve the problems referred to above In at least one.
The concrete technical scheme of the embodiment of the present invention is:
A kind of based on dynamically performing the method for monitoring network of script, it comprises the following steps:
Extract the test script corresponding with monitored object;
The test script extracted is transferred to monitored object;
Receive the result that monitored object obtained after running test script.
Preferably, it also includes:
Monitoring server extracts the test script corresponding with the object that is monitored from data base;
The test script extracted is transferred to monitored object by monitoring server;
Monitoring server receives the result that monitored object obtained after running test script.
Preferably, after receiving the result that monitored object obtained after running test script, result is outwards exported.
Preferably, described test script is SSH script, SQL script, SNMP script, http page URL in one or several Kind.
Preferably, receive all monitored objects by json interface format and test the result obtained.
Preferably, it includes:
Monitoring tables of data is set up for each monitored object;
The test script corresponding with the object that is monitored and logon information is extracted according to period frequency;
After logging in monitored object based on logon information, the test script extracted is transferred to monitored object;
Receive the result that monitored object obtained after running test script;
Result is preserved to monitoring tables of data.
Preferably, it also includes the test script being stored in data base is carried out online upgrading.
Preferably, the result received is transmitted to data base by monitoring server, and result is preserved by data base.
The invention discloses a kind of based on dynamically performing the network monitoring system of script, it includes:
Data base, it is for storing the test script corresponding with the object that is monitored;
Monitoring server, it is transferred to for the test script extracted for extracting the test script corresponding with the object that is monitored Monitored object, for receiving the result that monitored object obtained after running test script.
Preferably, described data base is for storing the result that monitored object obtains.
The present invention is by said method and system, in whole network management system, need not deployment program, thus on monitored node Simplified code development process, due to built-in substantial amounts of monitoring script and template, so general monitoring demand need not exploitation. Developer can be by the way of increasing data base's configuration, one network monitoring function of rapid increasing new, it is not necessary to write correspondence again The code of module, it is not required that again will compiling result packing;Simplify and even eliminate deployment network management system, first need not Disposing on monitored node, when monitored node quantity reaches more than 100, this is cost savings the biggest.With Time also without interrupting and upgrading monitoring server, therefore enormously simplify delivery process upgrading flow process and complexity.
Accompanying drawing explanation
Accompanying drawing described here is only used for task of explanation, and is not intended to limit scope disclosed by the invention by any way.Separately Outward, the shape of each parts in figure and proportional sizes etc. are only schematically, are adapted to assist in the understanding of the present invention, are not The concrete shape limiting each parts of the present invention and proportional sizes.Those skilled in the art under the teachings of the present invention, Ke Yigen Various possible shapes and proportional sizes is selected to implement the present invention according to concrete condition.
Fig. 1 is network management system of the prior art, and it is operation monitoring agency on monitored node, by acting on behalf of collection monitoring number According to, it is aggregated into server node and shows.
Fig. 2 be in the present invention based on the network monitoring system that dynamically can perform script.
Fig. 3 is that in the present invention, monitoring server data acquisition performs flow process.
Detailed description of the invention
In conjunction with accompanying drawing and the description of the specific embodiment of the invention, it is possible to clearly understand the details of the present invention.But, The detailed description of the invention of invention described herein, is only used for explaining the purpose of the present invention, and can not be understood as by any way It it is limitation of the present invention.Under the teachings of the present invention, technical staff is it is contemplated that the most possible change of based on the present invention Shape, these are regarded as belonging to the scope of the present invention.
With reference to shown in Fig. 2, the invention discloses a kind of based on dynamically performing the network monitoring system of script, it includes: data Storehouse, it is for storing the test script corresponding with the object that is monitored;Monitoring server, it is used for extracting corresponding with the object that is monitored Test script, be transferred to monitored object for the test script that extracts, be used for receiving monitored object and running test The result obtained after script.
In whole system, need not deployment program on monitored node, monitoring script is stored in data base, monitoring take Business device periodically takes out from data base and is sent on monitored node remotely perform, and monitored results can be returned to monitoring service Device, is finally saved in data base.Script performs the uniform format employing json interface format that result returns.Result is stored in In the data base of one key/value form, it is only necessary to the title of configuration monitoring item.During initialization, system is that each node is automatic Generate a tables of data, for the monitoring data that storage is relevant with this node.System can search correspondence automatically in result database The storage table of node, increases a record: < Key: monitoring project name+time;The result that Value: script performs >.
In monitoring server, following information can be configured:
1) IP of acquisition target node and port
2) remotely performing username and password (can be to have different forms, such as ssh here according to different agreements (Secure Shell) agreement is username and password, if HTTP protocol can be database user name and password)
3) script performs frequency (frequency acquisition of monitored item)
4) content for script, script can be SSH script, SQL script, and SNMP script if monitoring certain page is No survival page URL that can also select http etc..
5) content displaying mode select (to monitoring result can by select displaying in the way of, such as curve chart or pie chart etc., System automatically generates according to the exhibition method of configuration and represents the page).
Can be stored by monitoring data collection based on the network monitoring system that dynamically can perform script in the present invention, displaying is carried out Full decoupled.Monitoring data collection: propose the interface that a kind of coupling is extremely low, by the collection script of various communication protocols from code In be stripped out, centralized management in data base, it is ensured that all of monitoring request can use same set of flow process go gather data. Monitored results stores: requires that the result gathering script exports with same form, and is maintained in data base.Monitored results is shown: Different monitored item can represent form, according to different configurations so that association is respective, it is achieved different webpage representation modes.
The invention discloses a kind of based on dynamically performing the method for monitoring network of script, it comprises the following steps:
Extract the test script corresponding with monitored object;
The test script extracted is transferred to monitored object;
Receive the result that monitored object obtained after running test script.
Concrete, monitoring server extracts the test script corresponding with the object that is monitored from data base;Monitoring server will extract The test script gone out is transferred to monitored object;Monitoring server receives the knot that monitored object obtained after running test script Really.
With reference to shown in Fig. 3, more specifically, monitoring server can be that each monitored object sets up monitoring tables of data;Monitoring clothes Business device extracts the test script corresponding with the object that is monitored and logon information according to period frequency;Supervised logging in based on logon information After control object, the test script extracted is transferred to monitored object;Monitoring server receives monitored object and was running survey The result obtained after training originally;Result is preserved to monitoring tables of data by monitoring server.Monitoring server can be outside to result It is shown by modes such as charts.Result can also be preserved to data base by monitoring server.
In the present invention based on dynamically performing the network monitoring system of script and based on the network monitoring side that dynamically can perform script Method, need not deployment program on monitored node.Thus simplified code development process, due to built-in substantial amounts of monitoring script And template, so general monitoring demand need not exploitation.Developer can be by the way of increasing data base's configuration, quickly A newly-increased network monitoring function, it is not necessary to write the code of respective modules again, it is not required that again will compiling result packing.Letter Change and even eliminated deployment network management system, first need not dispose, when monitored node quantity reaches 100 on monitored node Time above, this is cost savings the biggest.Simultaneously also without interrupting and upgrading monitoring server, as long as on network Just the test script in data base real-time upgrading be can be carried out, delivery process upgrading flow process and complexity therefore enormously simplify.
So should based on dynamically can perform script network monitoring system and can based on the method for monitoring network that dynamically can perform script To be stored in data base by script can be performed, take out the mode performed in real time in real time.This method makes to monitor data Gather, storage, show and decouple, it is to avoid installation agent program to monitored node, save and be developed and deployed to this.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and what each embodiment stressed is and other The difference of embodiment, between each embodiment, identical similar part sees mutually.
Above-described embodiment, only for technology design and the feature of the explanation present invention, its object is to allow person skilled in the art's energy Solution present disclosure much of that is also implemented according to this, can not limit the scope of the invention with this.All according to present invention spirit The equivalence that essence is made changes or modifies, and all should contain within protection scope of the present invention.

Claims (10)

1. one kind based on the method for monitoring network that dynamically can perform script, it is characterised in that it comprises the following steps:
Extract the test script corresponding with monitored object;
The test script extracted is transferred to monitored object;
Receive the result that monitored object obtained after running test script.
The most according to claim 1 based on the method for monitoring network that dynamically can perform script, it is characterised in that it also wraps Include:
Monitoring server extracts the test script corresponding with the object that is monitored from data base;
The test script extracted is transferred to monitored object by monitoring server;
Monitoring server receives the result that monitored object obtained after running test script.
The most according to claim 1 based on the method for monitoring network that dynamically can perform script, it is characterised in that to receive After the result that monitored object obtained after running test script, result is outwards exported.
The most according to claim 1 based on the method for monitoring network that dynamically can perform script, it is characterised in that described survey Training this be SSH script, SQL script, SNMP script, http page URL in one or more.
The most according to claim 2 based on the method for monitoring network that dynamically can perform script, it is characterised in that to pass through json Interface format receives all monitored objects and tests the result obtained.
The most according to claim 1 based on the method for monitoring network that dynamically can perform script, it is characterised in that it includes:
Monitoring tables of data is set up for each monitored object;
The test script corresponding with the object that is monitored and logon information is extracted according to period frequency;
After logging in monitored object based on logon information, the test script extracted is transferred to monitored object;
Receive the result that monitored object obtained after running test script;
Result is preserved to monitoring tables of data.
The most according to claim 1 based on the method for monitoring network that dynamically can perform script, it is characterised in that it also wraps Include and the test script being stored in data base is carried out online upgrading.
The most according to claim 2 based on the method for monitoring network that dynamically can perform script, it is characterised in that monitoring clothes The result received is transmitted to data base by business device, and result is preserved by data base.
9. one kind based on the network monitoring system that dynamically can perform script, it is characterised in that it includes:
Data base, it is for storing the test script corresponding with the object that is monitored;
Monitoring server, it is transferred to for the test script extracted for extracting the test script corresponding with the object that is monitored Monitored object, for receiving the result that monitored object obtained after running test script.
The most according to claim 9 based on the network monitoring system that dynamically can perform script, it is characterised in that described number According to storehouse for storing the result that monitored object obtains.
CN201610154670.8A 2016-03-17 2016-03-17 Network monitoring method and network monitoring system based on dynamic executable script Pending CN105847039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610154670.8A CN105847039A (en) 2016-03-17 2016-03-17 Network monitoring method and network monitoring system based on dynamic executable script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610154670.8A CN105847039A (en) 2016-03-17 2016-03-17 Network monitoring method and network monitoring system based on dynamic executable script

Publications (1)

Publication Number Publication Date
CN105847039A true CN105847039A (en) 2016-08-10

Family

ID=56587323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610154670.8A Pending CN105847039A (en) 2016-03-17 2016-03-17 Network monitoring method and network monitoring system based on dynamic executable script

Country Status (1)

Country Link
CN (1) CN105847039A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769279A (en) * 2018-04-11 2018-11-06 北京富邦智慧物联科技有限公司 Intranet fire fighting monitoring video access methods and system based on ssh reverse tunnels
CN109299064A (en) * 2018-07-18 2019-02-01 平安科技(深圳)有限公司 Database monitoring method and terminal device
CN113297038A (en) * 2020-04-07 2021-08-24 阿里巴巴集团控股有限公司 Monitoring and data processing method, device and equipment, monitoring system and data center
CN116032713A (en) * 2022-12-29 2023-04-28 重庆富民银行股份有限公司 System and method for automatic inspection of network equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030061265A1 (en) * 2001-09-25 2003-03-27 Brian Maso Application manager for monitoring and recovery of software based application processes
CN101404596A (en) * 2008-11-17 2009-04-08 福建星网锐捷网络有限公司 Multi-topological environmental test method, system and equipment
CN101847116A (en) * 2010-05-05 2010-09-29 中兴通讯股份有限公司 Monitoring system based on J2EE framework and method
CN104021078A (en) * 2014-06-13 2014-09-03 中国民航信息网络股份有限公司 Software monitoring device and method
CN104243230A (en) * 2013-06-24 2014-12-24 北京新媒传信科技有限公司 Method and device for obtaining monitoring data of Linux server
CN105119757A (en) * 2015-09-14 2015-12-02 沈文策 Method and system for operation and maintenance automation of enterprise servers

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030061265A1 (en) * 2001-09-25 2003-03-27 Brian Maso Application manager for monitoring and recovery of software based application processes
CN101404596A (en) * 2008-11-17 2009-04-08 福建星网锐捷网络有限公司 Multi-topological environmental test method, system and equipment
CN101847116A (en) * 2010-05-05 2010-09-29 中兴通讯股份有限公司 Monitoring system based on J2EE framework and method
CN104243230A (en) * 2013-06-24 2014-12-24 北京新媒传信科技有限公司 Method and device for obtaining monitoring data of Linux server
CN104021078A (en) * 2014-06-13 2014-09-03 中国民航信息网络股份有限公司 Software monitoring device and method
CN105119757A (en) * 2015-09-14 2015-12-02 沈文策 Method and system for operation and maintenance automation of enterprise servers

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769279A (en) * 2018-04-11 2018-11-06 北京富邦智慧物联科技有限公司 Intranet fire fighting monitoring video access methods and system based on ssh reverse tunnels
CN109299064A (en) * 2018-07-18 2019-02-01 平安科技(深圳)有限公司 Database monitoring method and terminal device
WO2020015116A1 (en) * 2018-07-18 2020-01-23 平安科技(深圳)有限公司 Database monitoring method and terminal device
CN109299064B (en) * 2018-07-18 2024-02-09 平安科技(深圳)有限公司 Database monitoring method and terminal equipment
CN113297038A (en) * 2020-04-07 2021-08-24 阿里巴巴集团控股有限公司 Monitoring and data processing method, device and equipment, monitoring system and data center
CN113297038B (en) * 2020-04-07 2022-07-19 阿里巴巴集团控股有限公司 Monitoring and data processing method, device and equipment, monitoring system and data center
CN116032713A (en) * 2022-12-29 2023-04-28 重庆富民银行股份有限公司 System and method for automatic inspection of network equipment

Similar Documents

Publication Publication Date Title
US20200366549A1 (en) Network Fault Originator Identification For Virtual Network Infrastructure
US10735270B1 (en) Computer-based systems configured for network modelling and monitoring using programming object bindings and methods of use thereof
CN106407076B (en) Software and hardware operation information monitoring method based on domestic CPU and operating system environment
CN109586999A (en) A kind of container cloud platform condition monitoring early warning system, method and electronic equipment
US10180893B2 (en) System and method for providing additional functionality to developer side application in an integrated development environment
US10353762B2 (en) Hierarchical fault determination in an application performance management system
CN102739802A (en) Service application-oriented IT contralized operation and maintenance analyzing system
WO2016045403A1 (en) Runtime environment configuration method, device and system
EP3616061B1 (en) Hyper dynamic java management extension
KR20130019366A (en) Efficiently collecting transction-separated metrics in a distributed enviornment
Yang et al. An active and intelligent network management system with ontology-based and multi-agent techniques
CN105847039A (en) Network monitoring method and network monitoring system based on dynamic executable script
US20170168881A1 (en) Process chain discovery across communication channels
US12047839B2 (en) Out of box user performance journey monitoring
CN104834582A (en) Monitoring event display method
CN104793612A (en) Unmanned aerial vehicle ground control station testing and data acquiring method and system thereof
CN105591782A (en) Management method and apparatus for testing device
CN119292810A (en) Fault alarm self-healing system and method
CN108877188A (en) A kind of environment protection digital concurrently acquires and Multi net voting dissemination method and device
CN106533716B (en) A kind of management method and system of northbound interface
US9479396B2 (en) XML based generic UNIX discovery framework
KR101235199B1 (en) An interface construction system and method to control low­erformance equipment using web technology
CN107295087B (en) System and method for realizing data aggregation between network systems
US20200241946A1 (en) Graphical management of big data pipelines
US12248666B2 (en) Simplifying configuration of metrics with data preview

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160810

RJ01 Rejection of invention patent application after publication