ThanhLongVN
ThanhLongVN

Reputation: 51

Using SNMP to get Server Information

I'm using SNMP to get Server Infomation. I want to get CPU/Process type, for example : Intel (R) Pentium (R) Dual CPU E2180 @ 2.00GHz I try very hard but I can't find suitable OID.

Can't anyone help me?

P/s : sorry about my lack Eng ability

Upvotes: 1

Views: 6165

Answers (1)

raz3r
raz3r

Reputation: 3131

The sysDescr table usually (but not always) contains information related to the machine's hardware, CPU included. However you should definitely take a look at the hrDevice table where the hrDeviceType is hrDeviceProcessor, here is what I get querying my laptop:

snmpwalk -v 2c -c ******* 192.168.*.* 1.3.6.1.2.1.25.3.2.1

HOST-RESOURCES-MIB::hrDeviceDescr.768 = STRING: GenuineIntel: Intel(R) Core(TM) i3 CPU       M 330  @ 2.13GHz

Upvotes: 0

Related Questions