CN109510729A - A kind of implementation method based on CMDB and Netstat discovery applied topology relationship - Google Patents
A kind of implementation method based on CMDB and Netstat discovery applied topology relationship Download PDFInfo
- Publication number
- CN109510729A CN109510729A CN201811593245.4A CN201811593245A CN109510729A CN 109510729 A CN109510729 A CN 109510729A CN 201811593245 A CN201811593245 A CN 201811593245A CN 109510729 A CN109510729 A CN 109510729A
- Authority
- CN
- China
- Prior art keywords
- host
- netstat
- cmdb
- client
- server
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5058—Service discovery by the service manager
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
Abstract
The invention discloses a kind of implementation methods based on CMDB and Netstat discovery applied topology relationship, include the following steps: S101: in configuration management database typing host, database, middleware and operation system data, and the incidence relation of the data of maintenance service system and the data of the host, database and middleware;S102: the host in monitoring host computer and configuration management database is established into one-to-one relationship;S103: Interface status and network connection are obtained using Netstat;S104: parsing the Netstat result of the monitoring host computer, obtains called side and called square relationship between the host, stores and show the called side between the host and called square relationship.The Netstat result of CMDB configuration data and host is combined processing by the present invention, and scheme realizes that process is simple, and the applied topology relationship of discovery is accurate, agrees with existing network environment.
Description
Technical field
The present invention relates to a kind of methods for identifying applied topology relationship, more particularly to a kind of CMDB and Netstat that is based on to send out
The implementation method of existing applied topology relationship.
Background technique
It mostly uses the method by configuring Port Mirroring in interchanger to solve the problems, such as greatly on the market at present, port is carried out
Parser is formulated in packet capturing, analyzes packet capturing result.Topology Discovery is carried out by flow packet catcher, enforcement difficulty is big, packet capturing number
Huge according to measuring, resolving is complicated, identifies that the Object Process difficulty such as all kinds of hosts, software is big, as a result accuracy is poor.
It is therefore desirable to provide a kind of method for identifying applied topology relationship, it is able to solve problem above.
Summary of the invention
Technical problem to be solved by the invention is to provide a kind of based on CMDB and Netstat discovery applied topology relationship
Implementation method can accurately find applied topology relationship, realize that process is simple, and agree with existing network environment.
The present invention is to solve above-mentioned technical problem and the technical solution adopted is that provide a kind of based on CMDB and Netstat hair
The implementation method of existing applied topology relationship, comprising the following steps: step S101: typing host, number in configuration management database
According to the data of library, middleware and operation system, and the data of maintenance service system and the host, database and middleware
Data incidence relation;Step S102: the host in monitoring host computer and configuration management database is established into one-to-one relationship;
Step S103: Interface status and network connection are obtained using Netstat;Step S104: to the Netstat of the monitoring host computer
As a result it is parsed, obtains the called side and called square relationship between the host, store and show the calling between the host
Side and called square relationship.
The above-mentioned implementation method based on CMDB and Netstat discovery applied topology relationship, wherein the step S104 is also
The following steps are included: application and the call relation between application are obtained in conjunction with the incidence relation of the host and application system, and
Non-traffic interface is excluded, the non-traffic interface includes monitoring collection business interface and backup traffic interface.
The above-mentioned implementation method based on CMDB and Netstat discovery applied topology relationship, wherein the called side is visitor
Family end, the called side is server-side;The server-side includes server-side application system, server-side type, service end main frame
Name, server-side IP, port and server-side purposes information, the client includes client application system, client type, visitor
Family end main frame name, the information of client ip and client purposes.
The above-mentioned implementation method based on CMDB and Netstat discovery applied topology relationship, wherein the step S104 is also
Server-side port, client host and the client port for being not less than 3 times including defining frequency of occurrence, and combine
Configuration data in CMDB, when client port is effectively software example, then two end main frames establish incidence relation, then pass through
The incidence relation of host and application establishes server-side using the incidence relation with client application.
The above-mentioned implementation method based on CMDB and Netstat discovery applied topology relationship, wherein in the step S103
Netstat timing acquisition Interface status and network connection.
The present invention, which compares the prior art, to be had following the utility model has the advantages that provided by the invention found based on CMDB and Netstat
The Netstat result of CMDB configuration data and host is combined processing by the implementation method of applied topology relationship, and scheme is realized
Process is simple, and the applied topology relationship of discovery is accurate, agrees with existing network environment.
Detailed description of the invention
Fig. 1 is the implementation method that one of embodiment of the present invention finds applied topology relationship based on CMDB and Netstat
Flow chart;
Fig. 2 is the implementation method that one of embodiment of the present invention finds applied topology relationship based on CMDB and Netstat
Another flow chart.
Specific embodiment
In the following description, in order to provide thorough understanding of the invention, many concrete details are elaborated.However, this hair
Bright to practice in the case where these no concrete details, this will be aobvious and easy for the common technical staff in this field
See.Therefore, concrete details elaboration is only exemplary, and concrete details can be changed by bold and unrestrained spirit and scope
And it is still considered as within the spirit and scope of the present invention.
Fig. 1 is the implementation method that one of embodiment of the present invention finds applied topology relationship based on CMDB and Netstat
Flow chart.
Referring to Figure 1, the implementation method disclosed by the invention based on CMDB and Netstat discovery applied topology relationship, packet
Include following steps:
S101: in CMDBConfiguration Management Database, configuration management database) in typing master
Machine, database, middleware and operation system data, and the data of maintenance service system and the host, database and
The incidence relation of the data of middleware;
S102: the data of the host, database and the middleware that configure in monitoring host computer and CMDB are corresponded;
S103: Interface status and network connection are obtained using Netstat;
S104: parsing the Netstat result of the monitoring host computer, obtains called side between the host and is adjusted
With square relationship.
Can with the following steps are included: in conjunction with the host and application system incidence relation, obtain application and apply it
Between call relation.
In CMDB of the invention in storage and management enterprise IT architecture equipment various configuration informations, it and all services are propped up
It holds and services delivery process to be all closely linked to, support the operating of these processes, play the value of configuration information, while depending on phase
Close the accuracy that process guarantees data.
The crucial function of these types: integration, reconciliation, synchronous, mapping and visualization is included at least in CMDB tool.
Integration, which refers to, can make full use of the information from other data sources, carry out to the record source attribute for including in CMDB
Access, multiple data sources are incorporated into a view, are generated together with the report including CMDB and other data source informations;
Reconciliation ability refers to by comparing to the matching field from each data source, guarantees being recorded in CMDB
There is no polyisomenism in multiple data sources, maintains the integrality in each configuration project data source in CMDB;Adjust automatically process makes
Obtaining initial implementation, the manual running of database administrator and on-site maintenance supports work to minimize;
The update status for referring to that the information ensured in CMDB is able to reflect joint data source is synchronized, updates frequency in joint data source
Determine that CMDB updates schedule, according to the change by approval to update CMDB, finds out the change being not approved on the basis of rate;
Using mapping and visualization, illustrates the relationship between application and understand the interdependent pass between application and other assemblies
System, understanding influences simultaneously assisted diagnosis problem caused by change.
In Internet RFC standard, the definition of Netstat is: Netstat is the access network connection shape in kernel
The program of state and its relevant information, it can provide TCP connection, and TCP and UDP are monitored, the correlation report of proceeding internal memory management.
Netstat is console instructions, is the highly useful tool of a monitoring TCP/IP network, it can show road
By the status information of table, actual network connection and each network interface device.Netstat for show with IP, TCP,
The protocol-dependent statistical data of UDP and ICMP is generally used for examining the network connection situation of each port of the machine.
The function of Netstat order is display network connection, routing table and network interface information, user can be allowed to have learnt
Which network connection is operating.If Netstat shows movable TCP connection without parameter when use.
In specific implementation, non-traffic interface is excluded, the non-traffic interface includes monitoring collection business interface and standby
Part business interface.The called side is client, and the called side is server-side.
Wherein, the port that frequency of occurrence is not less than 3 times is defined, and combines CMDB data, the Peer-Port of port is necessary
It is efficient system software, then there are relationships for the foundation of two end main frames.
Wherein, the server-side includes server-side application system, server-side type, server-side host name, server-side IP, end
The information of mouth, server-side purposes.The client includes client application system, client type, client host name, client
Hold the information of IP, client purposes.
In specific implementation, obtaining application and the call relation between application further includes later storing and showing the master
Called side and called square relationship between machine.Interface status is obtained using Netstat and network connection further includes described
Netstat timing acquisition Interface status and network connection.
Fig. 2 is the implementation method that one of embodiment of the present invention finds applied topology relationship based on CMDB and Netstat
Another flow chart.
Refer to Fig. 2, the implementation method of the invention based on CMDB and Netstat discovery applied topology relationship, including with
Lower step:
S201: in CMDB typing host, database, middleware and operation system data, and maintenance service system
Data and the host, database and middleware data incidence relation;
S202: the data of the host, database and the middleware that configure in monitoring host computer and CMDB are corresponded;
S203: Interface status and network connection are obtained using Netstat;
S204: judging whether port frequency of occurrence is not less than 3 times, if yes then enter step S205, otherwise terminates;
S205: parsing the Netstat result of the monitoring host computer, obtains called side between the host and is adjusted
With square relationship.
Can with the following steps are included: in conjunction with the host and application system incidence relation, obtain application and apply it
Between call relation.
In specific implementation, non-traffic interface is excluded, the non-traffic interface includes monitoring collection and backup.The tune
It is client with side, the called side is server-side.
Wherein, if port frequency of occurrence is not less than 3 times, and CMDB data are combined, the Peer-Port of port must be
Efficient system software, then there are relationships for the foundation of two end main frames.
Wherein, the server-side includes server-side application system, server-side type, server-side host name, server-side IP, end
The information of mouth, server-side purposes.The client includes client application system, client type, client host name, client
Hold the information of IP, client purposes.
In specific implementation, obtaining application and the call relation between application further includes later storing and showing the master
Called side and called square relationship between machine.Interface status is obtained using Netstat and network connection further includes described
Netstat timing acquisition Interface status and network connection.
The present invention, which compares the prior art, to be had following the utility model has the advantages that provided by the invention found based on CMDB and Netstat
The Netstat result of CMDB configuration data and host is combined processing by the implementation method of applied topology relationship, and scheme is realized
Process is simple, and the applied topology relationship of discovery is accurate, agrees with existing network environment.
Although the present invention is disclosed as above with preferred embodiment, however, it is not to limit the invention, any this field skill
Art personnel, without departing from the spirit and scope of the present invention, when can make a little modification and perfect therefore of the invention protection model
It encloses to work as and subject to the definition of the claims.
Claims (5)
1. a kind of implementation method based on CMDB and Netstat discovery applied topology relationship, which is characterized in that including following step
It is rapid:
Step S101: in configuration management database typing host, database, middleware and operation system data, and tie up
Protect the incidence relation of the data of operation system and the data of the host, database and middleware;
Step S102: the host in monitoring host computer and configuration management database is established into one-to-one relationship;
Step S103: Interface status and network connection are obtained using Netstat;
Step S104: parsing the Netstat result of the monitoring host computer, obtains called side between the host and is adjusted
With square relationship, the called side between the host and called square relationship are stored and showed.
2. the implementation method according to claim 1 based on CMDB and Netstat discovery applied topology relationship, feature exist
In the step S104 is further comprising the steps of:
In conjunction with the incidence relation of the host and application system, application and the call relation between application are obtained, and excludes non-industry
Business interface, the non-traffic interface includes monitoring collection business interface and backup traffic interface.
3. the implementation method according to claim 1 based on CMDB and Netstat discovery applied topology relationship, feature exist
In the called side is client, and the called side is server-side;The server-side includes server-side application system, service
Hold type, server-side host name, server-side IP, port and server-side purposes information, the client includes client application
System, client type, client host name, the information of client ip and client purposes.
4. the implementation method according to claim 1 based on CMDB and Netstat discovery applied topology relationship, feature exist
In the step S104 further includes server-side port, client host and the client for defining frequency of occurrence and being not less than 3 times
Port is held, and combines the configuration data in CMDB, when client port is effectively software example, then two end main frames are established
Incidence relation, then pass through the incidence relation of host and application, server-side is established using the incidence relation with client application.
5. the implementation method according to claim 1 based on CMDB and Netstat discovery applied topology relationship, feature exist
In Netstat timing acquisition Interface status and network connection in the step S103.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811593245.4A CN109510729B (en) | 2018-12-25 | 2018-12-25 | Implementation method for discovering application topological relation based on CMDB and Netstat |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811593245.4A CN109510729B (en) | 2018-12-25 | 2018-12-25 | Implementation method for discovering application topological relation based on CMDB and Netstat |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109510729A true CN109510729A (en) | 2019-03-22 |
CN109510729B CN109510729B (en) | 2021-05-11 |
Family
ID=65755192
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811593245.4A Active CN109510729B (en) | 2018-12-25 | 2018-12-25 | Implementation method for discovering application topological relation based on CMDB and Netstat |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109510729B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110224899A (en) * | 2019-06-28 | 2019-09-10 | 深圳前海微众银行股份有限公司 | A kind of the call chain acquisition methods and device of TCP application |
CN113595800A (en) * | 2021-08-03 | 2021-11-02 | 腾云悦智科技(深圳)有限责任公司 | Method for automatically discovering application connection relation and preserving CMDB information |
CN113791964A (en) * | 2021-09-27 | 2021-12-14 | 首约科技(北京)有限公司 | Service monitoring method based on four layers of transmission control protocol |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102855332A (en) * | 2012-09-24 | 2013-01-02 | 上海天玑科技股份有限公司 | Graphic configuration management database based on graphic database |
US20160357424A1 (en) * | 2015-06-05 | 2016-12-08 | Cisco Technology, Inc. | Collapsing and placement of applications |
CN107124299A (en) * | 2017-03-31 | 2017-09-01 | 北京奇艺世纪科技有限公司 | Resource method for early warning and system based on resource topology |
-
2018
- 2018-12-25 CN CN201811593245.4A patent/CN109510729B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102855332A (en) * | 2012-09-24 | 2013-01-02 | 上海天玑科技股份有限公司 | Graphic configuration management database based on graphic database |
US20160357424A1 (en) * | 2015-06-05 | 2016-12-08 | Cisco Technology, Inc. | Collapsing and placement of applications |
CN107124299A (en) * | 2017-03-31 | 2017-09-01 | 北京奇艺世纪科技有限公司 | Resource method for early warning and system based on resource topology |
Non-Patent Citations (2)
Title |
---|
何鹏 等: "几种网络拓扑搜索方法的分析研究", 《微机发展》 * |
曾明霏 等: "基于CMDB的规则推理的故障定位技术", 《广西科学院学报》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110224899A (en) * | 2019-06-28 | 2019-09-10 | 深圳前海微众银行股份有限公司 | A kind of the call chain acquisition methods and device of TCP application |
WO2020259515A1 (en) * | 2019-06-28 | 2020-12-30 | 深圳前海微众银行股份有限公司 | Method and device for obtaining calling chain of tcp application |
CN110224899B (en) * | 2019-06-28 | 2023-04-18 | 深圳前海微众银行股份有限公司 | TCP application call chain acquisition method and device |
CN113595800A (en) * | 2021-08-03 | 2021-11-02 | 腾云悦智科技(深圳)有限责任公司 | Method for automatically discovering application connection relation and preserving CMDB information |
CN113595800B (en) * | 2021-08-03 | 2022-07-05 | 腾云悦智科技(深圳)有限责任公司 | Method for automatically discovering application connection relation and preserving CMDB information |
CN113791964A (en) * | 2021-09-27 | 2021-12-14 | 首约科技(北京)有限公司 | Service monitoring method based on four layers of transmission control protocol |
Also Published As
Publication number | Publication date |
---|---|
CN109510729B (en) | 2021-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7143159B1 (en) | Method for correlating and presenting network management data | |
US9311160B2 (en) | Elastic cloud networking | |
US8014294B2 (en) | System, apparatus and method for devices tracing | |
CN109510729A (en) | A kind of implementation method based on CMDB and Netstat discovery applied topology relationship | |
EP1604486B1 (en) | Relational model for management information in network devices | |
US8179799B2 (en) | Method for partitioning network flows based on their time information | |
CN103546343B (en) | The network traffics methods of exhibiting of network traffic analysis system and system | |
WO2011140759A1 (en) | Report form querying system and method and device for collecting data thereof | |
EP3544330B1 (en) | System and method for validating correctness of changes to network device configurations | |
CN107179977B (en) | Database Full-automatic monitoring system based on mpm models | |
ES2341353T3 (en) | PROCEDURE AND PRODUCTS FOR THE ALIGNMENT OF INFORMATION BETWEEN MANAGER AND AGENT IN A MANAGEMENT NETWORK. | |
US20120179740A1 (en) | Method and system for reconstructing transactions in a communication network | |
CN103248512A (en) | Method and system for generating topological structure of application layer in communication network | |
WO2014008694A1 (en) | Signaling monitoring device for implementing ps domain distributed architecture | |
CN107360271B (en) | Method, system and equipment for acquiring network equipment information and automatically segmenting IP address | |
WO2016074412A1 (en) | Compatibility administration method based on network configuration protocol, storage medium and device | |
US20170235785A1 (en) | Systems and Methods for Robust, Incremental Data Ingest of Communications Networks Topology | |
CN112134719A (en) | Method and system for analyzing base station security log | |
EP3089421A1 (en) | Network element data access method and apparatus, and network management system | |
WO2014044112A1 (en) | Device and method for controlling and supervising and alarming power supply of base station | |
WO2012045250A1 (en) | Method and system for network equipment configuration data difference self-recognization | |
CN110445752B (en) | Implementation method for supporting various CAN devices and flexibly analyzing various CAN messages | |
CN105072298A (en) | Telephone operator monitoring system and method of calling center | |
EP3306471A1 (en) | Automatic server cluster discovery | |
US20180329792A1 (en) | Network device monitoring |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |