CN115118572A - Server alarm adaptation method, device, equipment and storage medium - Google Patents

Server alarm adaptation method, device, equipment and storage medium Download PDF

Info

Publication number
CN115118572A
CN115118572A CN202210900747.7A CN202210900747A CN115118572A CN 115118572 A CN115118572 A CN 115118572A CN 202210900747 A CN202210900747 A CN 202210900747A CN 115118572 A CN115118572 A CN 115118572A
Authority
CN
China
Prior art keywords
alarm
server
platform
target
information
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
CN202210900747.7A
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.)
Jinan Inspur Data Technology Co Ltd
Original Assignee
Jinan Inspur Data Technology 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 Jinan Inspur Data Technology Co Ltd filed Critical Jinan Inspur Data Technology Co Ltd
Priority to CN202210900747.7A priority Critical patent/CN115118572A/en
Publication of CN115118572A publication Critical patent/CN115118572A/en
Pending legal-status Critical Current

Links

Images

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/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis

Landscapes

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

Abstract

The application discloses a server alarm adaptation method, a device, equipment and a storage medium, which relate to the technical field of server monitoring alarm and comprise the following steps: executing alarm configuration operation on the target server matched by scanning so as to send the server alarm to the target monitoring platform based on the alarm configuration operation when the target server generates the server alarm; constructing an alarm corresponding relation between a target monitoring platform and each manufacturer server according to the platform alarm information and original alarm information which is pre-imported by a client; the platform alarm information is alarm information defined by a target monitoring platform and the original alarm information is alarm information of a server defined by a server manufacturer; and adapting the platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relation. The method and the device adapt the platform alarms corresponding to the server alarms of different manufacturers on the target monitoring platform, so that unified monitoring of a large number of servers can be realized.

Description

Server alarm adaptation method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of server monitoring and alarming, in particular to a server alarming adaptation method, a device, equipment and a storage medium.
Background
Currently, for the daily work of operation and maintenance, the server monitors the alarm as a necessary and most basic item. In the operation and maintenance process of the enterprise network, an administrator must pay attention to the operation conditions of the server and the network at any time so as to find problems in time and reduce the occurrence of faults as much as possible.
Therefore, how to adapt the alarm of each server manufacturer to the platform alarm is an issue to be solved in the art.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a server alarm adaptation method, apparatus, device and storage medium, which can implement uniform monitoring of a large number of servers, so as to discover server alarm information in time. The specific scheme is as follows:
in a first aspect, the present application discloses a server alarm adaptation method, which is applied to a target monitoring platform and includes:
scanning a server existing in a current network to match a target server;
executing an alarm configuration operation on the target server so as to send a server alarm to the target monitoring platform based on the alarm configuration operation when the target server generates the server alarm;
constructing an alarm corresponding relation between the target monitoring platform and each manufacturer server according to platform alarm information and original alarm information which is pre-imported by a client; the platform alarm information is the alarm information defined by the target monitoring platform and the original alarm information is the alarm information of a server defined by a server manufacturer;
and adapting a platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relation according to the received server alarm generated by the target server.
Optionally, the scanning a server existing in a current network to match a target server includes:
and scanning a server existing in the current network according to the scanning information input by the client to match a target server corresponding to the scanning information.
Optionally, the executing an alarm configuration operation on the target server so as to send the server alarm to the target monitoring platform based on the alarm configuration operation when the target server generates the server alarm includes:
and configuring the IP port information of the target monitoring platform into the target server so as to send the server alarm to a target port of the target monitoring platform corresponding to the IP port information when the target server generates the server alarm.
Optionally, the executing an alarm configuration operation on the target server so as to send the server alarm to the target monitoring platform based on the alarm configuration operation when the target server generates the server alarm includes:
and configuring the URL for receiving the alarm to the target server so as to send the server alarm to the URL for receiving the alarm of the target monitoring platform when the target server generates the server alarm.
Optionally, the adapting, according to the received server alarm generated by the target server, a platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relationship includes:
analyzing the received alarm information corresponding to the server alarm generated by the target server to obtain analyzed server alarm information;
and adapting the platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relation according to the analyzed server alarm information.
Optionally, after the platform alarm corresponding to the server alarm on the target monitoring platform is adapted from the alarm corresponding relationship according to the received server alarm generated by the target server, the method further includes:
analyzing the platform alarm information corresponding to the platform alarm to obtain analyzed platform alarm information;
determining the alarm type of the platform alarm according to the analyzed platform alarm information;
and displaying the platform alarm based on the alarm type.
Optionally, the displaying the alarm based on the alarm type includes:
if the alarm type is a real-time alarm, displaying the platform alarm on a first visual interface;
if the alarm type is a historical alarm, displaying the platform alarm on a second visual interface;
and if the alarm type is the event alarm, displaying the event information contained in the platform alarm on a third visual interface.
In a second aspect, the present application discloses a server alarm adaptation device, which is applied to a target monitoring platform, and includes:
the server scanning module is used for scanning the servers existing in the current network to match a target server;
the alarm configuration module is used for executing alarm configuration operation on the target server so as to send the server alarm to the target monitoring platform based on the alarm configuration operation when the target server generates the server alarm;
the relation building module is used for building an alarm corresponding relation between the target monitoring platform and each manufacturer server according to the platform alarm information and original alarm information which is pre-imported by the client; the platform alarm information is the alarm information defined by the target monitoring platform and the original alarm information is the alarm information of a server defined by a server manufacturer;
and the alarm adaptation module is used for adapting the platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relation according to the received server alarm generated by the target server.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the server alarm adaptation method disclosed in the foregoing.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the steps of the server alarm adaptation method disclosed in the foregoing.
Therefore, the application provides a server alarm adaptation method, which comprises the following steps: scanning a server existing in a current network to match a target server; executing an alarm configuration operation on the target server so as to send a server alarm to the target monitoring platform based on the alarm configuration operation when the target server generates the server alarm; constructing an alarm corresponding relation between the target monitoring platform and each manufacturer server according to platform alarm information and original alarm information which is pre-imported by a client; the platform alarm information is the alarm information defined by the target monitoring platform and the original alarm information is the alarm information of a server defined by a server manufacturer; and adapting a platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relation according to the received server alarm generated by the target server. Therefore, the method and the device can realize the alarm configuration of the scanned target server, then send the server alarm to the target monitoring platform according to the corresponding alarm configuration when the target server generates a high alarm, and adapt the platform alarm corresponding to the server alarm on the target monitoring platform according to the server alarm and the established alarm corresponding relation, thereby realizing the unified monitoring of a large number of servers on the target monitoring platform and finding the server alarm information in time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a server alarm adaptation method disclosed in the present application;
FIG. 2 is a flow chart of a specific server alarm adaptation method disclosed herein;
FIG. 3 is a flowchart of a specific server alarm adaptation method disclosed in the present application;
FIG. 4 is a flowchart of a specific server alarm adaptation method disclosed herein;
FIG. 5 is a flowchart of a specific server alarm adaptation method disclosed herein;
FIG. 6 is a flowchart of a specific server alarm adaptation method disclosed herein;
FIG. 7 is a schematic diagram of a server alarm adaptation apparatus according to the present disclosure;
FIG. 8 is a diagram of a particular server alarm adaptation system as disclosed herein;
fig. 9 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
Currently, for the daily work of operation and maintenance, the server monitors the alarm as a necessary and most basic item. In the operation and maintenance process of the enterprise network, an administrator must pay attention to the operation conditions of the server and the network at any time so as to find problems in time and reduce the occurrence of faults as much as possible. Therefore, the server alarm adaptation scheme is provided, unified monitoring of a large number of servers can be achieved, and server alarm information can be found in time.
The embodiment of the invention discloses a server alarm adaptation method, which is applied to a target monitoring platform and is shown in figure 1, and the method comprises the following steps:
step S11: the servers present in the current network are scanned to match the target server.
It should be noted that the target monitoring platform needs middleware such as mysql, redis, etc., completes storage of platform data, cache, etc., installs middleware such as mysql, redis, etc., and configures the middleware, such as an account number, a password, an access right, etc. And then setting the configuration of the target monitoring platform docking middleware, for example, setting information such as mysql, redis and other account passwords in a configuration file of the target monitoring platform, setting firewall configurations of all servers of the target monitoring platform, allowing the ports required by the target monitoring platform to interact with information externally, and then starting the target monitoring platform.
In this embodiment, a server existing in a current network is scanned to match a target server. For example, a server existing in a current network is scanned according to protocols such as IPMI (Intelligent Platform Management Interface), Redfish, and the like to match a target server. And then, storing the basic information of the target server in the platform, and automatically triggering the automatic acquisition of information such as hardware information, performance data and the like of the server. The Redfish extensible platform Management API (The Redfish Scalable platform Management API) is a new specification, uses RESTful interface semantics to access data defined in a model format, is used for executing out-of-band system Management (out of band systems Management), namely a Management mode which does not occupy production network bandwidth and interfaces, is suitable for large-scale servers, and is suitable for rack-mounted and blade-mounted server environments from independent servers and is also suitable for large-scale cloud environments. That is, Redfish is a management standard based on HTTPs service, and a RESTful interface is used to implement device management.
Step S12: and executing an alarm configuration operation on the target server so as to send the server alarm to the target monitoring platform based on the alarm configuration operation when the target server generates the server alarm.
In this embodiment, after a target server is scanned and matched, an alarm configuration operation is performed on the target server according to scanned protocol information, so that when the target server generates a server alarm, the server alarm is sent to the target monitoring platform based on the alarm configuration operation.
Step S13: constructing an alarm corresponding relation between the target monitoring platform and each manufacturer server according to platform alarm information and original alarm information which is pre-imported by a client; the platform alarm information is the alarm information defined by the target monitoring platform and the original alarm information is the alarm information of the server defined by the server manufacturer.
In the embodiment, an alarm corresponding relation between the target monitoring platform and each manufacturer server is constructed according to platform alarm information and original alarm information which is pre-imported by a client; the platform alarm information is the alarm information defined by the target monitoring platform and the original alarm information is the alarm information of the server defined by the server manufacturer. It can be understood that, in order to be compatible with alarms of different manufacturers, the target monitoring platform defines a plurality of platform alarms, and performs classification management according to the alarm information, at this time, the alarm information of the platform needs to be adapted and docked with the alarm information of the server, that is, the alarm corresponding relationship between the target monitoring platform and each manufacturer server is constructed according to the platform alarm information and the original alarm information pre-imported by the client, so that the alarm adaptation between the platform and the server can be completed subsequently based on the alarm corresponding relationship. It should be noted that the server MIB information stores server alarm information of the alarms, each alarm has an Object Identifier (OID), i.e. a unique ID, and the alarm corresponds to a recovery OID. Due to the fact that the alarm OIDs of different server manufacturers are different, alarm adaptation can be completed through one platform.
Step S14: and adapting a platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relation according to the received server alarm generated by the target server.
It should be noted that, due to different protocols, the receiving modes of the alarm are different, for example, the Snmp trap is sent to a designated port through the Snmp trap protocol for receiving the alarm information, that is, if the server generates the alarm information, the alarm information is sent to the subscribed target monitoring platform through the Snmp trap. Redfish is a subscription mode, and when a platform scans and matches a target server, the platform sends a URL for receiving an alarm to the server.
In this embodiment, the server alarm generated by the target server is received, and then the platform alarm corresponding to the server alarm on the target monitoring platform is adapted from the alarm corresponding relationship established by the target platform according to the alarm information corresponding to the server alarm.
Therefore, in the embodiment of the application, the alarm configuration is performed on the scanned target server, then when the target server generates an alarm, the server alarm is sent to the target monitoring platform according to the corresponding alarm configuration, and the platform alarm corresponding to the server alarm on the target monitoring platform is adapted according to the server alarm and the established alarm corresponding relation, so that the unified monitoring of a large number of servers on the target monitoring platform can be realized, and the server alarm information can be found in time.
Referring to fig. 2, the embodiment of the present invention discloses a specific server alarm adaptation method, and compared with the previous embodiment, the embodiment further describes and optimizes the technical solution.
Step S21: and scanning a server existing in the current network according to the scanning information input by the client to match a target server corresponding to the scanning information.
In this embodiment, a server existing in the current network is scanned according to the scanning information input by the client to match a target server corresponding to the scanning information, for example, a user inputs a specified network segment, for example, 100.100.25.1-100.100.100.25.255, to a target monitoring platform, then the server existing in the current network is scanned according to an IPMI protocol to match the target server in the network segment, and the basic information of the target server is stored, so as to automatically trigger automatic acquisition of information such as server hardware information and performance data.
Step S22: and executing an alarm configuration operation on the target server so as to send the server alarm to the target monitoring platform based on the alarm configuration operation when the target server generates the server alarm.
Step S23: constructing an alarm corresponding relation between the target monitoring platform and each manufacturer server according to platform alarm information and original alarm information which is pre-imported by a client; the platform alarm information is the alarm information defined by the target monitoring platform and the original alarm information is the alarm information of the server defined by the server manufacturer.
Step S24: and adapting a platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relation according to the received server alarm generated by the target server.
For the details of the above steps S22 to S24, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
It can be seen that, in the embodiment of the present application, an alarm configuration is performed on a target server according to a target server scanned by scanning information input by a client, then when the target server generates an alarm, the server alarm is sent to a target monitoring platform according to the corresponding alarm configuration, and a platform alarm corresponding to the server alarm on the target monitoring platform is adapted according to the server alarm and the established alarm corresponding relationship, so that unified monitoring of a large number of servers can be realized on the target monitoring platform, and server alarm information can be found in time.
Referring to fig. 3, the embodiment of the present invention discloses a specific server alarm adaptation method, and compared with the previous embodiment, the embodiment further describes and optimizes the technical solution.
Step S31: the servers present in the current network are scanned to match the target server.
Step S32: and executing an alarm configuration operation on the target server so as to send the server alarm to the target monitoring platform based on the alarm configuration operation when the target server generates the server alarm.
Step S33: constructing an alarm corresponding relation between the target monitoring platform and each manufacturer server according to platform alarm information and original alarm information which is pre-imported by a client; the platform alarm information is the alarm information defined by the target monitoring platform and the original alarm information is the alarm information of a server defined by a server manufacturer.
For the details of the above steps S31 to S33, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Step S34: and analyzing the received alarm information corresponding to the server alarm generated by the target server to obtain analyzed server alarm information.
In this embodiment, the received alarm information corresponding to the server alarm generated by the target server is analyzed, so as to obtain the analyzed server alarm information. That is, after receiving the server alarm generated by the target server, extracting original alarm information corresponding to the server alarm, such as an alarm OID and an alarm level, generated by the target server, so as to query, by the alarm OID, alarm information corresponding to the server alarm defined by a server manufacturer that produces the target server, such as an alarm name, an alarm reason, a solution, and the like, and obtain alarm information defined by a platform, and further analyze the alarm information to obtain analyzed server alarm information, which server alarm generated by the server alarm can be determined from the analyzed server alarm information.
Step S35: and adapting the platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relation according to the analyzed server alarm information.
In this embodiment, after analyzing the received alarm information corresponding to the server alarm generated by the target server, platform alarms corresponding to the server alarms on the target monitoring platform are adapted from the alarm corresponding relationship according to the analyzed server alarm information.
Therefore, in the embodiment of the application, the alarm configuration is performed on the scanned target server, then when the target server generates an alarm, the server alarm is sent to the target monitoring platform according to the corresponding alarm configuration, and the platform alarm corresponding to the server alarm on the target monitoring platform is adapted according to the server alarm and the established alarm corresponding relation, so that the unified monitoring of a large number of servers on the target monitoring platform can be realized, and the server alarm information can be found in time.
Referring to fig. 4, the embodiment of the present invention discloses a specific server alarm adaptation method, and compared with the previous embodiment, the embodiment further describes and optimizes the technical solution.
Step S41: the servers present in the current network are scanned to match the target server.
Step S42: and configuring the IP port information of the target monitoring platform into the target server so as to send the server alarm to a target port of the target monitoring platform corresponding to the IP port information when the target server generates the server alarm.
In this embodiment, after the target server is scanned and matched, the IP (Internet Protocol) port information of the target monitoring platform is configured in the target server, so that when the target server generates a server alarm, the server alarm is sent to the target port of the target monitoring platform corresponding to the IP port information. For example, the Snmp Trap configures IP port information of the target monitoring platform into a BMC (Baseboard Management Controller) system of the server through an IPMI command, and when an alarm occurs in the server, the alarm is sent to a port of the target monitoring platform in a Trap form.
Step S43: constructing an alarm corresponding relation between the target monitoring platform and each manufacturer server according to platform alarm information and original alarm information which is pre-imported by a client; the platform alarm information is the alarm information defined by the target monitoring platform and the original alarm information is the alarm information of the server defined by the server manufacturer.
Step S44: and adapting a platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relation according to the received server alarm generated by the target server.
For the details of the above steps S41, S43 to S44, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and details are not repeated herein.
It can be seen that, in the embodiment of the present application, a target server is scanned and matched, then the IP port information of the target monitoring platform is configured in the target server, and then when the target server generates an alarm, the server alarm is sent to the target port of the target monitoring platform corresponding to the IP port information, and a platform alarm corresponding to the server alarm on the target monitoring platform is adapted according to the server alarm and the established alarm correspondence, so that unified monitoring of a large number of servers on the target monitoring platform can be realized, and the server alarm information can be found in time.
Referring to fig. 5, the embodiment of the present invention discloses a specific server alarm adaptation method, and compared with the previous embodiment, the embodiment further describes and optimizes the technical solution.
Step S51: the servers present in the current network are scanned to match the target server.
Step S51: and configuring the URL for receiving the alarm to the target server so as to send the server alarm to the URL for receiving the alarm of the target monitoring platform when the target server generates the server alarm.
In this embodiment, after the target server is scanned and matched, a URL (Uniform Resource Locator) for receiving an alarm is configured on the target server, so that when the target server generates a server alarm, the server alarm is sent to the URL where the target monitoring platform receives the alarm. For example, Redfish is an account password in a protocol, a URL of the platform for receiving an alarm of Redfish is configured in a server, and when the server generates an alarm, the alarm is directly sent to the URL of the platform for receiving the alarm.
Step S53: constructing an alarm corresponding relation between the target monitoring platform and each manufacturer server according to platform alarm information and original alarm information which is pre-imported by a client; the platform alarm information is the alarm information defined by the target monitoring platform and the original alarm information is the alarm information of the server defined by the server manufacturer.
Step S54: and adapting a platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relation according to the received server alarm generated by the target server.
For the details of the step S51 and the steps S53 to S54, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
It can be seen that, in the embodiment of the present application, a target server is scanned and matched, a URL for receiving an alarm is configured on the target server, then when the target server generates an alarm, the server alarm is sent to the URL for receiving the alarm by the target monitoring platform, and a platform alarm corresponding to the server alarm on the target monitoring platform is adapted according to the server alarm and the established alarm correspondence, so that unified monitoring of a large number of servers on the target monitoring platform can be realized, and server alarm information can be found in time.
Referring to fig. 6, the embodiment of the present invention discloses a specific server alarm adaptation method, and compared with the previous embodiment, the embodiment further describes and optimizes the technical solution.
Step S61: the servers present in the current network are scanned to match the target server.
Step S62: and executing an alarm configuration operation on the target server so as to send the server alarm to the target monitoring platform based on the alarm configuration operation when the target server generates the server alarm.
Step S63: constructing an alarm corresponding relation between the target monitoring platform and each manufacturer server according to platform alarm information and original alarm information which is pre-imported by a client; the platform alarm information is the alarm information defined by the target monitoring platform and the original alarm information is the alarm information of the server defined by the server manufacturer.
Step S64: and adapting a platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relation according to the received server alarm generated by the target server.
Step S65: and analyzing the platform alarm information corresponding to the platform alarm to obtain analyzed platform alarm information.
In this embodiment, after the server alarm generated by the target server is adapted from the alarm corresponding relationship to the platform alarm corresponding to the server alarm on the target monitoring platform, the platform alarm information corresponding to the platform alarm is analyzed to obtain analyzed platform alarm information, for example, information such as an alarm name and an alarm level, analyzed by the target monitoring platform.
Step S66: and determining the alarm type of the platform alarm according to the analyzed platform alarm information.
In this embodiment, the platform alarm information corresponding to the platform alarm is analyzed, and then the alarm type of the platform alarm is determined according to the analyzed platform alarm information.
Step S67: and displaying the platform alarm based on the alarm type.
In this embodiment, the platform alarm is displayed based on the alarm type, and if the alarm type is a real-time alarm, the platform alarm is displayed on a first visual interface; if the alarm type is a historical alarm, displaying the platform alarm on a second visual interface; and if the alarm type is the event alarm, displaying the event information contained in the platform alarm on a third visual interface. That is, the platform analyzes and determines the information of the name, level and the like of the alarm, determines whether to recover the condition according to the alarm level, and judges whether to perform real-time alarm, whether to recover the alarm or whether to perform event message. The real-time alarm is a current server alarm, the historical alarm indicates that the alarm is recovered and can be displayed in the historical alarm, event information sent by the event alarm display server, alarm details comprise alarm information defined by a platform and original alarm information defined by a server manufacturer, and the alarm information is displayed.
Therefore, in the embodiment of the application, the alarm configuration is performed on the scanned target server, then when the target server generates an alarm, the server alarm is sent to the target monitoring platform according to the corresponding alarm configuration, and the platform alarm corresponding to the server alarm on the target monitoring platform is adapted according to the server alarm and the established alarm corresponding relation, so that the unified monitoring of a large number of servers on the target monitoring platform can be realized, and the server alarm information can be found in time.
Correspondingly, the embodiment of the present application further discloses a server alarm adaptation device, which is applied to a target monitoring platform, and as shown in fig. 7, the device includes:
a server scanning module 11, configured to scan a server existing in a current network to match a target server;
the alarm configuration module 12 is configured to perform an alarm configuration operation on the target server, so that when the target server generates a server alarm, the server alarm is sent to the target monitoring platform based on the alarm configuration operation;
the relationship construction module 13 is used for constructing an alarm corresponding relationship between the target monitoring platform and each manufacturer server according to the platform alarm information and the original alarm information which is pre-imported by the client; the platform alarm information is the alarm information defined by the target monitoring platform and the original alarm information is the alarm information of a server defined by a server manufacturer;
and an alarm adaptation module 14, configured to adapt a platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relationship according to the received server alarm generated by the target server.
Therefore, in the embodiment of the application, the alarm configuration is performed on the scanned target server, then when the target server generates an alarm, the server alarm is sent to the target monitoring platform according to the corresponding alarm configuration, and the platform alarm corresponding to the server alarm on the target monitoring platform is adapted according to the server alarm and the established alarm corresponding relation, so that the unified monitoring of a large number of servers on the target monitoring platform can be realized, and the server alarm information can be found in time.
In some specific embodiments, the server scanning module 11 may specifically include:
and the server scanning unit is used for scanning a server existing in the current network according to the scanning information input by the client so as to match a target server corresponding to the scanning information.
In some specific embodiments, the alarm configuring module 12 may specifically include:
and the first alarm configuration unit is used for configuring the IP port information of the target monitoring platform into the target server so as to send the server alarm to a target port of the target monitoring platform corresponding to the IP port information when the target server generates the server alarm.
In some specific embodiments, the alarm configuring module 12 may specifically include:
and the second alarm configuration unit is used for configuring the URL for receiving the alarm to the target server so as to send the server alarm to the URL for receiving the alarm of the target monitoring platform when the target server generates the server alarm.
In some specific embodiments, the alarm adaptation module 14 may specifically include:
the first information analysis unit is used for analyzing the received alarm information corresponding to the server alarm generated by the target server to obtain analyzed server alarm information;
and the alarm adaptation unit is used for adapting the platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relation according to the analyzed server alarm information.
In some specific embodiments, the alarm adaptation module 14 may specifically include:
the second information analysis unit is used for analyzing the platform alarm information corresponding to the platform alarm to obtain analyzed platform alarm information;
the alarm type determining unit is used for determining the alarm type of the platform alarm according to the analyzed platform alarm information;
and the alarm display unit is used for displaying the platform alarm based on the alarm type.
In some specific embodiments, the alarm display unit may specifically include:
the first alarm display unit is used for displaying the platform alarm on a first visual interface when the alarm type is a real-time alarm;
the second alarm display unit is used for displaying the platform alarm on a second visual interface when the alarm type is a historical alarm;
and the third alarm display unit is used for displaying the event information contained in the platform alarm on a third visual interface when the alarm type is the event alarm.
For example, as shown in fig. 8, a user uses a Management Information Base (MIB) Information import module of a server to import MIB Information of different server vendors into a platform, and the platform analyzes the MIB Information and generates a corresponding alarm mapping relationship, so as to complete the binding of a server alarm and a platform alarm. The user can input a designated network segment, such as 100.100.25.1-100.100.100.25.255, the server scanning module of the platform scans according to the designated network segment to match the target server, and stores the basic information of the target server in the corresponding storage space. After the storage of the relevant information of the target server is finished, a server alarm subscription module is automatically called, a subscription command is issued to the target server, so that when the target server gives an alarm, a server alarm receiving module capable of a platform receives the alarm information, the server which generates the alarm is determined from the alarm information, then data is sent to a server alarm analysis module, original alarm information is extracted, the alarm information which is defined by a manufacturer and corresponds to the alarm is inquired and seen through an OID in the original alarm information, the alarm information defined by the platform is acquired, the data is stored, then information such as the name and the level of the alarm is analyzed and determined on the platform, whether the condition is recovered or not is determined according to the alarm level, and whether the alarm is a real-time alarm or a recovery alarm or an event message is determined.
Further, the embodiment of the application also provides electronic equipment. FIG. 9 is a block diagram illustrating an electronic device 20 according to an exemplary embodiment, and nothing in the figure should be taken as a limitation on the scope of use of the present application.
Fig. 9 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. Wherein, the memory 22 is used for storing a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the server alarm adaptation method disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in this embodiment may be specifically an electronic computer.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the storage 22 is used as a carrier for resource storage, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the resources stored thereon may include an operating system 221, a computer program 222, etc., and the storage manner may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device on the electronic device 20 and the computer program 222, and may be Windows Server, Netware, Unix, Linux, or the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the server alarm adaptation method performed by the electronic device 20 disclosed in any of the foregoing embodiments.
Further, an embodiment of the present application further discloses a computer-readable storage medium, in which a computer program is stored, and when the computer program is loaded and executed by a processor, the steps of the server alarm adaptation method disclosed in any of the foregoing embodiments are implemented.
In the present specification, the embodiments are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same or similar parts between 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.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The server alarm adaptation method, device, equipment and storage medium provided by the invention are described in detail above, and a specific example is applied in the text to explain the principle and implementation of the invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A server alarm adaptation method is characterized in that the method is applied to a target monitoring platform and comprises the following steps:
scanning a server existing in a current network to match a target server;
executing an alarm configuration operation on the target server so as to send a server alarm to the target monitoring platform based on the alarm configuration operation when the target server generates the server alarm;
constructing an alarm corresponding relation between the target monitoring platform and each manufacturer server according to platform alarm information and original alarm information which is pre-imported by a client; the platform alarm information is the alarm information defined by the target monitoring platform and the original alarm information is the alarm information of a server defined by a server manufacturer;
and adapting a platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relation according to the received server alarm generated by the target server.
2. The server alarm adaptation method of claim 1, wherein the scanning of the servers existing in the current network to match a target server comprises:
and scanning a server existing in the current network according to the scanning information input by the client to match a target server corresponding to the scanning information.
3. The server alarm adaptation method of claim 1, wherein the performing an alarm configuration operation on the target server to send the server alarm to the target monitoring platform based on the alarm configuration operation when the target server generates the server alarm comprises:
and configuring the IP port information of the target monitoring platform into the target server so as to send the server alarm to a target port of the target monitoring platform corresponding to the IP port information when the target server generates the server alarm.
4. The server alarm adaptation method of claim 1, wherein the performing an alarm configuration operation on the target server to send the server alarm to the target monitoring platform based on the alarm configuration operation when the target server generates the server alarm comprises:
and configuring the URL for receiving the alarm to the target server so as to send the server alarm to the URL for receiving the alarm of the target monitoring platform when the target server generates the server alarm.
5. The server alarm adaptation method according to claim 1, wherein the adapting, from the alarm mapping relationship, the platform alarm corresponding to the server alarm on the target monitoring platform according to the received server alarm generated by the target server comprises:
analyzing the received alarm information corresponding to the server alarm generated by the target server to obtain analyzed server alarm information;
and adapting the platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relation according to the analyzed server alarm information.
6. The server alarm adaptation method according to any one of claims 1 to 5, wherein after adapting the platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relationship according to the received server alarm generated by the target server, the method further comprises:
analyzing the platform alarm information corresponding to the platform alarm to obtain analyzed platform alarm information;
determining the alarm type of the platform alarm according to the analyzed platform alarm information;
and displaying the platform alarm based on the alarm type.
7. The server alarm adaptation method according to claim 6, wherein said presenting the alarm based on the alarm type comprises:
if the alarm type is a real-time alarm, displaying the platform alarm on a first visual interface;
if the alarm type is a historical alarm, displaying the platform alarm on a second visual interface;
and if the alarm type is the event alarm, displaying the event information contained in the platform alarm on a third visual interface.
8. A server alarm adaptation device is characterized in that the device is applied to a target monitoring platform and comprises:
the server scanning module is used for scanning the servers existing in the current network to match a target server;
the alarm configuration module is used for executing alarm configuration operation on the target server so as to send the server alarm to the target monitoring platform based on the alarm configuration operation when the target server generates the server alarm;
the relation building module is used for building an alarm corresponding relation between the target monitoring platform and each manufacturer server according to the platform alarm information and original alarm information which is pre-imported by the client; the platform alarm information is the alarm information defined by the target monitoring platform and the original alarm information is the alarm information of a server defined by a server manufacturer;
and the alarm adaptation module is used for adapting a platform alarm corresponding to the server alarm on the target monitoring platform from the alarm corresponding relation according to the received server alarm generated by the target server.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program for implementing the steps of the server alarm adaptation method according to any of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program realizes the steps of the server alarm adaptation method according to any of claims 1 to 7 when being executed by a processor.
CN202210900747.7A 2022-07-28 2022-07-28 Server alarm adaptation method, device, equipment and storage medium Pending CN115118572A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210900747.7A CN115118572A (en) 2022-07-28 2022-07-28 Server alarm adaptation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210900747.7A CN115118572A (en) 2022-07-28 2022-07-28 Server alarm adaptation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115118572A true CN115118572A (en) 2022-09-27

Family

ID=83334405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210900747.7A Pending CN115118572A (en) 2022-07-28 2022-07-28 Server alarm adaptation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115118572A (en)

Similar Documents

Publication Publication Date Title
US7043659B1 (en) System and method for flexible processing of management policies for managing network elements
US7113989B2 (en) Command line interface processor
US7076543B1 (en) Method and apparatus for collecting, aggregating and monitoring network management information
US20120246297A1 (en) Agent based monitoring for saas it service management
US20080098454A1 (en) Network Management Appliance
US8996668B2 (en) Method and system for storing configuration information for network nodes in a network management system
US20150081878A1 (en) Describing datacenter rack information in management system
CA2578957A1 (en) Agile information technology infrastructure management system
CN111464567B (en) Configuration method and device of attack and defense shooting range system and storage medium
US20060168322A1 (en) Network management apparatus and method for the configuration of network devices
CN103973487A (en) Configuration backup system based on interactive scripts and configuration management method
US20060235968A1 (en) Command line interface processor
EP3544330B1 (en) System and method for validating correctness of changes to network device configurations
US20040049575A1 (en) Electronic device monitoring method, electronic device, computer, and program thereof
CN111694707A (en) Small server cluster management system and method
US6944631B2 (en) Method and system for network configuration discovery
CN114244676A (en) Intelligent IT integrated gateway system
Safrianti et al. Real-time network device monitoring system with simple network management protocol (snmp) model
JP5181958B2 (en) Device management apparatus, device management system, device information acquisition program, and recording medium recording the program
US20060004832A1 (en) Enterprise infrastructure management appliance
EP2605145A1 (en) Method for finding communication devices connected to communication network, and management device
CN115118572A (en) Server alarm adaptation method, device, equipment and storage medium
US20030018780A1 (en) Method and apparatus for managing network devices
WO2002097651A1 (en) System and method for network management
JPH1131114A (en) Network remote managing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination