CN109032626B - Method and system for automatically deploying network equipment monitoring software - Google Patents

Method and system for automatically deploying network equipment monitoring software Download PDF

Info

Publication number
CN109032626B
CN109032626B CN201811067701.1A CN201811067701A CN109032626B CN 109032626 B CN109032626 B CN 109032626B CN 201811067701 A CN201811067701 A CN 201811067701A CN 109032626 B CN109032626 B CN 109032626B
Authority
CN
China
Prior art keywords
target network
monitoring software
network equipment
network device
monitoring
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.)
Active
Application number
CN201811067701.1A
Other languages
Chinese (zh)
Other versions
CN109032626A (en
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.)
Beijing Sohu New Media Information Technology Co Ltd
Original Assignee
Beijing Sohu Internet Information Service 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 Beijing Sohu Internet Information Service Co Ltd filed Critical Beijing Sohu Internet Information Service Co Ltd
Priority to CN201811067701.1A priority Critical patent/CN109032626B/en
Publication of CN109032626A publication Critical patent/CN109032626A/en
Application granted granted Critical
Publication of CN109032626B publication Critical patent/CN109032626B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a method and a system for automatically deploying network equipment monitoring software, wherein the method comprises the following steps: storing basic monitoring parameters of the target network equipment to a relational database, receiving a hypertext transfer protocol notification message for deploying target network equipment monitoring software, judging whether the monitoring software of the target network equipment exists or not based on the hypertext transfer protocol notification message for deploying the target network equipment monitoring software, and if not, then: creating a new path and new monitoring software of the target network equipment, updating the configuration information of the new monitoring software of the target network equipment based on the basic monitoring parameters of the target network equipment, modifying the port value of the new monitoring software of the target network equipment, adding 1 to the port value on the original basis, and starting the new monitoring software of the target network equipment. The method and the device can effectively improve the efficiency of deploying the network equipment monitoring software.

Description

Method and system for automatically deploying network equipment monitoring software
Technical Field
The present application relates to the field of monitoring software technologies, and in particular, to a method and a system for automatically deploying network device monitoring software.
Background
At present, with the continuous development of scientific technology, various network devices are more and more. In order to monitor the network device, a deployment person is usually required to manually configure the corresponding monitoring software. Because network devices of different brands and models have slightly different configuration parameters, deployment personnel need to rewrite configuration files and deploy for each brand and model of network devices, and the task is very trivial and time-consuming.
Therefore, how to improve the efficiency of deploying the network device monitoring software is an urgent problem to be solved.
Disclosure of Invention
In view of this, the present application provides a method for automatically deploying network device monitoring software, which can effectively improve the efficiency of deploying network device monitoring software by automatically deploying the network device monitoring software, compared with the existing manual deployment manner.
The application provides a method for automatically deploying network equipment monitoring software, which comprises the following steps:
storing the basic monitoring parameters of the target network equipment to a relational database;
receiving a hypertext transfer protocol notification message for deploying the target network device monitoring software;
based on the hypertext transfer protocol notification message for deploying the monitoring software of the target network equipment, judging whether the monitoring software of the target network equipment exists, if not, then:
creating a new path and new monitoring software of the target network equipment;
updating the configuration information of the new monitoring software of the target network equipment based on the basic monitoring parameters of the target network equipment;
modifying the port value of the new monitoring software of the target network equipment, and adding 1 to the port value on the original basis;
and starting new monitoring software of the target network equipment.
Preferably, when the monitoring software of the target network device exists, the method further includes:
updating the configuration information of the original monitoring software of the target network equipment based on the basic monitoring parameters of the target network equipment;
modifying the port value of the original monitoring software of the target network equipment, and adding 1 to the port value on the original basis;
and starting the monitoring software after the target network equipment updates the configuration information.
Preferably, the method further comprises:
receiving a hypertext transfer protocol notification message for deleting the target network equipment monitoring software;
and deleting the monitoring software of the target network equipment based on the hypertext transfer protocol notification message for deleting the monitoring software of the target network equipment.
Preferably, the method further comprises:
receiving a hypertext transfer protocol notification message for modifying the target network device monitoring software;
modifying the monitoring software of the target network device based on the hypertext transfer protocol notification message for modifying the monitoring software of the target network device.
Preferably, the notification message includes: IP information of the target network device.
A system for automated deployment of network device monitoring software, comprising:
the storage module is used for storing the basic monitoring parameters of the target network equipment to the relational database;
a first receiving module, configured to receive a hypertext transfer protocol notification message for deploying the target network device monitoring software;
a judging module, configured to judge whether the monitoring software of the target network device exists based on the hypertext transfer protocol notification message for deploying the monitoring software of the target network device;
the creating module is used for creating a new path and new monitoring software of the target network equipment when the monitoring software of the target network equipment does not exist;
the first updating module is used for updating the configuration information of the new monitoring software of the target network equipment based on the basic monitoring parameters of the target network equipment;
the first modification module is used for modifying the port value of the new monitoring software of the target network equipment and adding 1 to the port value on the original basis;
and the first starting module is used for starting the new monitoring software of the target network equipment.
Preferably, when the monitoring software of the target network device exists, the method further includes:
the second updating module is used for updating the configuration information of the original monitoring software of the target network equipment based on the basic monitoring parameters of the target network equipment;
the second modification module is used for modifying the port value of the original monitoring software of the target network equipment and adding 1 to the port value on the original basis;
and the second starting module is used for starting the monitoring software after the target network equipment updates the configuration information.
Preferably, the system further comprises:
the second receiving module is used for receiving a hypertext transfer protocol notification message for deleting the target network equipment monitoring software;
and the deleting module is used for deleting the monitoring software of the target network equipment based on the hypertext transfer protocol notification message for deleting the monitoring software of the target network equipment.
Preferably, the system further comprises:
a third receiving module, configured to receive a hypertext transfer protocol notification message for modifying the target network device monitoring software;
a modification module for modifying the monitoring software of the target network device based on the hypertext transfer protocol notification message for modifying the monitoring software of the target network device.
Preferably, the notification message includes: IP information of the target network device.
In summary, the present application discloses a method for automatically deploying monitoring software of a network device, when the monitoring software of the network device needs to be deployed, first saving basic monitoring parameters of a target network device to a relational database, then receiving a hypertext transfer protocol notification message for deploying the monitoring software of the target network device, determining whether the monitoring software of the target network device exists based on the hypertext transfer protocol notification message for deploying the monitoring software of the target network device, if not, creating a new path and the new monitoring software of the target network device, updating configuration information of the new monitoring software of the target network device based on the basic monitoring parameters of the target network device, modifying a port value of the new monitoring software of the target network device, adding 1 to the original port value, and starting the new monitoring software of the target network device. The method and the device for deploying the monitoring software of the network equipment can automatically deploy the monitoring software of the network equipment, and can effectively improve the efficiency of deploying the monitoring software of the network equipment compared with the conventional manual deployment mode.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of an embodiment 1 of a method for automatically deploying network device monitoring software according to the present disclosure;
FIG. 2 is a flowchart of embodiment 2 of a method for automatically deploying network device monitoring software disclosed herein;
FIG. 3 is a flowchart of embodiment 3 of a method for automatically deploying network device monitoring software according to the disclosure;
fig. 4 is a schematic structural diagram of an embodiment 1 of a system for automatically deploying network device monitoring software according to the present disclosure;
fig. 5 is a schematic structural diagram of an embodiment 2 of a system for automatically deploying network device monitoring software according to the present disclosure;
fig. 6 is a schematic structural diagram of embodiment 3 of a system for automatically deploying network device monitoring software disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 1, a flowchart of an embodiment 1 of a method for automatically deploying network device monitoring software disclosed in the present application may include the following steps:
s101, storing basic monitoring parameters of target network equipment to a relational database;
when the monitoring software of the network equipment needs to be deployed, firstly, operation and maintenance personnel carry out monitoring configuration according to a target network, configure basic monitoring parameters of the target network equipment, and store the basic monitoring parameters of the target network equipment into a relational database after the operation and maintenance personnel configure the basic monitoring parameters of the target network equipment. It should be noted that the target network device is a network device that needs to deploy monitoring software.
S102, receiving a hypertext transfer protocol notification message of the monitoring software of the target network equipment;
then, the operation and maintenance personnel send a hypertext transfer protocol notification message for deploying the target network device monitoring software, and the system receives the hypertext transfer protocol notification message for deploying the target network device monitoring software. It should be noted that the received http notification message for deploying the target network device monitoring software may include the IP information of the target network device.
S103, judging whether the monitoring software of the target network equipment exists or not based on the hypertext transfer protocol notification message of the deployed monitoring software of the target network equipment, and if not, entering S104:
after receiving a hypertext transfer protocol notification message for deploying target network equipment monitoring software, pulling a basic monitoring parameter corresponding to the target network equipment from a relational database based on IP information of the target network equipment in the received hypertext transfer protocol notification message for deploying the target network equipment monitoring software, and caching the pulled basic monitoring parameter into a memory; and simultaneously, executing a Linux command, and judging whether the monitoring software with the same brand and model exists according to the information of the monitoring software of the original target network equipment.
S104, creating a new path and new monitoring software of the target network equipment;
when monitoring software of the same brand and model does not exist, a new path and monitoring software is created.
S105, updating the configuration information of new monitoring software of the target network equipment based on the basic monitoring parameters of the target network equipment;
and then, according to the basic monitoring parameters of the target network equipment cached in the memory, revising the configuration information of the newly created monitoring software.
S106, modifying the port value of the new monitoring software of the target network equipment, and adding 1 to the port value on the original basis;
and simultaneously reading the port value of the starting port of the original target network equipment monitoring software, adding 1 to the port value and storing the port value, and then taking the self-increased port value as the starting port value of the newly-created monitoring software of the target network equipment. Because port values of ports cannot be the same for programs started on the same server, otherwise, the program start fails due to port conflicts, and therefore, the port conflicts need to be avoided. Repeating the steps, if more monitoring software of the network equipment is created, the port value of the starting port of the original network equipment monitoring software is increased by 1.
And S107, starting new monitoring software of the target network equipment.
And after the newly created monitoring software parameter configuration is finished, executing the Linux command again, starting the newly created monitoring software, and finishing the deployment of the new target network equipment monitoring software.
To sum up, in the above embodiment, when the monitoring software of the network device needs to be deployed, first, the basic monitoring parameter of the target network device is saved in the relational database, then, the http notification message for deploying the monitoring software of the target network device is received, whether the monitoring software of the target network device exists is determined based on the http notification message for deploying the monitoring software of the target network device, if not, a new path and new monitoring software of the target network device are created, the configuration information of the new monitoring software of the target network device is updated based on the basic monitoring parameter of the target network device, the port value of the new monitoring software of the target network device is modified, 1 is added to the original port value, and the new monitoring software of the target network device is started. The method and the device for deploying the monitoring software of the network equipment can automatically deploy the monitoring software of the network equipment, and can effectively improve the efficiency of deploying the monitoring software of the network equipment compared with the conventional manual deployment mode.
As shown in fig. 2, a flowchart of embodiment 2 of a method for automatically deploying network device monitoring software disclosed in the present application may include the following steps:
s201, storing basic monitoring parameters of target network equipment to a relational database;
when the monitoring software of the network equipment needs to be deployed, firstly, operation and maintenance personnel carry out monitoring configuration according to a target network, configure basic monitoring parameters of the target network equipment, and store the basic monitoring parameters of the target network equipment into a relational database after the operation and maintenance personnel configure the basic monitoring parameters of the target network equipment. It should be noted that the target network device is a network device that needs to deploy monitoring software.
S202, receiving a hypertext transfer protocol notification message for deploying target network equipment monitoring software;
and then, the operation and maintenance personnel send a hypertext transfer protocol notification message for deploying the target network device monitoring software, and the system receives the hypertext transfer protocol notification message for deploying the target network device monitoring software. It should be noted that the received http notification message for deploying the target network device monitoring software may include the IP information of the target network device.
S203, judging whether the monitoring software of the target network equipment exists or not based on the hypertext transfer protocol notification message of the monitoring software of the target network equipment, if so, entering S204:
after receiving a hypertext transfer protocol notification message for deploying target network equipment monitoring software, pulling a basic monitoring parameter corresponding to the target network equipment from a relational database based on IP information of the target network equipment in the received hypertext transfer protocol notification message for deploying the target network equipment monitoring software, and caching the pulled basic monitoring parameter into a memory; and meanwhile, executing a Linux command, and judging whether the monitoring software with the same brand and model exists according to the information of the monitoring software of the original target network equipment.
S204, updating configuration information of original monitoring software of the target network equipment based on the basic monitoring parameters of the target network equipment;
and then, when the monitoring software of the target network equipment exists, modifying the configuration information of the existing monitoring software again according to the basic monitoring parameters of the target network equipment cached in the memory.
S205, modifying the port value of the original monitoring software of the target network equipment, and adding 1 to the port value on the original basis;
and meanwhile, reading the port value of the starting port of the original target network equipment monitoring software, adding 1 to the port value and storing the port value, and then taking the self-increased port value as the starting port value of the monitoring software after the configuration information is modified. Because the port values of the ports of the programs started on the same server cannot be the same, otherwise the programs are started in a failed manner due to port conflict, and therefore the port conflict needs to be avoided. Repeating the steps, if more monitoring software of the network equipment is created, the port value of the starting port of the original network equipment monitoring software is increased by 1.
And S206, starting the monitoring software after the target network equipment updates the configuration information.
And after the configuration information of the original monitoring software is updated, executing the Linux command again, starting the monitoring software, and finishing the deployment of the new target network equipment monitoring software.
To sum up, in the above embodiment, when the monitoring software of the network device needs to be deployed, first, the basic monitoring parameter of the target network device is saved in the relational database, then, the http notification message for deploying the monitoring software of the target network device is received, whether the monitoring software of the target network device exists is determined based on the http notification message for deploying the monitoring software of the target network device, if yes, the configuration information of the original monitoring software of the target network device is updated based on the basic monitoring parameter of the target network device, the port value of the original monitoring software of the target network device is modified, the port value is increased by 1 on the original basis, and the monitoring software of the target network device after updating the configuration information is started. The method and the device for deploying the monitoring software of the network equipment can automatically deploy the monitoring software of the network equipment, and can effectively improve the efficiency of deploying the monitoring software of the network equipment compared with the conventional manual deployment mode.
As shown in fig. 3, which is a flowchart of embodiment 3 of a method for automatically deploying network device monitoring software disclosed in the present application on the basis of the foregoing embodiments, the method may include the following steps:
s301, receiving a hypertext transfer protocol notification message for modifying the monitoring software of the target network equipment;
on the basis of the foregoing embodiment 1 and/or embodiment 2, when monitoring deployment of a target network device needs to be modified, a hypertext transfer protocol notification message for modifying monitoring software of the target network device is received, where the modification message includes IP information of the target network device.
S302, modifying the monitoring software of the target network equipment based on the hypertext transfer protocol notification message for modifying the monitoring software of the target network equipment;
and when receiving a hypertext transfer protocol notification message for modifying the target network equipment monitoring software, modifying the deployment of the target network equipment monitoring software according to the received modification message.
S303, receiving a hypertext transfer protocol notification message for deleting the monitoring software of the target network equipment;
in addition, on the basis of the foregoing embodiment 1 and/or embodiment 2, when monitoring deployment of the target network device needs to be revoked, a hypertext transfer protocol notification message for deleting monitoring software of the target network device is first received, where the notification message includes IP information of the target network device.
S304, based on the hypertext transfer protocol notification message of the deleted target network equipment monitoring software, deleting the monitoring software of the target network equipment.
And after receiving the hypertext transfer protocol notification message for deleting the monitoring software of the target network equipment, deleting the monitoring software of the target network equipment according to the received deletion message.
It should be noted that, when the monitoring software deployment of the target network device is modified or deleted, the port value of the monitoring software port does not need to be changed.
In summary, the existing monitoring software for the network device cannot be automatically deployed, and the configuration file does not have universality for network devices of different brands and different models. In order to monitor all network devices, it is often necessary for a deployment person to manually configure multiple pieces of monitoring software, which is a cumbersome and time-consuming task. According to the method and the device, automatic deployment of the monitoring software of the network equipment is realized, the working efficiency of operation and maintenance personnel is improved, and the convenience of the deployment of the monitoring software is enhanced.
As shown in fig. 4, a schematic structural diagram of an embodiment 1 of a system for automatically deploying network device monitoring software disclosed in the present application is shown, where the system may include:
a saving module 401, configured to save the basic monitoring parameters of the target network device in a relational database;
when the monitoring software of the network equipment needs to be deployed, firstly, operation and maintenance personnel carry out monitoring configuration according to a target network, configure basic monitoring parameters of the target network equipment, and store the basic monitoring parameters of the target network equipment into a relational database after the operation and maintenance personnel configure the basic monitoring parameters of the target network equipment. It should be noted that the target network device is the network device that needs to deploy the monitoring software.
A first receiving module 402, configured to receive a hypertext transfer protocol notification message of deployment target network device monitoring software;
then, the operation and maintenance personnel send a hypertext transfer protocol notification message for deploying the target network device monitoring software, and the system receives the hypertext transfer protocol notification message for deploying the target network device monitoring software. It should be noted that the received http notification message for deploying the target network device monitoring software may include the IP information of the target network device.
A judging module 403, configured to judge whether monitoring software of a target network device exists based on a hypertext transfer protocol notification message of the deployed monitoring software of the target network device;
after receiving a hypertext transfer protocol notification message for deploying target network equipment monitoring software, pulling a basic monitoring parameter corresponding to the target network equipment from a relational database based on IP information of the target network equipment in the received hypertext transfer protocol notification message for deploying the target network equipment monitoring software, and caching the pulled basic monitoring parameter into a memory; and simultaneously, executing a Linux command, and judging whether the monitoring software with the same brand and model exists according to the information of the monitoring software of the original target network equipment.
A creating module 404, configured to create a new path and new monitoring software for the target network device when the monitoring software for the target network device does not exist;
when monitoring software of the same brand and model does not exist, a new path and monitoring software is created.
A first updating module 405, configured to update configuration information of new monitoring software of the target network device based on the basic monitoring parameters of the target network device;
and then, modifying the configuration information of the newly created monitoring software again according to the basic monitoring parameters of the target network equipment cached in the memory.
A first modification module 406, configured to modify a port value of new monitoring software of the target network device, and add 1 to the port value on the original basis;
and simultaneously reading the port value of the starting port of the original target network equipment monitoring software, adding 1 to the port value and storing the port value, and then taking the self-increased port value as the starting port value of the newly-created monitoring software of the target network equipment. Because port values of ports cannot be the same for programs started on the same server, otherwise, the program start fails due to port conflicts, and therefore, the port conflicts need to be avoided. Repeating the steps, if more monitoring software of the network equipment is created, the port value of the starting port of the original network equipment monitoring software is increased by 1.
The first starting module 407 is configured to start new monitoring software of the target network device.
And after the newly created monitoring software parameters are configured, executing the Linux command again, starting the newly created monitoring software, and finishing the deployment of the new target network equipment monitoring software.
To sum up, in the above embodiment, when the monitoring software of the network device needs to be deployed, first, the basic monitoring parameter of the target network device is saved in the relational database, then, the http notification message for deploying the monitoring software of the target network device is received, whether the monitoring software of the target network device exists is determined based on the http notification message for deploying the monitoring software of the target network device, if not, a new path and new monitoring software of the target network device are created, the configuration information of the new monitoring software of the target network device is updated based on the basic monitoring parameter of the target network device, the port value of the new monitoring software of the target network device is modified, 1 is added to the original port value, and the new monitoring software of the target network device is started. The method and the device for deploying the monitoring software of the network equipment can automatically deploy the monitoring software of the network equipment, and can effectively improve the efficiency of deploying the monitoring software of the network equipment compared with the conventional manual deployment mode.
As shown in fig. 5, a schematic structural diagram of an embodiment 2 of a system for automatically deploying network device monitoring software disclosed in the present application is shown, where the system may include:
a saving module 501, configured to save the basic monitoring parameters of the target network device in a relational database;
when the monitoring software of the network equipment needs to be deployed, firstly, operation and maintenance personnel carry out monitoring configuration according to a target network, configure basic monitoring parameters of the target network equipment, and store the basic monitoring parameters of the target network equipment into a relational database after the operation and maintenance personnel configure the basic monitoring parameters of the target network equipment. It should be noted that the target network device is a network device that needs to deploy monitoring software.
A first receiving module 502, configured to receive a hypertext transfer protocol notification message of deployment target network device monitoring software;
and then, the operation and maintenance personnel send a hypertext transfer protocol notification message for deploying the target network device monitoring software, and the system receives the hypertext transfer protocol notification message for deploying the target network device monitoring software. It should be noted that the received http notification message for deploying the target network device monitoring software may include the IP information of the target network device.
A judging module 503, configured to judge whether monitoring software of a target network device exists based on a hypertext transfer protocol notification message of the deployed monitoring software of the target network device;
after receiving a hypertext transfer protocol notification message for deploying target network equipment monitoring software, pulling a basic monitoring parameter corresponding to the target network equipment from a relational database based on IP information of the target network equipment in the received hypertext transfer protocol notification message for deploying the target network equipment monitoring software, and caching the pulled basic monitoring parameter into a memory; and simultaneously, executing a Linux command, and judging whether the monitoring software with the same brand and model exists according to the information of the monitoring software of the original target network equipment.
A second updating module 504, configured to update configuration information of original monitoring software of the target network device based on a basic monitoring parameter of the target network device when the monitoring software of the target network device exists;
and then, when the monitoring software of the target network equipment exists, revising the configuration information of the existing monitoring software according to the basic monitoring parameters of the target network equipment cached in the memory.
A second modifying module 505, configured to modify a port value of original monitoring software of the target network device, and add 1 to the port value on the original basis;
and meanwhile, reading the port value of the starting port of the original target network equipment monitoring software, adding 1 to the port value and storing the port value, and then taking the self-increased port value as the starting port value of the monitoring software after the configuration information is modified. Because port values of ports cannot be the same for programs started on the same server, otherwise, the program start fails due to port conflicts, and therefore, the port conflicts need to be avoided. Repeating the steps, if more monitoring software of the network equipment is created, the port value of the starting port of the original network equipment monitoring software is increased by 1.
A second starting module 506, configured to start the monitoring software after the target network device updates the configuration information.
And after the configuration information of the original monitoring software is updated, executing the Linux command again, starting the monitoring software, and finishing the deployment of the new target network equipment monitoring software.
To sum up, in the above embodiment, when the monitoring software of the network device needs to be deployed, first, the basic monitoring parameter of the target network device is saved in the relational database, then, the http notification message for deploying the monitoring software of the target network device is received, whether the monitoring software of the target network device exists is determined based on the http notification message for deploying the monitoring software of the target network device, if yes, the configuration information of the original monitoring software of the target network device is updated based on the basic monitoring parameter of the target network device, the port value of the original monitoring software of the target network device is modified, the port value is increased by 1 on the original basis, and the monitoring software of the target network device after updating the configuration information is started. The method and the device for deploying the monitoring software of the network equipment can automatically deploy the monitoring software of the network equipment, and can effectively improve the efficiency of deploying the monitoring software of the network equipment compared with the conventional manual deployment mode.
As shown in fig. 6, a schematic structural diagram of an embodiment 3 of a system for automatically deploying network device monitoring software disclosed in the present application is shown, where the system may include:
a third receiving module 601, configured to receive a hypertext transfer protocol notification message for modifying target network device monitoring software;
on the basis of the foregoing embodiment 1 and/or embodiment 2, when monitoring deployment of a target network device needs to be modified, a hypertext transfer protocol notification message for modifying monitoring software of the target network device is received, where the modification message includes IP information of the target network device.
A modification module 602, configured to modify the monitoring software of the target network device based on a hypertext transfer protocol notification message that modifies the monitoring software of the target network device;
and when receiving a hypertext transfer protocol notification message for modifying the target network equipment monitoring software, modifying the deployment of the target network equipment monitoring software according to the received modification message.
A second receiving module 603, configured to receive a http notification message for deleting the target network device monitoring software;
in addition, on the basis of the foregoing embodiment 1 and/or embodiment 2, when monitoring deployment of the target network device needs to be revoked, a hypertext transfer protocol notification message for deleting monitoring software of the target network device is first received, where the notification message includes IP information of the target network device.
A deleting module 604, configured to delete the monitoring software of the target network device based on deleting the http notification message of the monitoring software of the target network device.
And after receiving the hypertext transfer protocol notification message for deleting the monitoring software of the target network equipment, deleting the monitoring software of the target network equipment according to the received deletion message.
It should be noted that, when the monitoring software deployment of the target network device is modified or deleted, the port value of the monitoring software port does not need to be changed.
In summary, the existing monitoring software for the network device cannot be automatically deployed, and the configuration file does not have universality for network devices of different brands and different models. In order to monitor all network devices, it is often necessary for a deployment person to manually configure multiple pieces of monitoring software, which is a cumbersome and time-consuming task. According to the method and the device, automatic deployment of the monitoring software of the network equipment is realized, the working efficiency of operation and maintenance personnel is improved, and the convenience of the deployment of the monitoring software is enhanced.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for automatically deploying network equipment monitoring software, the method comprising:
storing the basic monitoring parameters of the target network equipment to a relational database;
receiving a hypertext transfer protocol notification message for deploying the target network device monitoring software;
based on the hypertext transfer protocol notification message for deploying the monitoring software of the target network device, determining whether the monitoring software of the target network device exists, where determining whether the monitoring software of the target network device exists includes: judging whether monitoring software with the same brand and model exists according to the information of the original monitoring software of the target network equipment; if not, then:
creating a new path and new monitoring software of the target network equipment;
updating the configuration information of the new monitoring software of the target network equipment based on the basic monitoring parameters of the target network equipment;
modifying the port value of the new monitoring software of the target network equipment, and adding 1 to the port value on the original basis;
and starting new monitoring software of the target network equipment.
2. The method of claim 1, wherein when the monitoring software of the target network device is present, further comprising:
updating the configuration information of the original monitoring software of the target network equipment based on the basic monitoring parameters of the target network equipment;
modifying the port value of the original monitoring software of the target network equipment, and adding 1 to the port value on the original basis;
and starting the monitoring software after the target network equipment updates the configuration information.
3. The method of claim 1 or 2, further comprising:
receiving a hypertext transfer protocol notification message for deleting the target network equipment monitoring software;
and deleting the monitoring software of the target network equipment based on the hypertext transfer protocol notification message for deleting the monitoring software of the target network equipment.
4. The method of claim 3, further comprising:
receiving a hypertext transfer protocol notification message for modifying the target network device monitoring software;
modifying the monitoring software of the target network device based on the hypertext transfer protocol notification message for modifying the monitoring software of the target network device.
5. The method of claim 4, wherein the notification message comprises: IP information of the target network device.
6. A system for automated deployment of network device monitoring software, comprising:
the storage module is used for storing the basic monitoring parameters of the target network equipment to the relational database;
a first receiving module, configured to receive a hypertext transfer protocol notification message of the target network device monitoring software;
a judging module, configured to judge whether the monitoring software of the target network device exists based on the hypertext transfer protocol notification message for deploying the monitoring software of the target network device; the judging whether the monitoring software of the target network equipment exists comprises the following steps: judging whether monitoring software with the same brand and model exists according to the information of the original monitoring software of the target network equipment;
the creating module is used for creating a new path and new monitoring software of the target network equipment when the monitoring software of the target network equipment does not exist;
the first updating module is used for updating the configuration information of the new monitoring software of the target network equipment based on the basic monitoring parameters of the target network equipment;
the first modification module is used for modifying the port value of the new monitoring software of the target network equipment and adding 1 to the port value on the original basis;
and the first starting module is used for starting the new monitoring software of the target network equipment.
7. The system of claim 6, wherein when the monitoring software of the target network device is present, further comprising:
the second updating module is used for updating the configuration information of the original monitoring software of the target network equipment based on the basic monitoring parameters of the target network equipment;
the second modification module is used for modifying the port value of the original monitoring software of the target network equipment and adding 1 to the port value on the original basis;
and the second starting module is used for starting the monitoring software after the target network equipment updates the configuration information.
8. The system of claim 6 or 7, further comprising:
the second receiving module is used for receiving a hypertext transfer protocol notification message for deleting the target network equipment monitoring software;
and the deleting module is used for deleting the monitoring software of the target network equipment based on the hypertext transfer protocol notification message for deleting the monitoring software of the target network equipment.
9. The system of claim 8, further comprising:
a third receiving module, configured to receive a hypertext transfer protocol notification message for modifying the target network device monitoring software;
and the modification module is used for modifying the monitoring software of the target network equipment based on the hypertext transfer protocol notification message for modifying the monitoring software of the target network equipment.
10. The system of claim 9, wherein the notification message comprises: IP information of the target network device.
CN201811067701.1A 2018-09-13 2018-09-13 Method and system for automatically deploying network equipment monitoring software Active CN109032626B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811067701.1A CN109032626B (en) 2018-09-13 2018-09-13 Method and system for automatically deploying network equipment monitoring software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811067701.1A CN109032626B (en) 2018-09-13 2018-09-13 Method and system for automatically deploying network equipment monitoring software

Publications (2)

Publication Number Publication Date
CN109032626A CN109032626A (en) 2018-12-18
CN109032626B true CN109032626B (en) 2022-09-20

Family

ID=64621979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811067701.1A Active CN109032626B (en) 2018-09-13 2018-09-13 Method and system for automatically deploying network equipment monitoring software

Country Status (1)

Country Link
CN (1) CN109032626B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363163A (en) * 2021-12-09 2022-04-15 北京六方云信息技术有限公司 HTTPS-based equipment deployment method, system, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021078A (en) * 2014-06-13 2014-09-03 中国民航信息网络股份有限公司 Software monitoring device and method
CN104253706A (en) * 2013-06-29 2014-12-31 北京新媒传信科技有限公司 Method and device for monitoring database management platform
CN105141449A (en) * 2015-07-28 2015-12-09 中标软件有限公司 Addition method and device for monitoring configuration
CN106095483A (en) * 2016-05-31 2016-11-09 乐视控股(北京)有限公司 The Automation arranging method of service and device
CN106713420A (en) * 2016-11-30 2017-05-24 国网北京市电力公司 Monitoring deployment method and device
CN108073426A (en) * 2017-03-29 2018-05-25 上海云首信息科技有限公司 A kind of method of managing software based on cloud computing, apparatus and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040031029A1 (en) * 2002-08-06 2004-02-12 Kyu-Woong Lee Methods and systems for automatically updating software components in a network
US7555657B2 (en) * 2003-03-28 2009-06-30 Ricoh Company, Ltd. Communication device, software update device, software update system, software update method, and program
JP2011095950A (en) * 2009-10-29 2011-05-12 Seiko Epson Corp Network device, network device system, and method for updating software of network device
US8726264B1 (en) * 2011-11-02 2014-05-13 Amazon Technologies, Inc. Architecture for incremental deployment
US9417868B2 (en) * 2014-01-09 2016-08-16 Bank Of America Corporation Entity wide software tracking and maintenance reporting tool
US20150378763A1 (en) * 2014-06-30 2015-12-31 Vmware, Inc. Methods and apparatus to manage monitoring agents
CN106162067A (en) * 2015-04-20 2016-11-23 杭州萤石网络有限公司 Monitoring method, apparatus and system and the network equipment
JP2017045302A (en) * 2015-08-27 2017-03-02 キヤノン株式会社 Distribution system and distribution system control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253706A (en) * 2013-06-29 2014-12-31 北京新媒传信科技有限公司 Method and device for monitoring database management platform
CN104021078A (en) * 2014-06-13 2014-09-03 中国民航信息网络股份有限公司 Software monitoring device and method
CN105141449A (en) * 2015-07-28 2015-12-09 中标软件有限公司 Addition method and device for monitoring configuration
CN106095483A (en) * 2016-05-31 2016-11-09 乐视控股(北京)有限公司 The Automation arranging method of service and device
CN106713420A (en) * 2016-11-30 2017-05-24 国网北京市电力公司 Monitoring deployment method and device
CN108073426A (en) * 2017-03-29 2018-05-25 上海云首信息科技有限公司 A kind of method of managing software based on cloud computing, apparatus and system

Also Published As

Publication number Publication date
CN109032626A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
WO2018161799A1 (en) Cloud application deployment method and system
CN110765023A (en) Distributed system testing method and system based on chaos experiment
WO2021072861A1 (en) Application service processing method and apparatus, and terminal and storage medium
CN109062601A (en) MES system client-side program update method, device, equipment and medium
CN112230966B (en) OTA upgrading method and device
US6877051B2 (en) Consistency checking mechanism for configuration parameters in embedded systems
CN112087379A (en) Service chain arranging method and device, storage medium and electronic device
CN107491322A (en) A kind of control method and device of parameter storage
CN109032626B (en) Method and system for automatically deploying network equipment monitoring software
CN102681874A (en) Method and device for ensuring normal running of software
CN112783646A (en) Stateful application containerization deployment method and device
CN111147272A (en) Single server and multi-server operation platform upgrading method
CN114185577A (en) Configuration management system, configuration management method, server, and storage medium
CN110417598B (en) Management method of gateway component and component manager
CN104104701A (en) Online service configuration updating method and system
WO2016192432A1 (en) Network management system deployment method and device, and network management system
CN103235703A (en) Method and device for storing preset resource
CN115129574A (en) Code testing method and device
CN109150921B (en) Login method, device, equipment and storage medium of multi-node cluster
CN110784353A (en) Network element equipment configuration data migration method and device
CN112685102B (en) Gateway plug-in hot loading method, device, equipment and medium
CN110474869B (en) Application system upgrading method and device under internal and external network isolation environment
US9075968B2 (en) Dynamic creation of a temporary administrative user
CN115328520A (en) Remote upgrading method and device, electronic equipment and storage medium
CN109753320B (en) Application parameter processing method and device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20181226

Address after: 100086 11, 1101, 3 building, 2 South Road, Haidian District Academy of Sciences, Beijing.

Applicant after: BEIJING SOHU INTERNET INFORMATION SERVICE CO.,LTD.

Address before: 100190 Floor 1201, Building 3, No. 2 South Road Academy of Sciences, Haidian District, Beijing

Applicant before: BEIJING SOHU NEW MEDIA INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240221

Address after: 100086 12, 1201, 3 building, 2 South Road, Haidian District Academy of Sciences, Beijing.

Patentee after: BEIJING SOHU NEW MEDIA INFORMATION TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: 100086 11, 1101, 3 building, 2 South Road, Haidian District Academy of Sciences, Beijing.

Patentee before: BEIJING SOHU INTERNET INFORMATION SERVICE CO.,LTD.

Country or region before: China