Log SNMP Information

Unanswered Question
Oct 21st, 2009
User Badges:

Hello everyone,


Is there a way to log SNMP information to the local router and download it or access it at a later date? Looking to capture bandwith and CPU utilization as well as any error messages, etc but won't have an SNMP server set up for about a week.



Thanks in advance! All replies rated

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.8 (3 ratings)
Loading.
Lucien Avramov Wed, 10/21/2009 - 09:20
User Badges:
  • Red, 2250 points or more

There is no way to log the SNMP information and see it later about the counters as this is real time information.


Do you have a NAM module in your network?


angel-moon Wed, 10/21/2009 - 09:23
User Badges:

Thanks. No NAM. What's the most I can do to capture information then? Just enable logging buffered?

Lucien Avramov Wed, 10/21/2009 - 11:08
User Badges:
  • Red, 2250 points or more

Logging will capture you to a syslog the console messages. That wont have the counters you are looking for.


I was more thinking that you could run an rsh script from a server or linux end device and get periodically the show interface outputs for example. For that you need to enable rcmd on the router as per :


Or you could enable NBAR on the router and periodically over RSH get the show ip nbar protocol-discovery output that will have the 5 minutes counters per protocol.


Protocol counters also do come handy when you monitor traffic, it gives you a supplemental picture of what's happening.


Example of NBAR output:


Last clearing of "show ip nbar protocol-discovery" counters 4w5d



Input Output

----- ------

Protocol Packet Count Packet Count

Byte Count Byte Count

5min Bit Rate (bps) 5min Bit Rate (bps)

5min Max Bit Rate (bps) 5min Max Bit Rate (bps)

------------------------ ------------------------ ------------------------

http 1865324 1148110

2399109004 620270044

0 0

3970000 694000

bittorrent 348044 437191

300634149 42385104

0 0

1769000 58000

skype 725721 677595

298862503 115311935

0 0

579000 428000

edonkey 31721 18948

41515699 1545974

0 0

488000 11000

secure-http 229475 217413

171282588 54029522

0 0

294000 105000

h323 91130 117130

96943577 10974664

0 0

115000 9000

secure-imap 37244 52555

23380550 4683673

0 0

75000 7000



Actions

This Discussion