Re: monitoring cisco via snmpget
- From: anybody43@xxxxxxxxxxx
- Date: 14 Jul 2006 12:40:11 -0700
davide.papagno@xxxxxxxxx wrote:
Hi all.
I need to monitor my cisco 2600 router with simple snmp cli command.
I just wanna know if is this the correct way:
fastethernet input and output traffic
I use:
snmpget -v 2c -c public -Oqv router IF-MIB::ifInOctets.2
snmpget -v 2c -c public -Oqv router IF-MIB::ifOutOctets.2
what I get is:
3143069294
3275366667
are they bytes?
How can I have in kb/s?
I have to type this command every 60 seconds for 2 hours, is it
dangerous for my router?
I just tryied mrtg, infovista and others.. but I really need every one
minute monitor statistics.
Really thanx all
These are bytes. Octet is another (better?) word for byte.
mrtg can do what you want if you have the time and skill to set it up.
http://www.wtcs.org/snmp4tpc/getif.htm
Is very quick and easy but not neaqrly so capable.
I think you just run the exe.
It displays Octets/Bytes per second. Multiply by 8 to get bits
per second. I usually multiply by 10 since that is good enough
in almost all situations.
Getting graphs is slightly non-intuitave.
You have to select the mib, press start, then select the instance
THEN Add to Graph.
It is a bit clunky and unless you have a very fast computer
is slow but I use it a lot.
Be aware that many MIBS are 16 bit values and they wrap
at about 4,000,000,000. getif doe not handle this well.
You cannot save the data except by screenshot either.
It is FREE.
Getting 2 MIBs every 60 seconds will not affect the router.
Getting 100 every second may well.
sh proc cpu
is your friend.
.
- References:
- monitoring cisco via snmpget
- From: davide . papagno
- monitoring cisco via snmpget
- Prev by Date: Re: 6500 Native vs Hybrid?
- Next by Date: Re: monitoring cisco via snmpget
- Previous by thread: Re: monitoring cisco via snmpget
- Next by thread: Re: monitoring cisco via snmpget
- Index(es):
Relevant Pages
|
|