CN110417864A - A kind of method and system determining monitoring configuration file based on network mapping tool - Google Patents

A kind of method and system determining monitoring configuration file based on network mapping tool Download PDF

Info

Publication number
CN110417864A
CN110417864A CN201910568149.2A CN201910568149A CN110417864A CN 110417864 A CN110417864 A CN 110417864A CN 201910568149 A CN201910568149 A CN 201910568149A CN 110417864 A CN110417864 A CN 110417864A
Authority
CN
China
Prior art keywords
information
host
service
address
network
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
CN201910568149.2A
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.)
Huadi Computer Group Co Ltd
Original Assignee
Huadi Computer Group Co 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 Huadi Computer Group Co Ltd filed Critical Huadi Computer Group Co Ltd
Priority to CN201910568149.2A priority Critical patent/CN110417864A/en
Publication of CN110417864A publication Critical patent/CN110417864A/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/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/668Internet protocol [IP] address subnets

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of method and system that monitoring configuration file is determined based on network mapping tool, comprising: the subnet network segment value where it is determined according to the IP address of monitoring server;Host information is executed according to subnet network segment value and obtains order, to obtain the host information of all hosts in operating status, and creates host IP address array;It to each host IP address, executes information of network service and obtains order, to obtain the information of network service of the corresponding host of the host IP address, and information integration is carried out according to host IP address, to obtain detection result details table;Preset MAP mapping table is inquired, the corresponding service description information of each service name of acquisition of information and check command information arranged according to service name in the detection result details table;And configured according to the call format of service configuration as defined in nagios, to obtain monitoring configuration file.The present invention can reduce the resource consumption of host, have speed fast, the more comprehensive advantage of service monitoring.

Description

A kind of method and system determining monitoring configuration file based on network mapping tool
Technical field
The present invention relates to field of cloud computer technology, and supervise more particularly, to a kind of determined based on network mapping tool Control the method and system of configuration file.
Background technique
The large-scale cluster environment as cloud computing, the virtual cluster occurs gradually over various enterprises and institutions, they It brings huge computing capability, storage capacity etc. and slowly substitutes existing cluster with this, but also bring monitoring aspect simultaneously There can be hundreds of virtual machines in complexity, such as virtual cluster, this just needs system manager to carry out these virtual machines Configuration record, such as IP address, operating system, service, however these huge data volumes give system in terms of monitoring configuration Administrator's bring artificial complexity is very high.
Addition monitoring configuration is automated to realize, existing method is usually all in automatic topology discovery network segment Equipment finds user-specified network section automatically, then utilize SNMP communication protocol, the correlation theory in the library MIB and PING Mode scans the type of all IP, each equipment that judgement is scanned, completes host monitor configuration.
Fig. 1 is the existing flow chart by finding to determine the method for configuration file automatically.Fig. 1 is analyzed it is found that existing The shortcomings that technical solution are as follows: all devices are required to support snmp protocol, and open snmpd service;For cloud computing, virtualization Cluster environment as cluster carries out the whole network section scanning, takes a long time;After automatic discovering device, needs administrator to understand every and set Standby particular use (service name of starting);When the installed service type of certain server is more, such as simultaneously as intermediate Part WebLogic and samba shared server can not find suitable service entry monitoring configuration in the Resources list.
When cluster environment is more complicated, when having various type devices, it is understood that there may be the problem of supported SNMP service Situations such as protocol version is different or server S NMP config failure causes service to fail to open.At this time by snmp protocol come Realization obtains relatively difficult to achieve automatically.Simultaneously as cluster scale is larger, base of the system manager to every server or virtual machine This information and the collection management of institute's operation service list are more difficult, and often will appear, which can not accurately carry out the monitoring of certain server, matches It sets;It in addition, can not be according to the set such special purpose of MySQL server or storage server when certain server purposes is more In the case where division, the multinomial service that the page completes a certain host can not be configured in monitoring using the prior art.
Solve how efficiently to ask in the multinomial service configuration that the monitoring configuration page completes a certain host therefore, it is necessary to a kind of The method of topic.
Summary of the invention
The present invention propose it is a kind of based on network mapping tool determine monitoring configuration file method and system, with solve how Efficiently the problem of the monitoring configuration page completes the multinomial service configuration of a certain host.
To solve the above-mentioned problems, according to an aspect of the invention, there is provided a kind of determined based on network mapping tool The method for monitoring configuration file, which is characterized in that the described method includes:
The subnet network segment value where it is determined according to the IP address of monitoring server;
Host information, which is executed, according to the subnet network segment value obtains order, it is all in operation in the subnet to obtain The host information of the host of state, and create host IP address array;
For each host IP address in the host IP address array, executes information of network service and obtain order, with Obtain the information of network service of the corresponding host of the host IP address, and by the host IP address and the corresponding network got Information on services forms sublist file;Wherein, the information of network service includes: service name and port numbers;
All sublist files are subjected to information integration according to host IP address, to obtain detection result details table;
Preset MAP mapping table is inquired, the acquisition of information arranged according to service name in the detection result details table is each The corresponding service description information of service name and check command information;
Configuration information will be configured according to the call format of service configuration as defined in nagios, to obtain monitoring configuration File;The configuration information includes: the information that service name arranges in detection result details table, the corresponding service of each service name Description information and check command information.
Preferably, wherein the host information obtains order, comprising: " nmap-sP subnet network segment value " or " fping-g Net network segment value ".
Preferably, wherein the information of network service obtains order, comprising: " nmap-PS host IP address " or " nc- v-w2`hostname-i`port1-portn”。
Preferably, wherein the method also includes:
Verify it is described monitoring configuration file validity, if check results be it is effective, configured;If check results are In vain, then when receiving probe command again, automatic detection is re-started to obtain monitoring configuration file.
According to another aspect of the present invention, it provides and a kind of determines that monitoring configuration file is based on network mapping tool System, which is characterized in that the system comprises:
Subnet network segment value determination unit determines the subnet network segment value where it for the IP address according to monitoring server;
Host information acquiring unit obtains order for executing host information according to the subnet network segment value, to obtain The host information of all hosts in operating status in the subnet, and create host IP address array;
Automatic probe unit, for executing network clothes for each host IP address in the host IP address array Be engaged in acquisition of information order, to obtain the information of network service of the corresponding host of the host IP address, and by the host IP address and The corresponding information of network service composition sublist file got;Wherein, the information of network service include: service name and Port numbers;
Detection result details table acquiring unit, it is whole for all sublist files to be carried out information according to host IP address It closes, to obtain detection result details table;
Service describing and check command information acquisition unit are tied for inquiring preset MAP mapping table according to the detection The corresponding service description information of each service name of acquisition of information and check command information that service name arranges in fruit details table;
Configuration file acquiring unit is monitored, for the call format by configuration information according to service configuration as defined in nagios It is configured, to obtain monitoring configuration file;The configuration information includes: the letter that service name arranges in detection result details table Breath, the corresponding service description information of each service name and check command information.
Preferably, wherein the host information obtains order, comprising: " nmap-sP subnet network segment value " or " fping-g Net network segment value ".
Preferably, wherein the information of network service obtains order, comprising: " nmap-PS host IP address " or " nc- v-w2`hostname-i`port1-portn”。
Preferably, wherein the system also includes:
Validity check unit, for verify it is described monitoring configuration file validity, if check results be it is effective, into Row configuration;If check results be it is invalid, when receiving probe command again, re-start automatic detection and matched with obtaining monitoring Set file.
The present invention provides a kind of method and system that monitoring configuration file is determined based on network mapping tool, are suitable for big After the initialization of scale cluster environment, it is temporarily not added with monitoring configuration or current monitor loss of configuration, needs the case where reconfiguring, Under large-scale cluster environment, entire subnet host in operating status is found by nmap tool automatically, and then scan every The port of platform host in operating status obtains its network service, and detection result is reassembled as nagios monitoring system automatically Required service monitoring configuration file.The present invention no longer needs every host correctly to configure and starts SNMP service, can subtract The resource consumption of few host;And the whole network section is scanned in such a way that the speed of nmap detection subnet is compared and uses SNMP and ping Speed faster, reduce period of reservation of number;The method of automatic detection host open port service reduces system manager and collects The case where recording All hosts corresponding with service situation, while avoiding the prior art that from can only adding a kind of monitoring service, so that service It monitors more comprehensive.
Detailed description of the invention
By reference to the following drawings, exemplary embodiments of the present invention can be more fully understood by:
Fig. 1 is the existing flow chart by finding to determine the method for configuration file automatically;
Fig. 2 is the method 200 that monitoring configuration file is determined based on network mapping tool according to embodiment of the present invention Flow chart;
Fig. 3 is the flow chart detected automatically according to embodiment of the present invention;
Fig. 4 is the instance graph for detecting and being configured automatically according to embodiment of the present invention;And
Fig. 5 is the system 500 that monitoring configuration file is determined based on network mapping tool according to embodiment of the present invention Structural schematic diagram.
Specific embodiment
Exemplary embodiments of the present invention are introduced referring now to the drawings, however, the present invention can use many different shapes Formula is implemented, and is not limited to the embodiment described herein, and to provide these embodiments be at large and fully disclose The present invention, and the scope of the present invention is sufficiently conveyed to person of ordinary skill in the field.Show for what is be illustrated in the accompanying drawings Term in example property embodiment is not limitation of the invention.In the accompanying drawings, identical cells/elements use identical attached Icon note.
Unless otherwise indicated, term (including scientific and technical terminology) used herein has person of ordinary skill in the field It is common to understand meaning.Further it will be understood that with the term that usually used dictionary limits, should be understood as and its The context of related fields has consistent meaning, and is not construed as Utopian or too formal meaning.
Fig. 2 is the method 200 that monitoring configuration file is determined based on network mapping tool according to embodiment of the present invention Flow chart.As shown in Fig. 2, the side for determining monitoring configuration file based on network mapping tool that embodiments of the present invention provide Method after being suitable for large-scale cluster environment initialization, is temporarily not added with monitoring configuration or current monitor loss of configuration, needs again The case where configuration, finds entire subnet host in operating status by nmap tool under large-scale cluster environment automatically, And then the port for scanning every host in operating status obtains its network service, and is automatically reassembled as detection result Service monitoring configuration file needed for nagios monitoring system.Embodiments of the present invention need every host all correctly to configure again And start SNMP service, the resource consumption of host can be reduced;And use nmap detection subnet speed compared to use SNMP with And the speed that the mode of ping scans the whole network section is faster, reduces period of reservation of number;Automatic detection host open port service Method reduces system manager and collects record All hosts corresponding with service situation, while avoiding the prior art that from can only adding a kind of prison The case where control service, so that service monitoring is more comprehensive.
What embodiments of the present invention provided determines the method 200 of monitoring configuration file from step based on network mapping tool Start at 201, the subnet network segment value where determining it according to the IP address of monitoring server in step 201.
In actual operation, it needs newly to enter cluster monitoring configuration interface first and adds monitored node, subsequently into certainly The dynamic detection phase, obtain subnet network segment value.
For example, if the IP address of monitoring server are as follows: 10.1.123.111 can then determine subnet network segment value are as follows: 10.1.123.0/24。
In step 202, host information is executed according to the subnet network segment value and obtains order, to obtain the institute in the subnet There is the host information of host in operating status, and creates host IP address array.
Preferably, wherein the host information obtains order, comprising: " nmap-sP subnet network segment value " or " fping-g Net network segment value ".
For example, executing " nmap-sP 10.1.123.0/24 " order or " fping-g10.1.123.0/24 " order, obtain The host information of all hosts in operating status in the subnet, and create host IP address array;Wherein, array Number is the number of host IP address, is also in the number of the host of operating status.
Is executed by information of network service and is obtained for each host IP address in the host IP address array in step 203 Order is taken, to obtain the information of network service of the corresponding host of the host IP address, and by the host IP address and is got Corresponding information of network service forms sublist file;Wherein, the information of network service includes: service name and port numbers.
Preferably, wherein the information of network service obtains order, comprising: " nmap-PS host IP address " or " nc- v-w2`hostname-i`port1-portn”。
For example, first value in host IP address array is 10.1.123.1, " nmap-PS10.1.123.1 " life is executed It enables, obtains host information of network service in operating status, comprising: service name and port numbers.Then, second is obtained Value, to determine the corresponding host of this second value information of network service in operating status, until the host IP address number All numerical value in group stop when traversing one time.
It is of course also possible to " nc-v-w2`hostname-i`port1-portn " order be executed, to obtain network service letter Breath.It should be noted that needing exist for the initial value and end value of designated ends slogan.
In step 204, all sublist files are subjected to information integration according to host IP address, to obtain detection result Details table.
In step 205, preset MAP mapping table is inquired, the letter arranged according to service name in the detection result details table Breath obtains the corresponding service description information of each service name and check command information.
In step 206, configuration information is configured according to the call format of service configuration as defined in nagios, to obtain Monitor configuration file;The configuration information includes: the information that service name arranges in detection result details table, each service name pair The service description information and check command information answered.
Preferably, wherein the method also includes:
Verify it is described monitoring configuration file validity, if check results be it is effective, configured;If check results are In vain, then when receiving probe command again, automatic detection is re-started to obtain monitoring configuration file.
Fig. 3 is the flow chart detected automatically according to embodiment of the present invention.As shown in figure 3, in embodiment party of the invention In formula, carrying out automatic detection with the process for determining configuration file includes:
(1) the subnet where it is located network segment is obtained according to the IP address of monitoring server, for example, monitoring server IP address are as follows: 10.1.123.111, then subnet network segment value is 10.1.123.0/24;
(2) subnet information obtained according to above-mentioned steps, backstage execute and find all operating status masters in the subnet automatically Machine, backstage execute " nmap-sP10.1.123.0/24 " order, obtain all operation host IP address arrays;
(3) cycle master IP address array, for each host IP address, comprising: IP address is obtained, such as 10.1.123.1;It executes " nmap-PS 10.1.123.1 ", obtains the information of network service of the host open state, including service Title, port numbers;And by host IP address, the host detection to all service names, port numbers save as sublist or Person forms temporary file;
(4) circulation terminates, and all sublist are integrated All hosts IP, Service name, port with each IP address to distinguish Number information forms detection result details table, and saves as temporary file;
(5) predetermined MAP mapping table is inquired, according to the information that service in the temporary file of above-mentioned acquisition is arranged, is obtained each The corresponding service_description information (service description information) of service and check_command information (verification life Enable information);
(6) according to nagios service profiles call format, above- mentioned information is inserted, configuration file is ultimately formed services.cfg。
The automatic detection method of host that embodiments of the present invention provide using the included nmap order of (SuSE) Linux OS come It realizes, it is only necessary to which the operation detected automatically in a certain server even PC machine starts SNMP without all devices Service;The host scanning of certain network segment may be implemented in nmap order simultaneously, without scanning the whole network section;Pass through nmap command scan(ning) host Port, network service provided by sniff can directly acquire the open serve port of the host and title, it is no longer necessary to be System administrator grasps the service list of each server or virtual machine, then adds its monitoring service item manually.
Embodiments of the present invention are illustrated by taking cloud computing environment as an example below
Assuming that cloud computing environment shares five servers, operating system is acceptance of the bid kylin advanced server operating system.Its In server be management node, remaining four server is added to cloud management platform as host, creates on every server Two virtual machines of deployment, including acceptance of the bid kylin desktop operating system and windows operating system are built, installation and operation is more on server A network service, such as SSH, Tomcat etc..
System for cloud computing environment are as follows: management platform IP is 10.1.81.171;Four host computer IP is respectively 10.1.81.172, 10.1.81.173 10.1.81.174;Virtual machine distributes IP automatically, and network segment is 10.1.81.175~10.1.81.255;That is institute Having equipment is same network segment.
The MAP table of design is as shown in table 1:
1 MAP table of table
Then the process of automatic detection subsystem is as shown in Figure 4, comprising:
(1) system manager logs in cloud computing and manages platform, needs to log in the access right that account number has monitoring to configure;
(2) " Statistical monitor " menu, selection " monitoring configuration " submenu are clicked;
(3) in monitoring configuration interface, " automatic detection " button is clicked;
(4) automatic locator is executed from the background, comprising: (a) obtains detection according to management platform IP (10.1.81.171) Subnet network segment is 10.1.81.0/24;(b) it executes " nmap-sP10.1.81.0/24 " and obtains all up State Host information, altogether 13 (cloud computing environment i.e. described above, All hosts and virtual machine are in operating status);(c) above-mentioned host ip letter is obtained Breath saves as array, obtains array length, that is, up State Host number;(d) each IP is recycled, executes " certain IP of nmap-PS " certainly It is dynamic to obtain the open service of IP institute's generic and port information, IP address, all services detected, port information are formed New sublist;(e) after circulation terminates, all sublist are integrated, forms detection result details table, saves as interim text from the background Part;
(5) page shows detection result, distinguishes according to host ip, defaults the full choosing of all services;
(6) system manager can cancel the service for not needing monitoring;
(7) " determination " button is clicked;
(8) backstage generates provisional configuration file, comprising: reads detection result details table;It is arranged according to service in details table Information inquires in foregoing description corresponding service describing and check command in predefined MAP;It is serviced according to as defined in nagios Each service reconfiguration in detection result is specific service definition by configuration template;Generate provisional configuration file;
(9) verification of provisional configuration file availability is executed, prompts configuration successful if effectively;In vain, then pop-up box " is It is no to detect again ";
(10) if 9 check results of above-mentioned steps be it is invalid, click pop-up box " determination " button, re-execute the steps (4)- (9);If clicking the " Cancel " button, cancel automatic detecting function.
Fig. 5 is the system 500 that monitoring configuration file is determined based on network mapping tool according to embodiment of the present invention Structural schematic diagram.As shown in figure 5, embodiments of the present invention offer determines monitoring configuration file based on network mapping tool System 500, comprising: subnet network segment value determination unit 501, host information acquiring unit 502, automatic probe unit 503, detection knot Fruit details table acquiring unit 504, service describing and check command information acquisition unit 505 and monitoring configuration file acquiring unit 506。
Preferably, the subnet network segment value determination unit 501 determines its place for the IP address according to monitoring server Subnet network segment value.
Preferably, the host information acquiring unit 502 is obtained for executing host information according to the subnet network segment value Order to obtain the host information of all hosts in operating status in the subnet, and creates host IP address array.
Preferably, wherein the host information obtains order, comprising: " nmap-sP subnet network segment value " or " fping-g Net network segment value ".
Preferably, the automatic probe unit 503, for for each host ip in the host IP address array Location executes information of network service and obtains order, to obtain the information of network service of the corresponding host of the host IP address, and should Host IP address and the corresponding information of network service got form sublist file;Wherein, the information of network service packet It includes: service name and port numbers.
Preferably, wherein the information of network service obtains order, comprising: " nmap-PS host IP address " or " nc- v-w2`hostname-i`port1-portn”。
Preferably, the detection result details table acquiring unit 504, for by all sublist files according to host ip Address carries out information integration, to obtain detection result details table.
Preferably, the service describing and check command information acquisition unit 505, for inquiring preset MAP mapping table, According in the detection result details table service name arrange the corresponding service description information of each service name of acquisition of information and Check command information.
Preferably, the monitoring configuration file acquiring unit 506, for servicing configuration information according to as defined in nagios The call format of configuration is configured, to obtain monitoring configuration file;The configuration information includes: to take in detection result details table Information, the corresponding service description information of each service name and the check command information of business name column.
Preferably, wherein the system also includes:
Validity check unit, for verify it is described monitoring configuration file validity, if check results be it is effective, into Row configuration;If check results be it is invalid, when receiving probe command again, re-start automatic detection and matched with obtaining monitoring Set file.
The embodiment of the present invention based on network mapping tool determine the system 500 of monitoring configuration file with it is of the invention another One embodiment determines that the method 200 of monitoring configuration file is corresponding based on network mapping tool, and details are not described herein.
The present invention is described by reference to a small amount of embodiment.However, it is known in those skilled in the art, as Defined by subsidiary Patent right requirement, in addition to the present invention other embodiments disclosed above equally fall in it is of the invention In range.
Normally, all terms used in the claims are all solved according to them in the common meaning of technical field It releases, unless in addition clearly being defined wherein.All references " one/described/be somebody's turn to do [device, component etc.] " are all opened ground At least one example being construed in described device, component etc., unless otherwise expressly specified.Any method disclosed herein Step need not all be run with disclosed accurate sequence, unless explicitly stated otherwise.

Claims (8)

1. a kind of method for determining monitoring configuration file based on network mapping tool, which is characterized in that the described method includes:
The subnet network segment value where it is determined according to the IP address of monitoring server;
Host information, which is executed, according to the subnet network segment value obtains order, it is all in operating status in the subnet to obtain Host host information, and create host IP address array;
It for each host IP address in the host IP address array, executes information of network service and obtains order, to obtain The information of network service of the corresponding host of the host IP address, and by the host IP address and the corresponding network service that gets Information forms sublist file;Wherein, the information of network service includes: service name and port numbers;
All sublist files are subjected to information integration according to host IP address, to obtain detection result details table;
Preset MAP mapping table is inquired, each service of acquisition of information arranged according to service name in the detection result details table The corresponding service description information of title and check command information;
Configuration information is configured according to the call format of service configuration as defined in nagios, to obtain monitoring configuration file; The configuration information includes: the information that service name arranges in detection result details table, the corresponding service describing of each service name Information and check command information.
2. the method according to claim 1, wherein the host information obtains order, comprising: " nmap-sP Net network segment value " or " fping-g subnet network segment value ".
3. the method according to claim 1, wherein the information of network service obtains order, comprising: " nmap- PS host IP address " or " nc-v-w2`hostname-i`port1-portn ".
4. the method according to claim 1, wherein the method also includes:
Verify it is described monitoring configuration file validity, if check results be it is effective, configured;If check results are nothing Effect re-starts automatic detection then when receiving probe command again to obtain monitoring configuration file.
5. a kind of system for determining monitoring configuration file based on network mapping tool, which is characterized in that the system comprises:
Subnet network segment value determination unit determines the subnet network segment value where it for the IP address according to monitoring server;
Host information acquiring unit obtains order for executing host information according to the subnet network segment value, to obtain in the son The host information of all hosts in operating status in net, and create host IP address array;
Automatic probe unit, for executing network service letter for each host IP address in the host IP address array Breath obtains order, to obtain the information of network service of the corresponding host of the host IP address, and by the host IP address and acquisition The corresponding information of network service composition sublist file arrived;Wherein, the information of network service includes: service name and port Number;
Detection result details table acquiring unit, for all sublist files to be carried out information integration according to host IP address, To obtain detection result details table;
Service describing and check command information acquisition unit, it is detailed according to the detection result for inquiring preset MAP mapping table The corresponding service description information of each service name of acquisition of information and check command information that service name arranges in feelings table;
Configuration file acquiring unit is monitored, for carrying out configuration information according to the call format of service configuration as defined in nagios Configuration, to obtain monitoring configuration file;The configuration information includes: the information that service name arranges in detection result details table, every The corresponding service description information of a service name and check command information.
6. system according to claim 1, which is characterized in that the host information obtains order, comprising: " nmap-sP Net network segment value " or " fping-g subnet network segment value ".
7. system according to claim 1, which is characterized in that the information of network service obtains order, comprising: " nmap- PS host IP address " or " nc-v-w2`hostname-i`port1-portn ".
8. system according to claim 1, which is characterized in that the system also includes:
Validity check unit, for verify it is described monitoring configuration file validity, if check results be it is effective, matched It sets;If check results be it is invalid, when receiving probe command again, re-start automatic detection to obtain monitoring configuration text Part.
CN201910568149.2A 2019-06-27 2019-06-27 A kind of method and system determining monitoring configuration file based on network mapping tool Pending CN110417864A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910568149.2A CN110417864A (en) 2019-06-27 2019-06-27 A kind of method and system determining monitoring configuration file based on network mapping tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910568149.2A CN110417864A (en) 2019-06-27 2019-06-27 A kind of method and system determining monitoring configuration file based on network mapping tool

Publications (1)

Publication Number Publication Date
CN110417864A true CN110417864A (en) 2019-11-05

Family

ID=68358394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910568149.2A Pending CN110417864A (en) 2019-06-27 2019-06-27 A kind of method and system determining monitoring configuration file based on network mapping tool

Country Status (1)

Country Link
CN (1) CN110417864A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112702195A (en) * 2020-12-18 2021-04-23 深圳奥哲网络科技有限公司 Gateway configuration method, electronic device and computer readable storage medium
CN113656239A (en) * 2021-06-02 2021-11-16 北京百度网讯科技有限公司 Monitoring method and device for middleware and computer program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070097884A1 (en) * 1999-08-27 2007-05-03 Bellsouth Intellectual Property Corporation Methods and Systems of Network Management
CN105141449A (en) * 2015-07-28 2015-12-09 中标软件有限公司 Addition method and device for monitoring configuration
US9716727B1 (en) * 2014-09-30 2017-07-25 Palo Alto Networks, Inc. Generating a honey network configuration to emulate a target network environment
CN108141380A (en) * 2015-09-30 2018-06-08 亚马逊科技公司 Network-based resource distribution finds service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070097884A1 (en) * 1999-08-27 2007-05-03 Bellsouth Intellectual Property Corporation Methods and Systems of Network Management
US9716727B1 (en) * 2014-09-30 2017-07-25 Palo Alto Networks, Inc. Generating a honey network configuration to emulate a target network environment
CN105141449A (en) * 2015-07-28 2015-12-09 中标软件有限公司 Addition method and device for monitoring configuration
CN108141380A (en) * 2015-09-30 2018-06-08 亚马逊科技公司 Network-based resource distribution finds service

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112702195A (en) * 2020-12-18 2021-04-23 深圳奥哲网络科技有限公司 Gateway configuration method, electronic device and computer readable storage medium
CN113656239A (en) * 2021-06-02 2021-11-16 北京百度网讯科技有限公司 Monitoring method and device for middleware and computer program product

Similar Documents

Publication Publication Date Title
US20200177464A1 (en) Component detection and management using relationships
US9647910B2 (en) Management server and control method of the management server for managing a service system virtually built using connected components
US7472179B2 (en) System management method for a data center
CN111124850A (en) MQTT server performance testing method, system, computer equipment and storage medium
US20090028053A1 (en) Root-cause approach to problem diagnosis in data networks
CN107666493B (en) Database configuration method and equipment thereof
CN105141449A (en) Addition method and device for monitoring configuration
US20070078841A1 (en) System and method for network resource management
CN109254922B (en) Automatic testing method and device for BMC Redfish function of server
CN110417864A (en) A kind of method and system determining monitoring configuration file based on network mapping tool
CN113672451B (en) BMC service detection method, device, equipment and readable storage medium
CN104915238A (en) Method for determining configuration parameter association of Web application
CN109491889A (en) The method and apparatus of automatic test in NFV
CN112187574A (en) Method, system and storage medium for network stress testing using virtual machines
CN110275793B (en) Detection method and equipment for MongoDB data fragment cluster
CN115080397A (en) System reliability testing method, device, equipment and storage medium
US8271879B2 (en) Workstation management application
JP2006228093A (en) Selection of calculation node in pc cluster computer, start of selected calculation node, and method and apparatus for distribution scheduling processing of program
Cisco CiscoWorks User Guide Software Release 1.0
US8914728B2 (en) Method and apparatus for correlation of intersections of network resources
CN114338764A (en) Non-invasive WEB application activity monitoring method and system
CN109327529B (en) Distributed scanning method and system
CN112398707A (en) Distributed automatic test management method, device, equipment and storage medium
CN113553243A (en) Remote error detection method
CN115834594B (en) Data collection method for improving high-performance computing application

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191105