Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Finding correct OID.

Can anybody give me a hint where I'm doing a mistake looking for correct oid for my hardware.

I want to read via simple snmpget 5min cpu usage for SSL-PROXY module.

In mibs from Cisco ftp I've found:

CISCO-SSL-PROXY-MIB.oid:"cspCpuProcessUtilIn5Min" "1.3.6.1.4.1.9.9.370.1.18.1.1.8"

But when I try to read this value:

snmpget -c public -v 1 X.Y.Z.139 .1.3.6.1.4.1.9.9.370.1.18.1.1.8

Error in packet

Reason: (noSuchName) There is no such variable name in this MIB.

Failed object: .1.3.6.1.4.1.9.9.370.1.18.1.1.8

Of course snmpwalk, for example for system tree works just fine.

I don't want to use mib files, just pure oids, could You please give me a hint, cause it must be something simple...

tia

3 REPLIES
Red

Re: Finding correct OID.

You need to specify an instance at the end of the oid.

The instance is found by performing the snmpwalk first.

For example:

snmpget -c public -v 1 X.Y.Z.139 .1.3.6.1.4.1.9.9.370.1.18.1.1.8.0

or

snmpget -c public -v 1 X.Y.Z.139 .1.3.6.1.4.1.9.9.370.1.18.1.1.8.1

Notice the added .0 and .1 at the end of the oid.

New Member

Re: Finding correct OID.

I was trying to, but snmpwalk gives me that:

snmpwalk -Ofn -c public -v 1 X.Y.Z.139 .1.3.6.1.4.1.9.9.370.1.18.1.1.8

.1.3.6.1.4.1.9.9.370.1.18.1.1.8.3.70.68.85 = Gauge32: 0

.1.3.6.1.4.1.9.9.370.1.18.1.1.8.3.84.67.80 = Gauge32: 0

.1.3.6.1.4.1.9.9.370.1.18.1.1.8.3.83.83.76 = Gauge32: 0

Error: OID not increasing: .1.3.6.1.4.1.9.9.370.1.18.1.1.8.3.84.67.80

>= .1.3.6.1.4.1.9.9.370.1.18.1.1.8.3.83.83.76

So it's till not clear for me how to read this CPU usage and how do I find OIDs.

thx

Red

Re: Finding correct OID.

Ok, there are two issues here:

- we don't know what the instances represent (3.70.68.85, 3.84.67.80 ...) Could these be ip addresses by any chance?

- you seem to be running into some kind of a bug, notice that the OID is not increasing

151
Views
0
Helpful
3
Replies
CreatePlease to create content