A.2.0.1 using the snmp utility, Using the snmp utility – Avago Technologies MegaRAID SATA 150-4 (523) User Manual
Page 17

Testing the Extension Agent with HP OpenView
A-3
Copyright © 1998-2003 by LSI Logic Corporation. All rights reserved.
Step 5.
Run the Microsoft SNMP Utility (SNMPUTIL.exe from the NT
Resource Kit CD or download it from the Microsoft web site.)
from an MS-DOS command prompt.
Step 6.
Query all of the available variables.
•
Walk the MIB Subtree
–
Verify walking the entire MIB subtree supported by the agent
without errors.
–
For each table object defined in the MIB, verify whether all the
entries within the table returned with correct value.
•
Operation with Other Agents
–
Issue GetNext with OIDs that fall lexicographically before the
OIDs supported by this agent and check if it returns the correct
variable.
Issue GetNext on the last variable in this agent’s subtree
correctly and check if it returns the next variable.
–
Issue GetNext with multiple OIDs and check if it returns correct
variables.
•
Settable Variables
–
Verify that any READ-WRITE variables can be set properly and
the values are stored persistently.
•
Octet String Variables
–
Verify octet string variables do not contain NULL terminator
character.
–
Verify octet string variables are returned with no garbage string
inserted.
A.2.0.1
Using the SNMP Utility
•
To use the snmputil.exe utility, refer to the corresponding MIB file
(Megaraid.mib) for the correct OIDs.
•
To WALK an entire table, e.g., logical drive table which is table
number 2, use the following command line.
snmputil walk host_ip_address public .1.3.6.1.4.1.3582.1.1.2
Here, 3582 is the enterprises id of the MegaRAID controller family. This
will print the entire Logical drive table and its values.