[mrtg] Re: need script to monitor acitve connections to router
Daniel J McDonald
dmcdonald at digicontech.com
Fri Feb 9 23:27:47 MET 2001
> From: Raymond Norton
> Sent: Friday, February 09, 2001 12:47 PM
> To: mrtg
> Subject: [mrtg] need script to monitor acitve connections to router
>
>
> I posted a question earlier, but I think it was
> misunderstood. I need to create a script that monitors active
> connections to my Cisco 3640 router, by gaining information
> from ARP, since we do not use dialup.
First of all, ARP won't tell you how many active sessions you have.
Particularly if you have more than 1 network (and if you have a 3640, you
probably have several networks hiding behind your 3640.
>
> Cisco sent me a mib of .1.3.6.1.4.1.9.2.1.57&.1.3.6.1.4.1.9.2.1.57
the mib listed is for CPU utilization.
>
> first I need to know if someone can verify this is correct,
> secondly, I would like an example script to go by.
If it were me, I would think about grabbing the output of "show ip cache
flow" and parsing it. You can grab that in a script if you enable the web
interface. There is a lot to a process like that, so you would need to know
a fair amount of perl to make that work. I haven't found a mib that
displays the information from show ip cache flow...
Daniel J McDonald - CCIE 2495, CNX
Principal Network Specialist
Digicon Technologies
http://www.digicontech.com
dmcdonald at digicontech.com
Digicon - A Cisco Systems Partner, Silver Certified.
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list