Who answers these? I've posted 3 simple message that have gone unanswered for a week. HELP PLEASE!!!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I apologize for my frustration but the documentation on this is very vague and I can't get answers anywhere. This should be a simple thing to do but it doesn't seem to be. Here is the problem. I implemented SNMP on a windows2000 server. I am able to pull network stats from it but I want to monitor cpu and memory and maybe disk. I have seen that these selections are not part of the basic installation but are part of the resource kit. I don't want to install the whole res kit just the snmp parts. Where are they in the res kit what selections do I need to make and what do I have to do afterwards. I have installed most of the res kit and I still dont see a new mib and I cant poll the cpu usage. what are the OID's for cpu and memory or where is the documentation for whatever additional mib is loaded by the res kit. I have to admit MS's documentation on snmp is very poor at best. I would apreciate any help someone could give me thanks...
 
Hi,


I would recommend to use Performance monitor to get CPU and Memory
utilization information
However for SNMP maybe this information could help you

1) NOTE: You must have the SNMP Service installed on the system you are
running
the snmputil. Check Services to be sure the following are running:

SNMP Service

SNMP Trap Service



If these services are not running or installed (the SNMP service will
install
both at the same time), then go to Start - Settings - Control Panel -
Add/Remove Programs - Add/Remove Windows Components. Click on Management
and
Monitoring Tools - Details and place a check mark next to Simple Network
Management Protocol. You will need your Windows 2000 cab files to install
the
protocol. Reboot.



From a commmand window in 2000:



Type an SNMP command and use the following OID information for the results
you
are seeking.



The OID Tree: .1.3.6.1.4.1.311.1.1.3.1.1.(##)

Memory (1)

CPU (2)

Network Interface (3)

Physical Disk (4)

Logical Disk (5)

Paging File (6)

Process (7)

Redirector (8)

TCP (9)

IP (10)

UDP (11)

NetBEUI (12)

NetBT (13)

NWLINK IPX (14)

NWLINK SPX (15)

RAS Total (16)

Server (17)

Server Work Queues (18)

Cache (19)

Exchange 5.5 MTA (20)

Exchange 5.5 MTA Connections (21)

Exchange 5.5 IMC (22)

Exchange 5.5 IS (23)

Exchange 5.5 IS Public (24)

Exchange 5.5 IS Private (25)

Exchange 5.5 DS (26)

Proxy Server 2.0 - Web Proxy (27)

Proxy Server 2.0 - WinSock Proxy (28)

Proxy Server 2.0 - Web Proxy Cache (29)

Telephony (30)

RAS Ports (31)

NWLink NetBIOS (32)

System (33)(33)

Proxy Server 2.0 - Packet Filter (34)

IIS 4.0 - Web Service (35) System (33)



Additional OID's:



WINS Server MIB @ WINS.MIB = .1.3.6.1.4.1.311.1.2

DHCP Server MIB @ DHCP.MIB = .1.3.6.1.4.1.311.1.3

SQL Server MIB @ MSSQL.MIB = .1.3.6.1.4.1.311.1.4.1

General IIS statistics MIB @ INETSRV.MIB = .1.3.6.1.4.1.311.1.7

FTP Server MIB @ FTP.MIB = .1.3.6.1.4.1.311.1.7.2

HTTP Server MIB HTTP.MIN .1.3.6.1.4.1.311.1.7.3

LanManager (LanMan) MIB LMMIB2.MIB .1.3.6.1.4.1.77.1

LanManager Alert MIB LMALRT2.MIB .1.3.6.1.4.1.77.2



2)The leafs for the CPU OID (which your customer correctly identifies) in
Win2K
should be consistent depending on the number of processors:

..1 = First CPU
..2 = Second CPU etc....

Note that with Windows 2003 and newer hardware with hyper-threading
enabled, they
will see twice as many processors as really exist on the box.


Here are some suggestions I received in my attempt to get you an answer to
your
question.
Let me know if this is what you were looking for?

The doc. is hostmib from <http://www.ietf.org/rfc/rfc1514.txt>


You are in the right direction, you just needs to walk
..1.3.6.1.2.1.25.3.3.1.2 to
retrieve the hrProcessorLoad object instances without the dependence on
hrDeviceIndex index implementations on servers. This index is just the
hrDeviceIndex from the hrDeviceTable.

C:>snmputil walk hostIp communityName .1.3.6.1.2.1.25.3.3.1.2
Variable = host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.1
Value = Integer32 5
Variable = host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.2
Value = Integer32 5
End of MIB subtree.



RELATED KNOWLEDGE BASE ARTICLES
=================================
237295 The Management Information Base Support in Windows 2000
http://support.microsoft.com/?id=237295


Abhijeet Nigam, MCSE,A+,CCNA
This posting is provided "AS IS" with no warranties, and confers no rights
 
Back
Top