In this post i will explain how to monitors PPS (Packet Per-Second) on Cisco routers using
SNMP on PRTG Network Monitor.
First login into the router and get the interface index
table:
RTR#show snmp mib ifmib
ifindex
FastEthernet1/1: Ifindex = 2
GigabitEthernet0/3: Ifindex =
6
GigabitEthernet0/1: Ifindex =
3
VoIP-Null0: Ifindex = 7
Loopback0: Ifindex = 10
Null0: Ifindex = 9
FastEthernet1/0: Ifindex = 1
GigabitEthernet0/2: Ifindex =
5
Tunnel1: Ifindex = 11
NVI0: Ifindex = 12
FastEthernet0/2: Ifindex = 4
SSLVPN-VIF0: Ifindex = 8
RTR#
|
Then open the PRTG console and add new sensor to the device,
search SNMP Custom and choose SNMP Custom (not SNMP Custom String!)
Type a name for the sensor – something like interface name
with packet direction (for example: Gi0/1 PPS in)
Enter the correct OID:
Use:
1.3.6.1.4.1.9.2.2.1.1.9 for output packets
1.3.6.1.4.1.9.2.2.1.1.7 for input packets
Don’t forget to add the interface index number after the
OID, for example if I would like to monitor GigabitEthernet0/3 input packet
per-second the correct OID will be: 1.3.6.1.4.1.9.2.2.1.1.7.6
also add "/s" on the unit string to show that this unit is per-second.
click Continue and that's it.
Truly, the best blog I have ever perused. Went gaga for this at the principal locate.
ReplyDeleteMike Wallace