How can I get the latest CPU usage of OS6900 via SNMP?

Post Reply
fkromer
Member
Posts: 24
Joined: 27 Nov 2018 03:24

How can I get the latest CPU usage of OS6900 via SNMP?

Post by fkromer »

The UID SNMPv2-MIB::healthDeviceInfo.healthDeviceCpuLatest (1.2.1.16.1.1.1.13) could be used to get the latest cpu usage from older switches. The OS6900 don't support this UID (the whole healtDeviceInfo tree). Is there an equivalent UID which can be used to get the latest cpu usage and in case there is what's the UID?
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1886
Joined: 01 Jul 2008 10:51
Location: Germany

Re: How can I get the latest CPU usage of OS6900 via SNMP?

Post by silvio »

Within all the cli guides you will find at every command the correct MIB object.
in this cas you are looking for healthModuleCpuLatest (the same for all R8 switches).
To get the oid use this command:

Code: Select all

> show snmp object identifier healthModuleCpuLatest
1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.15
best regards
Silvio
fkromer
Member
Posts: 24
Joined: 27 Nov 2018 03:24

Re: How can I get the latest CPU usage of OS6900 via SNMP?

Post by fkromer »

Thx a lot.
User avatar
thermseeker
Member
Posts: 35
Joined: 08 Jul 2016 08:40

Re: How can I get the latest CPU usage of OS6900 via SNMP?

Post by thermseeker »

Hello all,

Reviving an old topic. I too am trying to get CPU status from an OS6900.

Code: Select all

show snmp object identifier healthModuleCpuLatest
returns the same OID as already mentioned, but when probing this OID I get No Such Instance. I'm using SNMP v2, and the user bound to the community string has Snmp allowed= YES, I'm not sure if this matters.

What am I doing wrong? :roll:
User avatar
thermseeker
Member
Posts: 35
Joined: 08 Jul 2016 08:40

Re: How can I get the latest CPU usage of OS6900 via SNMP?

Post by thermseeker »

Well, I found it. I was trying to "GET" this OID, when instead I should "GET NEXT" or walk the subtree. There are 5 OIDs under that item:

Code: Select all

1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.15.0
1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.15.1
1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.15.2
1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.15.1001
1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.15.1002
15.1001 and 15.1002 are probably the two slots I have in the Virtual Chassis. I don't know what 15.0 15.1 and 15.2 mean.

Tales
Post Reply

Return to “OmniSwitch 6900”