CN114020560A - Method and device for collecting monitoring data, storage medium and electronic equipment - Google Patents

Method and device for collecting monitoring data, storage medium and electronic equipment Download PDF

Info

Publication number
CN114020560A
CN114020560A CN202111223453.7A CN202111223453A CN114020560A CN 114020560 A CN114020560 A CN 114020560A CN 202111223453 A CN202111223453 A CN 202111223453A CN 114020560 A CN114020560 A CN 114020560A
Authority
CN
China
Prior art keywords
target
identifier
monitoring data
target monitoring
performance index
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
CN202111223453.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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN202111223453.7A priority Critical patent/CN114020560A/en
Publication of CN114020560A publication Critical patent/CN114020560A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The method can determine one or more object identifiers corresponding to the target monitoring performance index from a plurality of performance indexes corresponding to the target object type in a preset database through the target object type and the performance index to be monitored of the target monitoring object, and acquire target monitoring data corresponding to the performance index to be monitored of the target monitoring object through the one or more object identifiers.

Description

Method and device for collecting monitoring data, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for collecting monitoring data, a storage medium, and an electronic device.
Background
SNMP (Simple Network Management Protocol) is widely applied to the field of monitoring, operation and maintenance of Network devices as a preferred mode for acquiring performance indexes of the Network devices; generally, when a certain performance index of a certain network device is collected by an SNMP, an OID (Object Identifier) corresponding to the performance index of the network device needs to be used as an identity credential to complete effective collection of the performance index, generally, the OID of a network device is recorded in a MIB (Management Information Base) file corresponding to a corresponding network device model when the network device leaves a factory, MIB files corresponding to different network device models are different, and configurations of OIDs in the MIB files of different network device models are also different, so that OIDs of different network device models may be different.
In the process of acquiring performance indexes in the current SNMP implementation, an operation and maintenance person is usually required to search corresponding operation and maintenance software suitable for the network device according to a specific network device model (for example, the XX model of the XX switch) of the network device, and then acquire monitoring data of the network device through the operation and maintenance software. Because the network equipment models corresponding to each network equipment are various, the specific network equipment models for searching the network equipment cannot be found easily by all people, the time consumption for monitoring operation and maintenance is increased undoubtedly, the manpower threshold of the monitoring operation and maintenance platform is raised, and the operation and maintenance cost is not reduced favorably.
Disclosure of Invention
The purpose of the present disclosure is to provide a method, an apparatus, a storage medium and an electronic device for collecting monitoring data.
A first aspect of the present disclosure provides a method of collecting monitoring data, the method comprising:
acquiring a target object type to which a target monitoring object belongs;
determining one or more object identifiers corresponding to a target performance index from a preset database, wherein the target performance index is a performance index to be monitored of a target monitoring object in a plurality of performance indexes corresponding to the type of the target object; the preset database comprises first corresponding relations of different object types and performance indexes and second corresponding relations of each performance index and an object identifier;
and acquiring target monitoring data corresponding to the target performance index according to the one or more object identifiers.
Optionally, the acquiring, according to the one or more object identifiers, target monitoring data corresponding to the target performance index includes:
and acquiring target monitoring data corresponding to the target performance index in sequence according to each object identifier until the target monitoring data are acquired.
Optionally, the method further comprises:
under the condition that the target monitoring data are not collected according to the one or more object identifiers, acquiring an object identifier input by a user through a preset identifier adding interface;
and acquiring target monitoring data corresponding to the target performance index according to the object identifier input by the user.
Optionally, the method further comprises:
and outputting first preset alarm information, wherein the first preset alarm information is used for prompting a user to input the object identifier through the preset identifier adding interface.
Optionally, the method further comprises:
determining whether an identifier association relationship is cached, wherein the identifier association relationship comprises a corresponding relationship between an object identifier and the target monitoring object;
correspondingly, the determining one or more object identifiers corresponding to the target performance indexes from the preset database includes:
and under the condition that the identifier association relation is not cached, determining one or more object identifiers corresponding to the target performance index from the preset database.
Optionally, the method further comprises:
and under the condition that the identifier association relationship is determined to be cached, acquiring target monitoring data corresponding to the target performance index according to the object identifier corresponding to the target monitoring object in the identifier association relationship.
Optionally, the method further comprises:
and under the condition of collecting the target monitoring data, establishing an identifier association relation between the current object identifier and the target monitoring object, and caching the identifier association relation.
Optionally, the method further comprises:
receiving data updating parameters input by a user through a preset exception handling interface under the condition that the target monitoring data are determined to be preset exception data;
and updating the target monitoring data according to the data updating parameters.
Optionally, the method further comprises:
and outputting second preset alarm information, wherein the second preset alarm information is used for prompting a user to input the data updating parameters through a preset exception handling interface.
Optionally, the preset database is preset by:
acquiring one or more object types and one or more performance indexes;
obtaining one or more object identifiers;
establishing a corresponding relation between each object type and one or more performance indexes to obtain the first corresponding relation, and establishing a corresponding relation between each performance index and one or more object identifiers to obtain the second corresponding relation;
and obtaining the preset database according to the first corresponding relation and the second corresponding relation.
A second aspect of the present disclosure provides an apparatus for collecting monitoring data, the apparatus comprising:
the first acquisition module is used for acquiring the type of a target object to which the target monitoring object belongs;
the device comprises a first determining module, a second determining module and a monitoring module, wherein the first determining module is used for determining one or more object identifiers corresponding to target performance indexes from a preset database, and the target performance indexes are to-be-monitored performance indexes of a target monitoring object in a plurality of performance indexes corresponding to the type of the target object; the preset database comprises first corresponding relations of different object types and performance indexes and second corresponding relations of each performance index and an object identifier;
and the first acquisition module is used for acquiring the target monitoring data corresponding to the target performance index according to the one or more object identifiers.
Optionally, the first acquisition module is configured to:
and acquiring target monitoring data corresponding to the target performance index in sequence according to each object identifier until the target monitoring data are acquired.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring the object identifier input by the user through a preset identifier adding interface under the condition that the target monitoring data is not acquired according to the one or more object identifiers;
and the second acquisition module is used for acquiring target monitoring data corresponding to the target performance index according to the object identifier input by the user.
Optionally, the apparatus further comprises:
and the first output module is used for outputting first preset alarm information, and the first preset alarm information is used for prompting a user to input the object identifier through the preset identifier adding interface.
Optionally, the apparatus further comprises:
a second determining module, configured to determine whether an identifier association relationship is cached, where the identifier association relationship includes a correspondence between an object identifier and the target monitoring object;
a third collecting module, configured to collect, according to an object identifier corresponding to the target monitoring object in the identifier association, target monitoring data corresponding to the target performance index under a condition that the identifier association is determined to be cached;
correspondingly, the first determining module is configured to determine, from the preset database, one or more object identifiers corresponding to a target performance index when it is determined that the identifier association relationship is not cached.
Optionally, the apparatus further comprises:
and the cache module is used for establishing an identifier association relation between the current object identifier and the target monitoring object and caching the identifier association relation under the condition of acquiring the target monitoring data.
Optionally, the apparatus further comprises:
the receiving module is used for receiving data updating parameters input by a user through a preset exception handling interface under the condition that the target monitoring data are determined to be preset exception data;
and the updating module is used for updating the target monitoring data according to the data updating parameters.
Optionally, the apparatus further comprises:
and the second output module is used for outputting second preset alarm information, and the second preset alarm information is used for prompting a user to input the data updating parameters through a preset exception handling interface.
Optionally, the preset database is preset by:
acquiring one or more object types and one or more performance indexes; obtaining one or more object identifiers; establishing a corresponding relation between each object type and one or more performance indexes to obtain the first corresponding relation, and establishing a corresponding relation between each performance index and one or more object identifiers to obtain the second corresponding relation; and obtaining the preset database according to the first corresponding relation and the second corresponding relation.
A third aspect of the present disclosure provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the first aspect above.
A fourth aspect of the present disclosure provides an electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of the first aspect above.
According to the technical scheme, one or more object identifiers corresponding to the target performance index can be determined from the preset database according to the target object type and the performance index to be monitored of the target monitoring object, and the target monitoring data corresponding to the target performance index is acquired through the one or more object identifiers, so that in the operation and maintenance process of the network equipment, the specific network equipment model of the target monitoring object can be prevented from being manually searched, the time consumed by monitoring operation and maintenance is reduced, the manpower threshold of a monitoring operation and maintenance platform is reduced, the monitoring operation and maintenance efficiency can be effectively improved, and the operation and maintenance cost of the network equipment is reduced.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow chart illustrating a method of collecting monitoring data in accordance with an exemplary embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating a method of collecting monitoring data according to the embodiment shown in FIG. 1;
FIG. 3 is a flow chart illustrating another method of collecting monitoring data according to the embodiment shown in FIG. 1;
FIG. 4 is a flow chart illustrating yet another method of collecting monitoring data according to the embodiment shown in FIG. 1;
FIG. 5 is a flow chart illustrating a method of collecting monitoring data in accordance with another exemplary embodiment of the present disclosure;
FIG. 6 is a block diagram of an apparatus for collecting monitoring data according to an exemplary embodiment of the present disclosure;
FIG. 7 is a block diagram of an apparatus for collecting monitoring data according to the embodiment shown in FIG. 6;
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Before describing the embodiments of the present disclosure in detail, the following description is first made on an application scenario of the present disclosure, and the present disclosure may be applied to a process of acquiring a performance index of a network device, and a process of maintaining the performance of the network device according to the performance index, where the network device may be a computer, a switch, a bridge, a router, a gateway, a printer, a modem, or the like, and the performance index may be a CPU usage rate, a memory usage rate, a remaining memory count, an interface traffic, an interface receiving rate, an interface sending rate, or the like.
In the related art, an object identifier of a network device model is usually configured in each operation and maintenance software, during a performance index collection process, an operation and maintenance person needs to search the corresponding operation and maintenance software suitable for the network device according to a specific network device model (for example, the XX model of the XX switch) of the current network device to be monitored, and then collect monitoring data of the performance index of the network device through the operation and maintenance software. In the acquisition process of the monitoring data, operation and maintenance personnel are required to search for specific network equipment models of the network equipment, corresponding operation and maintenance software is searched according to the specific network equipment models, generally, one network equipment can be manufactured by a plurality of different manufacturers, the network equipment of each manufacturer can also comprise a plurality of models, therefore, the specific network equipment models of one network equipment can not be found by all people easily, the time consumed for monitoring operation and maintenance can be increased undoubtedly, the manpower threshold of the monitoring operation and maintenance platform can also be raised, and the operation and maintenance cost is not reduced favorably.
Moreover, when adding the object identifier of other network device models to the operation and maintenance software, the object identifier is usually added in the form of development plug-in or by adding corresponding codes (for example, adding corresponding logical branches through if else codes); however, the inventor finds that when the object identifier is added in the form of a plug-in, a specific network device model of the network device to be added needs to be searched first, and then the plug-in corresponding to the network device can be selected from the plug-ins corresponding to a plurality of different network device models according to the specific network device model to be added, so that the problems that the operation and maintenance time is prolonged, the staff threshold of the operation and maintenance platform is raised, and the operation and maintenance cost is not reduced are also caused. In addition, when the object identifiers of other network device models are added in a manner of adding corresponding codes, because the network device models are various, and the MIB files corresponding to different network device models are different, the difference of the MIB files means that the object identifiers for acquiring the performance indexes may be different, so that the addition of the object identifiers of different performance indexes of different network device models requires a large amount of code customization development work, and is also not beneficial to reducing the operation and maintenance cost.
In order to solve the technical problem, the present disclosure provides a method, an apparatus, a storage medium, and an electronic device for acquiring monitoring data, where the method determines one or more object identifiers from a preset database according to a target object type and a target performance index of a target monitoring object, and acquires target monitoring data corresponding to a to-be-monitored performance index of the target monitoring object according to the one or more object identifiers, so that a specific network device model of the target monitoring object can be avoided being manually searched in an operation and maintenance process of a network device, which is beneficial to reducing operation and maintenance time consumption, and reducing a man-in threshold of a monitoring operation and maintenance platform, thereby effectively improving operation and maintenance efficiency and reducing operation and maintenance costs of the network device.
Embodiments of the present disclosure are described in detail below with reference to specific examples.
FIG. 1 is a flow chart illustrating a method of collecting monitoring data in accordance with an exemplary embodiment of the present disclosure; as shown in fig. 1, the method may include the steps of:
step 101, obtaining a target object type to which a target monitoring object belongs.
The target monitoring object is a currently monitored network device, and the network device may be a computer, a switch, a hub, a bridge, a router, a gateway, a printer, a modem, a fiber transceiver, an optical cable, or the like. The target object type may be an upper level type to which the target monitoring object belongs, the upper level type may be an upper level type of the target monitoring object corresponding to the parity class, and the upper level type may be an upper level type, an upper level type or an upper level type.
It should be noted that the parity class corresponding to the target monitoring object is a class classified by a specific model, the class classified by a series is a higher-level class of the parity class, the class classified by a manufacturer belongs to a higher-level class of the parity class, and the class classified by an article type (for example, whether the article belongs to an exchange or not) belongs to a higher-level class of the parity class. For example, in the case that the target monitoring object is a switch of an SK-Q-w model, the SK-Q-w model represents a switch of a w model of a Q series of an SK manufacturer, and the target object type may be a switch (an upper three-layer type of the SK-Q-w model switch), an SK switch (an upper two-layer type of the SK-Q-w model switch) or a Q series switch (an upper one-layer type of the SK-Q-w model switch).
Step 102, determining one or more object identifiers corresponding to a target performance index from a preset database, where the target performance index is a performance index to be monitored of the target monitored object in a plurality of performance indexes corresponding to the type of the target object.
Wherein the preset database comprises first correspondences of different object types and performance indicators, and second correspondences of each performance indicator and the object identifier. The performance index may be CPU utilization, memory utilization, remaining memory count, interface traffic, interface receiving rate, interface sending rate, interface status, or packet loss rate.
In this step, the performance index corresponding to the target object type may be searched from the first corresponding relationship between different object types and performance indexes in the preset database, and the performance index to be monitored of the target monitored object may be determined from the performance index corresponding to the target object type.
For example, the preset database may include the contents shown in table 1 below:
Figure BDA0003313447930000091
Figure BDA0003313447930000101
TABLE 1
In table 1, the SK switch includes performance indexes such as CPU utilization, memory utilization, remaining memory count, and interface receiving rate, and the CPU utilization corresponds to 1.3.6.1.4.1.9.9.109.1.1.1.1.6; 1.3.6.1.4.1.9.9.109.1.1.1.1.3, respectively; 1.4.6.1.5.2.9.9.108.1.2.1.3.4, the memory usage rate corresponds to 1.4.2.9.9.107.1.1.1.1.6; 1.4.1.9.8.109.1.1.1.1.3, etc.; the remaining memory corresponds to 1.3.6.1.4.1.9.9; 109.1.1.1.1.61.3.6, respectively; 1.4.1.9.9.10, etc.; the interface receiving rate corresponds to 3.6.1.4.1.9.9.6; 3.6.1.4.1.9.9.3, respectively; 5.2.9.1.2.1.3.4, etc. Namely, the SK switch has a first corresponding relation with the performance indexes such as CPU utilization rate, memory utilization rate, residual memory number, interface receiving rate and the like, and the CPU utilization rate under the SK switch is 1.3.6.1.4.1.9.9.109.1.1.1.1.6; 1.3.6.1.4.1.9.9.109.1.1.1.1.3, respectively; 1.4.6.1.5.2.9.9.108.1.2.1.3.4, and the like, and the preset database also includes a first corresponding relationship between the QW switch, the AC switch, and the like, and the performance index, and a second corresponding relationship between each performance index in the QW switch, the AC switch, and the like, and the object identifier. Note that, in the preset database, there is a pass between adjacent object identifiers "; "Interval". When the target monitoring object is an SK-Q-w type switch and the performance index to be monitored is a CPU utilization, a plurality of performance indexes (CPU utilization, memory utilization, remaining memory count … … interface receiving rate) corresponding to the SK switch may be first searched from the table 1, and then the performance index to be monitored of the target monitoring object is determined from the plurality of performance indexes, so as to obtain the target performance index (CPU utilization), in the table 1, the CPU utilization of the SK switch is respectively equal to 1.3.6.1.4.1.9.9.109.1.1.1.1.6; 1.3.6.1.4.1.9.9.109.1.1.1.1.3, respectively; 1.4.6.1.5.2.9.9.108.1.2.1.3.4, etc., there is a second correspondence between object identifiers, and thus, 1.3.6.1.4.1.9.9.109.1.1.1.1.6; 1.3.6.1.4.1.9.9.109.1.1.1.1.3, respectively; 1.4.6.1.5.2.9.9.108.1.2.1.3.4, as the object identifier corresponding to the target performance indicator.
Step 103, collecting target monitoring data corresponding to the target performance index according to one or more object identifiers.
In this step, the target monitoring data corresponding to the target performance index may be collected in sequence according to each object identifier until the target monitoring data is collected. In the implementation process, the acquisition result corresponding to each object identifier corresponding to the target performance index can be acquired by executing the snmpwalk command.
For example, in the case that the target object type is an SK switch, the target performance index is CPU utilization, and the object identifier is 1.3.6.1.4.1.9.9.109.1.1.1.1.6, the snmpwalk command may be snmpwalk-v 2 c-c public 1.1.1.1.1.3.6.1.4.1.9.9.109.1.1.1.1.6, and the acquisition result of the snmpwalk command is 23. It should be noted that in the above snmp command, v2c is the version of snmp, 1.1.1.1 is the ip address of the current monitored object (e.g., SK-Q-w switch) being monitored, and c public is the group name of the current monitored object; in the case that the object identifier is 1.3.6.1.4.1.9.9.109.1.1.1.1.3, a snmpwalk command including the 1.3.6.1.4.1.9.9.109.1.1.1.1.3 may be generated, and the snmpwalk command is executed to obtain a corresponding acquisition result. When the CPU utilization of the SK-Q-w switch is collected, the CPU utilization of the target monitoring object may be sequentially collected according to the arrangement order of the object identifiers indicated by the CPU utilization of the SK switch in table 1 until the collected collection result is not empty, the target monitoring data is determined to be collected, and when the target monitoring data is determined to be collected, the target monitoring data is not collected by using other object identifiers.
According to the technical scheme, one or more object identifiers corresponding to the target performance index can be acquired from the preset database through the target object type of the target monitoring object, the target monitoring data corresponding to the target performance index are acquired through the one or more object identifiers, the specific network equipment model of the target monitoring object is prevented from being manually searched in the operation and maintenance process of the network equipment, the operation and maintenance time consumption is reduced, the manpower threshold of a monitoring operation and maintenance platform is reduced, the operation and maintenance efficiency can be effectively improved, and the operation and maintenance cost of the network equipment is reduced.
Alternatively, FIG. 2 is a flow chart illustrating a method of collecting monitoring data according to the embodiment shown in FIG. 1; as shown in fig. 2, after the above step 103, the method may further include the steps of:
and 104, acquiring the object identifier input by the user through a preset identifier adding interface under the condition that the target monitoring data is not acquired according to the one or more object identifiers.
In this step, it is determined that the target monitoring data is not collected according to the one or more object identifiers under the condition that the target monitoring data is not collected according to all the one or more object identifiers; and determining to acquire the target monitoring data according to the one or more object identifiers under the condition that the target monitoring data is acquired according to any one of the one or more object identifiers.
Illustratively, still taking the CPU utilization of the SK-Q-w switch as an example, the CPU utilization is sequentially passed through 1.3.6.1.4.1.9.9.109.1.1.1.1.6 in table 1; 1.3.6.1.4.1.9.9.109.1.1.1.1.3, respectively; 1.4.6.1.5.2.9.9.108.1.2.1.3.4, and the like, collects the CPU utilization rate of the SK-Q-w switch (different object identifiers are separated from each other), when the collection result corresponding to the current object identifier is empty, the current object identifier is updated according to the order of the object identifiers in the database, and the collection result corresponding to the updated current object identifier is obtained, until it is determined that the target monitoring data is not collected when the collection result corresponding to the current object identifier is determined to be non-empty or the current object identifier is the last object identifier.
In addition, in this step, the preset identifier adding interface may include a preset identifier adding window, which may be, for example, an input box or an option menu, through which the user may input the object identifier.
And 105, acquiring target monitoring data corresponding to the target performance index according to the object identifier input by the user.
According to the technical scheme, when the object identifier of the target monitoring object does not exist in the preset database, the object identifier of the target monitoring object is added through the preset identifier adding interface, so that convenience of adding the object identifier can be improved, and user experience is improved.
Optionally, the method described in fig. 2 above may further include:
and outputting first preset alarm information, wherein the first preset alarm information is used for prompting a user to input the object identifier through the preset identifier adding interface.
It should be noted that, under the condition that the target monitoring data is not acquired according to one or more object identifiers, the first preset warning information may be output first to prompt the user to input the object identifier through the preset identifier adding interface, where the first preset warning information may include a first website of the preset identifier adding interface, and the user may enter the preset identifier adding interface by clicking the first website; the first preset alarm information may further include a second website address for searching for the object identifier of the target monitoring object, and the user may click the second website address to obtain an MIB file of the target monitoring object and determine the corresponding object identifier through the MIB file.
Optionally, before the obtaining of the target object type to which the target monitoring object belongs in step 101 in fig. 1, the method may further include:
and determining whether an identifier association relationship is cached, wherein the identifier association relationship comprises a corresponding relationship between an object identifier and the target monitoring object.
Wherein, in a case that it is determined that the identifier association relationship is not cached, the method may execute the step 102 of determining one or more object identifiers corresponding to the target performance index from the preset database; under the condition that the identifier association relationship is determined to be cached, target monitoring data corresponding to the target performance index can be collected according to the object identifier corresponding to the target monitoring object in the identifier association relationship.
Optionally, the method described in fig. 1 and 2 above may further include:
and under the condition of collecting the target monitoring data, establishing an identifier association relation between the current object identifier and the target monitoring object, and caching the identifier association relation.
It should be noted that the target monitoring data collected in this step may be the target monitoring data collected according to one or more object identifiers corresponding to the target performance indexes in the preset database when the step 103 is executed; or the target monitoring data collected according to the object identifier input by the user when the above step 105 is executed. Therefore, under the condition that the identifier association relationship is determined to be cached, the target monitoring data can be acquired through the object identifier corresponding to the target monitoring object in the identifier association relationship, the phenomenon that the object identifier input by a user is acquired again and the target monitoring data corresponding to the target performance index is acquired again sequentially according to each object identifier in one or more object identifiers in the preset database can be avoided, and therefore the acquisition efficiency of the target monitoring data can be effectively improved.
Alternatively, FIG. 3 is a flow chart illustrating another method of collecting monitoring data according to the embodiment shown in FIG. 1; as shown in fig. 3, the method may further include the steps of:
and 106, receiving data updating parameters input by a user through a preset exception handling interface under the condition that the target monitoring data are determined to be preset exception data.
The preset abnormal data may include values of interface traffic, disk usage, memory, and the like smaller than 0, that is, when it is determined that target monitoring data corresponding to the interface traffic, the disk usage, the memory, and the like are negative numbers, the target monitoring data is determined to be preset abnormal data.
In addition, the data update parameter may include an abnormal data update expression, and may also include an index unit update parameter, for example, the index unit update parameter may be KB, GB, TB, percentage, or the like.
It should be noted that the preset exception handling interface and the preset identifier adding interface may be the same interface or may be two different interfaces, an input window of the exception data update expression and an input window of the unit update parameter may be preset in the preset exception handling interface, and the preset exception handling interface may further include a name display window of the performance index and an object identifier adding window in the case that the preset exception handling interface and the preset identifier adding interface are the same interface.
For example, in the case that the interface traffic is a negative number, the user may input the abnormal data update expression through an input window of the abnormal data update expression in the preset abnormal processing interface: 232Lastvalue + value, in case the disk usage is negative, the user may input the abnormal data update expression through the input window of the abnormal data update expression: 232+ value, where lastvalue is the previous acquisition value and value is the current acquisition value. In addition, when the user needs to specify that the index unit of the output target monitoring data is GB, the index unit GB can be input through the input window of the unit update parameter, thereby completing the specification of the index unit.
And step 107, updating the target monitoring data according to the data updating parameters.
Illustratively, the data update parameter includes an abnormal data update expression (e.g., 2)32-lastvalue + value or 232+ value), substituting the current target monitoring data value into the abnormal data updating expression to calculate and obtain updated target monitoring data; when the data update parameter includes an index unit update parameter GB (KB or TB), the current target monitoring data is enteredThe line unit is converted to obtain target monitoring data in units of GB (KB or TB).
According to the technical scheme, the collected target monitoring data can be subjected to exception handling, and the target monitoring data can be displayed according to the index unit appointed by the user, so that the user experience can be effectively improved.
Optionally, the method described in fig. 3 above may further include:
and outputting second preset alarm information, wherein the second preset alarm information is used for prompting a user to input the data updating parameters through a preset exception handling interface.
It should be noted that, when it is determined that the target monitoring data is the preset abnormal data, the second preset alarm information may be output, where the second preset alarm information may include a third website of the preset abnormal processing interface, and the user enters the preset abnormal processing interface by clicking the third website.
Optionally, fig. 4 is a flowchart of another method for collecting monitoring data according to the embodiment shown in fig. 1, and as shown in fig. 4, before step 101 shown in fig. 1, the method may further perform presetting of a preset database by:
step 108, one or more object types and one or more performance indicators are obtained.
The object type may include a switch, a computer, a bridge, a router, a gateway, a printer, etc., or may be an SK switch, a QW switch, an AC switch, an RG switch, etc., and the performance index may be a CPU utilization rate, a memory utilization rate, a remaining memory count, an interface traffic, an interface receiving rate, an interface sending rate, or a packet loss rate, etc.
One or more object identifiers are obtained, step 109.
Even if the monitored objects of different network device models aim at the same performance index, the object identifiers may be different, and the object identifiers corresponding to different performance indexes of the same network device model are also different, for example, 1.3.6.1.4.1.9.9.109.1.1.1.1.6 is only suitable for collecting the CPU usage of a switch of a certain model (for example, SK-Q-w model), oid of the CPU usage of switches of other models may be other identifiers different from 1.3.6.1.4.1.9.9.109.1.1.1.1.6, for example, oid of the CPU usage of a model switch is 1.3.6.1.4.1.9.9.109.1.1.1.1.3, oid of the CPU usage of a model switch is 1.4.6.1.5.2.9.9.108.1.2.1.3.4, oid of the memory usage of a model switch is 218.1.4.1.7.4, and the like.
Step 110, establishing a corresponding relationship between each object type and the one or more performance indicators to obtain the first corresponding relationship, and establishing a corresponding relationship between each performance indicator and one or more object identifiers to obtain the second corresponding relationship.
For example, a first corresponding relationship may be established between the SK switch and performance indexes such as CPU utilization, memory utilization, remaining memory count, and interface receiving rate, and the CPU utilization under the SK switch may be respectively 1.3.6.1.4.1.9.9.109.1.1.1.1.6; 1.3.6.1.4.1.9.9.109.1.1.1.1.3, respectively; 1.4.6.1.5.2.9.9.108.1.2.1.3.4, and the like, first correspondences of other object types to one or more of the performance indicators and second correspondences of other performance indicators to one or more of the object identifiers may be established.
And step 111, obtaining the preset database according to the first corresponding relationship and the second corresponding relationship.
The preset database formed in this step may include the first corresponding relationship and the second corresponding relationship, and the preset database may exist in a table form, and may include the contents shown in table 1 above, for example.
In the above technical solution, since the preset database may include a plurality of object identifiers, the application range of the operation and maintenance monitoring system may be effectively expanded, and since the preset database has a first corresponding relationship between each object type and one or more performance indexes, and a second corresponding relationship between each performance index and one or more object identifiers, one or more object identifiers may be obtained from the preset database through a target object type corresponding to a target monitored object and a target performance index of the target monitored object, and target monitoring data corresponding to the target performance index of the target monitored object may be collected according to the one or more object identifiers, so as to avoid manually searching for a specific network device model of the target monitored object, and thereby effectively reduce operation and maintenance time consumption, the operation and maintenance efficiency is improved, the manpower threshold of the monitoring operation and maintenance platform can be reduced, and the operation and maintenance cost of the network equipment is reduced.
FIG. 5 is a flow chart illustrating a method of collecting monitoring data in accordance with another exemplary embodiment of the present disclosure; as shown in fig. 5, the method may include the steps of:
step 501, obtaining a target object type to which a target monitoring object belongs.
The target monitoring object is a currently monitored network device, and the network device may be a computer, a switch, a hub, a bridge, a router, a gateway, a printer, a modem, a fiber transceiver, an optical cable, or the like. The target object type may be an upper level type to which the target monitoring object belongs, and the upper level type may be an upper level type of the parity class corresponding to the target monitoring object.
Step 502, determine whether there is an identifier association cached.
The identifier association relationship comprises an object identifier corresponding to the target monitoring object which is cached under the condition that target monitoring data corresponding to the target monitoring object is acquired within historical time.
In this step, when it is determined that the identifier association is cached, step 203 is executed;
in the case where it is determined that the identifier association is not cached, steps 204 to 206 are performed.
Step 503, collecting target monitoring data corresponding to the target performance index according to the object identifier corresponding to the target monitoring object in the identifier association relationship.
Through the above steps 502 to 503, the target monitoring data can be acquired through the object identifier corresponding to the target monitoring object in the identifier association relationship under the condition that the identifier association relationship is determined to be cached, so that the acquisition efficiency of the target monitoring data can be effectively improved.
Step 504, determining one or more object identifiers corresponding to a target performance index from the preset database, where the target performance index is a performance index to be monitored of the target monitoring object in the multiple performance indexes corresponding to the target object type.
Wherein, the preset database can be preset in the following way:
acquiring one or more object types and one or more performance indexes; obtaining one or more object identifiers; establishing a corresponding relation between each object type and one or more performance indexes to obtain a first corresponding relation, and establishing a corresponding relation between each performance index and one or more object identifiers to obtain a second corresponding relation; and obtaining the preset database according to the first corresponding relation and the second corresponding relation.
It should be noted that the preset database may be generated locally through the above steps, or may be imported locally after being generated on other devices, which is not limited in this disclosure.
And 505, acquiring target monitoring data corresponding to the target performance index according to each object identifier in sequence.
Through the steps 504 to 505, the target monitoring data corresponding to the target performance index is collected, so that the situation that a specific network equipment model is manually searched can be effectively avoided, time consumed by operation and maintenance is reduced, and a man-using threshold for monitoring the operation and maintenance platform is reduced, so that the operation and maintenance efficiency can be improved, and the operation and maintenance cost of the network equipment is reduced.
Step 506, determining whether the target monitoring data is collected according to the one or more object identifiers.
Wherein, in the case that the target monitoring data is collected according to any one of the one or more object identifiers, it is determined that the target monitoring data is collected according to the one or more object identifiers; and determining that the target monitoring data is not acquired according to the one or more object identifiers under the condition that the target monitoring data is not acquired according to all the one or more object identifiers.
In this step, under the condition that it is determined that the target monitoring data is collected according to the one or more object identifiers, step 507 is executed;
in case the target monitoring data is not collected according to the one or more object identifiers, steps 508 to 510 are performed.
Step 507, establishing an identifier association relationship between the current object identifier and the target monitoring object, and caching the identifier association relationship.
Through the above steps 506 to 507, in the case that it is determined that the target monitoring data is acquired according to the current object identifier in the one or more object identifiers, an identifier association between the current object identifier and the target monitoring object is established, and the identifier association is cached, so that the identifier association is directly called in the next acquisition cycle, the target monitoring data is acquired according to the object identifier in the identifier association, the acquisition time of the target monitoring data can be effectively reduced, and the operation and maintenance monitoring efficiency is improved.
And step 508, outputting first preset alarm information.
The first preset alarm information is used for prompting a user to input the target object identifier through the preset identifier adding interface.
In step 509, the object identifier input by the user through the preset identifier adding interface is obtained.
For example, after the user inputs the target object identifier through the preset identifier adding interface, an identifier adding instruction including the target object identifier input by the user through the preset identifier adding interface may be generated by clicking buttons of "submit", "determine", and the like in the preset identifier adding interface.
Step 510, collecting target monitoring data corresponding to the target performance index according to the object identifier input by the user.
Through the steps 508 to 510, when the object identifier of the target monitoring object does not exist in the preset database, the object identifier of the target monitoring object is added through the preset identifier adding interface, so that the object identifier can be conveniently expanded, and the user experience can be improved.
Step 511, determining whether the target monitoring data corresponding to the target performance index is acquired according to the object identifier input by the user.
In this step, under the condition that the acquisition value corresponding to the target performance index acquired according to the object identifier input by the user is not null, target monitoring data corresponding to the target performance index is determined to be acquired; and under the condition that the acquisition value corresponding to the target performance index acquired according to the object identifier input by the user is empty, determining that the target monitoring data corresponding to the target performance index is not acquired.
In case it is determined that the target monitoring data is collected according to the target object identifier, performing step 512 and step 513;
in the event that the targeted monitoring data is not collected based on the targeted object identifier, step 508 is performed again.
Step 512, an identifier association relationship between the object identifier input by the user and the target monitoring object is established.
For example, if the object identifier input by the user through the preset identifier adding interface is "1.3.6.1.4.1.9.9.109.1.1.1.1.3" and data with a non-empty target performance index is collected according to 1.3.6.1.4.1.9.9.109.1.1.1.1.6, an identifier association relationship between the target monitoring object and 1.3.6.1.4.1.9.9.109.1.1.1.1.6 is generated, and the identifier association relationship is cached in the preset caching module.
Through the steps 511 to 512, in the case that it is determined that the target monitoring data corresponding to the target performance index is acquired according to the object identifier input by the user, the identifier association between the object identifier input by the user and the target monitoring object is established, and the identifier association is cached, so that the identifier association is directly called in the next acquisition period, the target monitoring data is acquired according to the object identifier input by the user, and the acquisition efficiency of the target monitoring data can be effectively improved.
In step 513, it is determined whether the target monitoring data is preset abnormal data.
The preset abnormal data may be a value smaller than 0, that is, the interface flow and the usage amount of the disk are represented as negative numbers.
It should be noted that the target monitoring data may be the target monitoring data collected in step 503, the target monitoring data collected in step 505, or the target monitoring data collected in step 510.
In this step, step 514 is executed if it is determined that the target monitoring data is the preset abnormal data, and step 517 is executed if it is determined that the target monitoring data is the non-preset abnormal data.
And 514, outputting second preset alarm information.
The second preset alarm information is used to prompt the user to input the data update parameter through a preset exception handling interface, where the data update parameter may include an exception data update expression, and may also include an index unit update parameter, for example, the index unit update parameter may be KB, GB, TB, percentage, or the like.
Step 515, receiving data update parameters input by a user through a preset exception handling interface.
The preset exception handling interface and the preset identifier adding interface may be the same interface or two different interfaces, which is not limited in this disclosure.
In addition, an input window of the abnormal data update expression and an input window of the unit update parameter may be preset in the preset abnormal processing interface, and the preset abnormal processing interface may further include a name display window of the performance index and an object identifier addition window in a case where the preset abnormal processing interface and the preset identifier addition interface are the same interface.
For example, still taking the CPU utilization of the SK switch as an example, after the user adds the object identifier and the data update parameter through the preset identifier adding interface, the system may generate the following XML-formatted file: < metric name ═ cpuuage "units ═ percentage" configurations ═ expression ═ 1.3.6.1.4.1.9.9.109.1.1.1.1.6; 1.3.6.1.4.1.9.9.109.1.1.1.1.3, ex presidentType ═ avg "> </metric >, wherein the operation and maintenance monitoring system will extract the part (e.g. oid expression, index unit) and the performance index name that are opened in the xml and editable to the user, so as to obtain the corresponding parameter, for example, by extracting the parameter from the above procedure, it can obtain: the performance index names are: the CPU utilization rate and the index unit are as follows: percent, oid is expressed as: 1.3.6.1.4.1.9.9.109.1.1.1.1.6, respectively; 1.3.6.1.4.1.9.9.109.1.1.1.1.3.
step 516 updates the target monitoring data according to the data update parameter.
Through the steps 513 to 516, the collected target monitoring data can be subjected to exception processing, and the target monitoring data of the corresponding index unit can be generated according to the user requirement, so that the user experience can be effectively improved.
And 517, outputting the target monitoring data.
According to the technical scheme, one or more object identifiers corresponding to the target performance index can be acquired from a preset database through the target object type of the target monitoring object and the performance index to be monitored, target monitoring data corresponding to the target performance index are acquired through the one or more object identifiers, the specific network equipment model of the target monitoring object is avoided being manually searched in the operation and maintenance process of network equipment, the operation and maintenance time consumption is reduced, the manpower threshold of a monitoring operation and maintenance platform is reduced, the operation and maintenance efficiency can be effectively improved, and the operation and maintenance cost of the network equipment is reduced.
FIG. 6 is a block diagram of an apparatus for collecting monitoring data according to an exemplary embodiment of the present disclosure; as shown in fig. 6, the apparatus may include:
a first obtaining module 601, configured to obtain a target object type to which a target monitoring object belongs;
a first determining module 602, configured to determine, from a preset database, one or more object identifiers corresponding to a target performance index, where the target performance index is a to-be-monitored performance index of a target monitoring object in multiple performance indexes corresponding to a type of the target object; the preset database comprises first corresponding relations of different object types and performance indexes and second corresponding relations of each performance index and an object identifier;
the first collecting module 603 is configured to collect target monitoring data corresponding to the target performance index according to one or more object identifiers.
According to the technical scheme, one or more object identifiers corresponding to the target performance index can be acquired from the preset database through the target object type of the target monitoring object and the performance index to be monitored, the target monitoring data corresponding to the target performance index are acquired through the one or more object identifiers, the specific network equipment model of the target monitoring object is avoided being searched in the operation and maintenance process of the network equipment, the operation and maintenance time consumption is reduced, the manpower threshold of the monitoring operation and maintenance platform is reduced, the operation and maintenance efficiency can be effectively improved, and the operation and maintenance cost of the network equipment is reduced.
Optionally, the first acquisition module 603 is configured to:
and acquiring target monitoring data corresponding to the target performance index in sequence according to each object identifier until the target monitoring data is acquired.
Alternatively, fig. 7 is a block diagram of an apparatus for collecting monitoring data according to the embodiment shown in fig. 6; as shown in fig. 7, the apparatus may further include:
a second obtaining module 604, configured to obtain an object identifier input by a user through a preset identifier adding interface when the target monitoring data is not collected according to one or more object identifiers;
a second collecting module 605, configured to collect target monitoring data corresponding to the target performance index according to the object identifier input by the user.
Optionally, the apparatus further comprises:
a first output module 606, configured to output first preset warning information, where the first preset warning information is used to prompt a user to input an object identifier through the preset identifier adding interface.
Optionally, the apparatus further comprises:
a second determining module 607, configured to determine whether an identifier association relationship is cached, where the identifier association relationship includes a correspondence between an object identifier and the target monitoring object;
correspondingly, the first determining module is configured to determine, from the preset database, one or more object identifiers corresponding to the target performance index when it is determined that the identifier association relationship is not cached.
Optionally, the apparatus further comprises:
a third collecting module 608, configured to collect, under the condition that the identifier association relationship is determined to be cached, target monitoring data corresponding to the target performance index according to the object identifier corresponding to the target monitoring object in the identifier association relationship.
Optionally, the apparatus further comprises:
the caching module 609 is configured to establish an identifier association relationship between a current object identifier and the target monitoring object and cache the identifier association relationship under the condition that the target monitoring data is acquired.
Optionally, the apparatus further comprises:
a receiving module 610, configured to receive a data update parameter input by a user through a preset exception handling interface when it is determined that the target monitoring data is preset exception data;
the updating module 611 is configured to update the target monitoring data according to the data updating parameter.
Optionally, the apparatus further comprises:
a second output module 612, configured to output a second preset alarm message when it is determined that the target monitoring data is the preset abnormal data, where the second preset alarm message is used to prompt a user to input the data update parameter through a preset abnormal processing interface.
Optionally, the preset database is preset by:
acquiring one or more object types and one or more performance indexes; obtaining one or more object identifiers; establishing a corresponding relation between each object type and one or more performance indexes to obtain a first corresponding relation, and establishing a corresponding relation between each performance index and one or more object identifiers to obtain a second corresponding relation; and obtaining the preset database according to the first corresponding relation and the second corresponding relation.
According to the technical scheme, one or more object identifiers corresponding to the target performance index can be determined from a plurality of performance indexes corresponding to the target object type in the preset database according to the target object type and the performance index to be monitored, and the target monitoring data corresponding to the target performance index is acquired through the one or more object identifiers, so that the specific network equipment model of the target monitoring object can be prevented from being manually searched in the operation and maintenance process of the network equipment, the time consumption for monitoring operation and maintenance is reduced, the manpower threshold of a monitoring operation and maintenance platform is reduced, the monitoring operation and maintenance efficiency can be effectively improved, and the operation and maintenance cost of the network equipment is reduced.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment. As shown in fig. 8, the electronic device 800 may include: a processor 801, a memory 802. The electronic device 800 may also include one or more of a multimedia component 803, an input/output (I/O) interface 804, and a communications component 805.
The processor 801 is configured to control the overall operation of the electronic device 800, so as to complete all or part of the steps in the above-described method for collecting monitoring data. The memory 802 is used to store various types of data to support operation at the electronic device 800, such as instructions for any application or method operating on the electronic device 800 and application-related data, such as contact data, transmitted and received messages, pictures, audio, video, and so forth. The Memory 802 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia components 803 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 802 or transmitted through the communication component 805. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the electronic device 800 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding Communication component 805 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic Device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described method for collecting monitoring data.
In another exemplary embodiment, a computer readable storage medium comprising program instructions for implementing the steps of the above-described method of collecting monitoring data when executed by a processor is also provided. For example, the computer readable storage medium may be the memory 802 described above that includes program instructions that are executable by the processor 801 of the electronic device 800 to perform the method described above for collecting monitoring data.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (10)

1. A method of collecting monitoring data, the method comprising:
acquiring a target object type to which a target monitoring object belongs;
determining one or more object identifiers corresponding to a target performance index from a preset database, wherein the target performance index is a performance index to be monitored of a target monitoring object in a plurality of performance indexes corresponding to the type of the target object; the preset database comprises first corresponding relations of different object types and performance indexes and second corresponding relations of each performance index and an object identifier;
and acquiring target monitoring data corresponding to the target performance index according to the one or more object identifiers.
2. The method of claim 1, wherein collecting target monitoring data corresponding to the target performance metric according to the one or more object identifiers comprises:
and acquiring target monitoring data corresponding to the target performance index in sequence according to each object identifier until the target monitoring data are acquired.
3. The method of claim 1, further comprising:
under the condition that the target monitoring data are not collected according to the one or more object identifiers, acquiring an object identifier input by a user through a preset identifier adding interface;
and acquiring target monitoring data corresponding to the target performance index according to the object identifier input by the user.
4. The method of claim 1, further comprising:
determining whether an identifier association relationship is cached, wherein the identifier association relationship comprises a corresponding relationship between an object identifier and the target monitoring object;
under the condition that the identifier association relationship is determined to be cached, acquiring target monitoring data corresponding to the target performance index according to the object identifier corresponding to the target monitoring object in the identifier association relationship;
correspondingly, the determining one or more object identifiers corresponding to the target performance indexes from the preset database includes:
and under the condition that the identifier association relation is not cached, determining one or more object identifiers corresponding to the target performance index from the preset database.
5. The method of claim 1, further comprising:
and under the condition of collecting the target monitoring data, establishing an identifier association relation between the current object identifier and the target monitoring object, and caching the identifier association relation.
6. The method of claim 1, further comprising:
receiving data updating parameters input by a user through a preset exception handling interface under the condition that the target monitoring data are determined to be preset exception data;
and updating the target monitoring data according to the data updating parameters.
7. The method according to any one of claims 1 to 6, characterized in that the preset database is preset by:
acquiring one or more object types and one or more performance indexes;
obtaining one or more object identifiers;
establishing a corresponding relation between each object type and one or more performance indexes to obtain the first corresponding relation, and establishing a corresponding relation between each performance index and one or more object identifiers to obtain the second corresponding relation;
and obtaining the preset database according to the first corresponding relation and the second corresponding relation.
8. An apparatus for collecting monitoring data, the apparatus comprising:
the first acquisition module is used for acquiring the type of a target object to which the target monitoring object belongs;
the device comprises a first determining module, a second determining module and a monitoring module, wherein the first determining module is used for determining one or more object identifiers corresponding to target performance indexes from a preset database, and the target performance indexes are to-be-monitored performance indexes of a target monitoring object in a plurality of performance indexes corresponding to the type of the target object; the preset database comprises first corresponding relations of different object types and performance indexes and second corresponding relations of each performance index and an object identifier;
and the first acquisition module is used for acquiring the target monitoring data corresponding to the target performance index according to the one or more object identifiers.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 7.
CN202111223453.7A 2021-10-20 2021-10-20 Method and device for collecting monitoring data, storage medium and electronic equipment Pending CN114020560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111223453.7A CN114020560A (en) 2021-10-20 2021-10-20 Method and device for collecting monitoring data, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111223453.7A CN114020560A (en) 2021-10-20 2021-10-20 Method and device for collecting monitoring data, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114020560A true CN114020560A (en) 2022-02-08

Family

ID=80056996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111223453.7A Pending CN114020560A (en) 2021-10-20 2021-10-20 Method and device for collecting monitoring data, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114020560A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115914033A (en) * 2022-11-24 2023-04-04 中兴系统技术有限公司 Method and device for monitoring equipment information, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115914033A (en) * 2022-11-24 2023-04-04 中兴系统技术有限公司 Method and device for monitoring equipment information, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10484265B2 (en) Dynamic update of virtual network topology
CN107204894A (en) The monitoring method and device of network servicequality
EP2723117B1 (en) Managed unit device, self-optimization method and system
CN112055062B (en) Data communication method, device, equipment and readable storage medium
CN111586678A (en) Electric power communication wireless private network operation and maintenance supporting platform
WO2021143483A1 (en) System maintenance method and apparatus, device, and storage medium
CN112822053B (en) SNMP-based link layer network topology structure discovery method and system
CN104202814B (en) It is a kind of to realize information from method, terminal, server and the system registered
CN104125094A (en) System and method for processing communication network faults of State Grid Corporation of China
CN106709057A (en) Distributed cluster visualized database
CN111884832A (en) Method for acquiring passive network topology information and related equipment
CN114020560A (en) Method and device for collecting monitoring data, storage medium and electronic equipment
CN115914033A (en) Method and device for monitoring equipment information, electronic equipment and storage medium
CN103812688A (en) Alarm determining method and device
CN108280763A (en) Stock market data processing method and relevant device
CN108805462A (en) The method and device of distribution Risk-warning, storage medium, processor
CN114422404A (en) Flow statistical method, device, equipment and storage medium
CN112769923A (en) Method, device and storage medium for monitoring network equipment performance index in big data scene
CN104104526A (en) Network logging-on behavior monitoring method, device and system
US9077612B2 (en) Method for managing configuration information of an outsourced part, and method and system for managing an alarm of an outsourced part
CN111464357A (en) Resource allocation method and device
CN111371602B (en) Alarm information processing method and equipment
CN111181759B (en) Method, device, equipment and storage medium for identifying abnormality of network equipment
CN115348161A (en) Log alarm information generation method and device, electronic equipment and storage medium
CN111061795B (en) Data processing method and device, intelligent terminal and storage medium

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