[nsp] ATM per VC stats via SNMP

Charles Sprickman spork at inch.com
Wed Feb 26 16:42:02 EST 2003


On Wed, 26 Feb 2003, Simon Lockhart wrote:

> On Wed Feb 26, 2003 at 03:35:04AM -0500, Charles Sprickman wrote:
> > So does anyone have pointers for byte counters on a per-vc basis?  How are
> > they indexed (I'm hoping by VCD)?
>
> I added these aliases to MRTG for per VC graphing:
>
>     # Cisco ATM PVC stats
>     'aal5InOctets' => '.1.3.6.1.4.1.9.9.66.1.1.1.1.3',
>     'aal5OutOctets' => '.1.3.6.1.4.1.9.9.66.1.1.1.1.4',
>
> They are indexed by <interface>.<vpi>.<vci>

Thank you very much Simon, works great!

Can I ask something of you folks that's a bit OT?  I'm looking to build a
quick tool that would look something like this:

spork$ ./showrate.pl 0 149
*checking 30 second usage on pvc 0/149
(30 seconds pass)
*30 second usage on pvc 0/149: 180KB/s in, 50KB/s out
spork$

Now I understand the basics here, take a sample, note the time, take
another sample, note the time, do some math to work down to bytes/second.
If I wanted to get a multi-sample quick test, like sample every 2 seconds,
run the test for 15 seconds, can perl handle the timing requirements?  My
head is not working on "real time" vs. "program run time"...

Any thoughts?

Thanks,

Charles

> Simon
> --
> Simon Lockhart             |   Tel: +44 (0)1628 407720  (BBC ext 37720)
> Technology Manager         |   Fax: +44 (0)1628 407701  (BBC ext 37701)
> BBC Internet Services      | Email: Simon.Lockhart at bbc.co.uk
> BBC Technology, Maiden House, Vanwall Road, Maidenhead. SL6 4UB. UK
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> http://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>


More information about the cisco-nsp mailing list