Method and system for realizing automatic detection for simple network managing protocol agent
A simple network management and automated testing technology, applied in the field of network management, can solve problems such as inability to monitor network equipment anomalies, automation blind spots, inability to implement equipment information comparison and stress testing, and achieve the effect of anomaly monitoring
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] This embodiment illustrates how to use the technical solution of the present invention to realize abnormality monitoring in Agent automated testing.
[0037] FIG. 1 is a schematic flowchart of a method for implementing automated testing of an SNMP agent in Embodiment 1 of the present invention. Referring to Figure 1, the method pre-sets the basic use case data for Agent testing, and the method also includes the following steps:
[0038] Step 101: Setting test parameters and abnormal monitoring objects.
[0039] In this step, the set test parameters at least include: the IP address of the network device under test, the root object identifier (OID) of the MIB node under test in the network device under test, the MIB source file address and topology information under test, and simultaneously It may include parameters for selecting test cases, test version parameters, log file address parameters, configuration file parameters corresponding to topology information, command ...
Embodiment 2
[0066] FIG. 2 is a schematic flowchart of a method for implementing automated testing of SNMP agents in Embodiment 2 of the present invention. On the basis of the technical solution described in Example 1, the technical solution of this embodiment adds some operational steps for stress testing, see Figure 2, the method includes the following steps:
[0067] Step 201: Set test parameters and abnormal monitoring objects.
[0068] In addition to the parameters described in the first embodiment, the test parameters set in this embodiment also need to include the parameter of the number of cycles.
[0069] In this step, a unified cycle number parameter can be set for all basic use case data or all test cases to be tested, or a respective cycle number parameter can be set for each test case to be tested. When performing a stress test, this parameter is used to judge whether the number of cycles has reached the preset number.
[0070] In step 202 and step 203, perform operations si...
Embodiment 3
[0082] The test of the device information comparison function added in this embodiment may be based on the technical solution described in Embodiment 1, or may be based on the technical solution described in Embodiment 2. Let's take Embodiment 1 as an example to illustrate
[0083] In this embodiment, on the basis of the technical solution described in the first embodiment, the comparison use case data is set in advance, and when the test parameters are set in step 101, the parameters for selecting the comparison use case are further set.
[0084] The comparison use case data set in this embodiment includes commands that need to be sent to the network device under test during the comparison, and processing parameters for returning information to the network device under test.
[0085] The set parameters for selecting and comparing use cases can be used to determine the use cases to be compared in the comparison use case data; here, the use cases to be compared refer to the use...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com