Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Robert_Mueller
Collaborator

Bandiwthmonitoring with SNMP

Hi folks,

I try to monitor the current bandwith (MBit/s) for on specific interface via SNMP.. does anybody know the OID which I can use for that... 

.1.3.6.1.4.1.2620.1.1.25.5.1.Interfacenumber 

shows me something about the interface - but which exact IOD have I to you to get the MBit/s value?

Thx

robert

7 Replies
SantiagoPlatero
Collaborator

Hi Robert, check the sk98552. Download the PDF and at page 19 you have the available network counters, with its OIDs and a quick description of each of them.

Hope it helped.

Robert_Mueller
Collaborator

Yes - but... the values are "Accepted bytes throughput" and I think for all interfaces... and on the next page - Bytes since last reboot.. both are not really useful.. what I need is the value which I can find in the cpview

Network->Interfaces-Traffic "Mbps" value..

Br

0 Kudos
SantiagoPlatero
Collaborator

Oh I see, I also can't find the corresponding OIDf that matches the Mbps column in CPView.

I'm pretty sure CPView came down the Mbps values using the PPS (packets per second) and Mbits values.

But (and here's the catch) the PPS value depends on how the gateway is configured for packet inspection (maybe if it's an appliance involved you can check out DPI throughput in the specs sheets and get to a sloppy approximation).

Roughly we can say, as an example:

For 2000 PPS and using the default MTU size (1500 bytes), is 3000000 Bytes/sec (2000*1500*8), which is equivalent to 24000000 bits/sec (24 Mbps).

But I believe we've another catch here: the packet size I used (the default MTU size), and as it depends to the inspection done by the gateway, in real life scenario it should be never close to 1500 bytes.

Maybe some CP guy here involved in CPView development could tell us how the Mbps calculation is done.

Robert_Mueller
Collaborator

Correct - but the point is, that I can't tell the monitoring tool to start calculations.. I think it should be possible to get the values of the cpview tool..

AnerSagi
Explorer

Hi All,

I also need answer to Robert_Mueller question - how can i get the cpview network bits\second using SNMP ?

the PDF is 4 years old...

Thanks in advance

Aner Sagi

0 Kudos
KonstantinBoyko
Employee
Employee

Hi Aner,

Thanks for pointing at outdated document, we'll work on improving it.

CPview exports some parameters to SNMP, it's object ID is 1.3.6.1.4.1.2620.1.56
More specifically, CPview table Network -> Interface -> Traffic is exported as two tables umHardwareTxStatisticsTable and umHardwareErrorStatisticsTable. Their object IDs are 1.3.6.1.4.1.2620.1.56.105.6 and 1.3.6.1.4.1.2620.1.56.105.7 respectivelly. Bit  throuput is 1.3.6.1.4.1.2620.1.56.105.6.1.9 for TX and 1.3.6.1.4.1.2620.1.56.105.7.1.9 for RX

If you want to explore other data exported via SNMP, you can find cpview.mib at $CPDIR/lib/snmp/cpview.mib

Hope it helps. Let me know if you have other questions.

Regards,
Kostya

msa2003
Contributor

Nowadays (jan/2023 - 81.10), they are:

1.3.6.1.4.1.2620.1.56.105.5.1.9 => Mbps (RX)
1.3.6.1.4.1.2620.1.56.105.6.1.9 => Mbps (TX)

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events