Posted on Leave a comment

Quick real-time bandwidth monitoring

Today a talk about  utilities to allows monitoring   Traffic  SNMP bandwidth https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol

The information about state of network equipment is for  network administrators who need to display the current configuration a specific device like router, modems , printer,etc

A set of tool https://curlie.org/en/Computers/Internet/Protocols/SNMP/Tools

BUT today i talk about   http://leonidvm.chat.ru/   STG is stand for SNMP Traffic Grapher

You need a Community ID, and OID(Object Identifiers)
Parameters

1. Target Address

– Put IP address of device that you want to pull information from. It could WAN or LAN interface, and it shouldn’t be blocked SNMP 161 to communicate with Server which this SNMP tool installed.
In this example, I used WAN IP address of a device.

2. Community

– Put Community sting as “ipBalance“. You can put whatever strings you want, but common SNMP string “public” is not recommended for especially long term period of monitoring without secure plan for SNMP traffic.

** in this case, community name is “ipBalance” which must be matched with stg’s setting

ipBalance_Router#conf t

ipBalance_Router(conf)#snmp-server community ipBalance ro

** Same Cisco SNMP command can be applied on different platform such as Nortel, Tasman and Adtran

3. Green OID & Blue OID

– This is Object Identification for MIB value. Good to know details of SNMP and MIB OID, but it require a lot of reading and understanding. In this case, I will give you simple idea and tips to quick as possible.

Look at initial value from settings

1.3.6.1.2.1.2.2.1.10.1 – Green OID
1.3.6.1.2.1.2.2.1.16.1 – Blue OID

Green & Blue label is just for the look to easily separate inbound and outbound traffic on the graph

I won’t explain what is 1.3.6~~~ bla~ bla~. b/c this article become a book.

okay, here is what you need to know.

10 = inbound traffic (MIB OID = ifInOctets)
16 = outbound traffic (MIB OID = ifOutOctets)

Last digit #(in this case 1) is interface index #. See below output from Cisco router(7200).

Commend: show snmp mib ifmib ifindex
or show snmp mib ifmib ifindex serial3/0 – just for the target interface

 

Another Tool for Monitoring the Traffic is  https://www.cacti.net/

Source https://www.ipbalance.com/traffic-analysis/traffic-monitoring/quick-real-time-bandwidth-monitoring-by-snmp-tool-stg/