nanog mailing list archives
Re: Initial Route Server Stats for MAE-East
From: Gerald Andrew Winters <gerald () citi umich edu>
Date: Mon, 23 Oct 95 10:19:15 EDT
Hello, I can't resist jumping into this disscussion. I think its clear that there is much work to be done on router/IP performance. The question then is what can be done in the meantime, until said work is completed? Here is a script I wrote that will work on cisco routers. The script takes advantage of cisco's enterprise specific MIB. There are 3 SNMP variables yielding CPU busy percentage. The first is CPU busy percentage in the last 5 seconds of scheduler time. The other two are 1 and 5 minute exponentially-decayed moving averages. The CPU busy metrics can yield interesting results, for example %'s above 40% indicate a busy router. I was able to generate some interesting graphs awhile back for our cisco routers. For more information, use the oid's in the script as pointers into the cisco mib. And here is the script for anyone who is interested. --Gerald Winters <gerald () merit edu> #!/usr/local/bin/perl @mib_objs = ("1.3.6.1.4.1.9.2.1.56.0", "1.3.6.1.4.1.9.2.1.57.0", "1.3.6.1.4.1.9.2.1.58.0"); for ($i = $num_values = 0; $i < 3; $i++) { foreach (`/afs/umich.edu/user/g/e/gerald/CISCO/snmpget -h 141.211.128.1 @mib_objs[$i]`) { if (/value:/) { $num_values++; @values[$i] = /\w+\W+\w+\W+(\w+)/; } } } if ($num_values == 3) { print "@values[0] @values[1] @values[2] ".`date`; } else { print "0 0 0 ".`date`; }
Current thread:
- Re: Initial Route Server Stats for MAE-East, (continued)
- Re: Initial Route Server Stats for MAE-East Jonathan Heiliger (Oct 22)
- Re: Initial Route Server Stats for MAE-East Nathan Stratton (Oct 22)
- Re: Initial Route Server Stats for MAE-East William B. Norton (Oct 23)
- Re: Initial Route Server Stats for MAE-East Andrew Partan (Oct 23)
- Re: Initial Route Server Stats for MAE-East Steve Feldman (Oct 20)
- Re: Initial Route Server Stats for MAE-East Brett D. Watson (Oct 22)
- Re: Initial Route Server Stats for MAE-East Mike O'Dell (Oct 22)
- Re: Initial Route Server Stats for MAE-East Curtis Villamizar (Oct 23)
- Re: Initial Route Server Stats for MAE-East Jon Zeeff (Oct 23)
- Re: Initial Route Server Stats for MAE-East Guy T Almes (Oct 23)
- Re: Initial Route Server Stats for MAE-East Gerald Andrew Winters (Oct 23)
- Re: Initial Route Server Stats for MAE-East Randy Bush (Oct 23)
- Re: Initial Route Server Stats for MAE-East Guy T Almes (Oct 23)
- Re: Initial Route Server Stats for MAE-East Steven J. Richardson (Oct 24)
- Re: Initial Route Server Stats for MAE-East Tim Bass (Oct 24)
- Re: Initial Route Server Stats for MAE-East Steven J. Richardson (Oct 24)