Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Router MIB

Status
Not open for further replies.

ribjin

MIS
Dec 21, 2001
9
0
0
US
Anyone know if there is a MIB Object ID for the 5 minute input and output rate counter you see when you do a "sh int s0". I want to collect that information. Thanks.
 
hi,
there are no mib variables for rate: you have to use counters.
You simply need to poll ifInOctets and ifOutOctets every 5 minutes and then make the following calculation:

(ifInOctets (now) - ifInOctets(5 minutes ago)) / (600)
bye
 
Thanks. I am currently pulling ifIn and ifOut Octets so I will just apply the formula. Good information. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top