SNMP monitoring method, server and SNMP monitoring system

A server and monitoring information technology, applied in the server field, can solve problems such as inability to obtain device data, achieve the effect of streamlining SNMP tables and preventing memory leaks

Inactive Publication Date: 2017-12-22
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But once the hardware of the server is dynamically added and removed, the SNMP table cannot obtain the data of the changed device

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • SNMP monitoring method, server and SNMP monitoring system
  • SNMP monitoring method, server and SNMP monitoring system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0025] The embodiment of the present invention discloses a kind of SNMP monitoring method, see figure 1 As shown, the method includes:

[0026] Step S11: pre-setting the monitoring information of the monitoring object in the SNMP table.

[0027] Specifically, use the monitoring information of the monitoring object input in advance by the user to pre-set the monitoring information of the monitoring object in the SNMP table, so that the SNMP table can monitor t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an SNMP monitoring method, a server and an SNMP monitoring system. The method comprises the steps of presetting monitoring information of monitored objects of an SNMP table; in an SNMP table traversing process, when a pointer points to a header of the SNMP table, creating a corresponding entry link table for each current monitored object; and when the traversal of the SNMP table is finished each time, emptying the entry link tables in the SNMP table. By presetting the monitoring information of the monitored objects of the SNMP table, the SNMP table can obtain data of the monitored objects; a premise is provided for dynamically obtaining entry of the monitored objects subsequently; by enabling the pointer to point to the header of the SNMP table in each SNMP table traversing process, the corresponding entry link table is created for each current monitored object, so that the entry link table of each monitored object which is not removed and still runs currently can be dynamically created; and meanwhile, when the traversal of the SNMP table is finished each time, the entry link tables in the SNMP table are emptied, so that memory leakage is prevented and the SNMP table can be simplified.

Description

technical field [0001] The invention relates to the field of servers, in particular to an SNMP monitoring method, a server and an SNMP monitoring system. Background technique [0002] In the server field, we often use the SNMP protocol to monitor the running status of the server. The SNMP service can obtain real-time data of the monitored device through commands to determine whether the current server is running in a normal state. Before SNMP works, the developer configures the device to be monitored into the SNMP MIB file, and then according to the configured node number, the working value of the device can be obtained. [0003] In the prior art, when using the SNMP table, generally, the initialization function of the table is first called, and in the initialization function, the header index of the table is defined, and the processing function of the table is defined at the same time. After the definition of the table is completed, the entry of the table will be added, e...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/30H04L12/24
CPCG06F11/3055G06F11/3058H04L41/0213
Inventor 邹虎
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products