Article ID: 202183
Article Last Modified on 11/1/2006
APPLIES TO
- Microsoft Windows NT Server 4.0 Standard Edition
This article was previously published under Q202183
SYMPTOMS
The object ID (OID) for the memPercentCommittedBytesInUse memory counter does not return the correct value when you issue a Simple Network Management Protocol (SNMP) GET or WALK command. This value is the ratio of the Committed Bytes to the Commit Limit values.
STATUS
Microsoft has confirmed that this is a problem in Microsoft Windows NT Server 4.0.
MORE INFORMATION
You can create Performance Monitor objects using the Perfmib tools in the Microsoft Windows NT 4.0 Resource Kit. Use the following steps to create a Management Information Base (MIB), which exposes the Performance Monitor memory objects:
- At a command prompt, run the Perfmib.reg tool from the Windows NT 4.0 Resource Kit. This creates the appropriate registry entries for the Perfmib.dll extension agent.
- Build a Perfmib.mib file and a Perfmib.ini file using the Per2mib.exe tool from the Windows NT 4.0 Resource Kit. For example, at a command prompt, type the following command:
perf2mib perfmib.mib perfmib.ini memory 200 mem
- At a command prompt, stop the SNMP service by typing net stop snmp. (You can also stop the SNMP service using the Services tool in Control Panel.)
- Find the Mib.bin file in the System32 folder and rename it to Mib.old.
- Use the following steps to compile a new Mib.bin file (that includes the Perfmib.mib file created in step 2):
- At a command prompt, set the default folder to the Windows NT 4.0 Resource Kit folder (for example, type cd
ntreskit
, wherentreskit
is the Windows NT 4.0 Resource Kit folder). - Type the following command: mibcc -n o
ntreskit
\mib.bin -t -w2 smi.mib lmmib2.mib mib_ii.mib perfmib.mib
- At a command prompt, set the default folder to the Windows NT 4.0 Resource Kit folder (for example, type cd
- Copy the following files from the Windows NT 4.0 Resource Kit folder (
ntreskit
) to the System32 folder (%SystemRoot%\System32):- Mib.bin
- Perfmib.bin
- Perfmib.ini
- Perfmib.dll
- At a command prompt, start the SNMP service by typing net start snmp. (You can also start the SNMP service using the Services tool in Control Panel.)
- After you create the new MIB that contains the Performance Monitor memory objects, you can test it using the Snmputil.exe tool found in the Windows NT 4.0 Resource Kit. To test the MIB:
- At a command prompt, type cd
ntreskit
. This changes the default folder to the resource kit folder. - Use the Snmputil tool to walk the process OID tree. Type the following command:
snmputil walk localhost public .1.3.6.1.4.1.311.1.1.3.1.1.200.27.0
- At a command prompt, type cd
REFERENCES
For additional information, please read the following article in the Microsoft Knowledge Base: Q139488 - How to Setup Windows NT SNMP Performance Counter Agent Extension.
Keywords: kbbug kbpending KB202183