On Sat, Jul 24, 1999 at 04:14:00PM +1000, tom minchin wrote:
> On Sat, Jul 24, 1999 at 04:05:55PM +1000, Craig Sanders wrote:
> > Re: (RADIATOR) SNMP Counter logging
> > On Wed, Jul 07, 1999 at 04:26:38PM +1000, tom minchin wrote:
> > > I use the SNMP method to clear the interface, that sends a Stop (IOS version
> > > 11.3(8)T1).
> > > 
> > > snmpset hostname community .1.3.6.1.4.1.9.2.9.10.0 i interface
> > 
> > would you have a list anywhere of what these cisco oids mean?
> 
> There's some meaty documents on www.cisco.com which go through each
> MIB that you can download from the website. I was never able to
> integrate the Cisco MIBs into CMU or UCD (but I'm hardly an expert).
> Unfortunately I don't have any URLs as they keep changing the damn
> site layout.

yeah, i've downloaded all the mibs from cisco's ftp site. unfortunately,
i have no idea what use they are because i can't use them with CMU snmp
or with tkined/scotty.


i don't even need a full list. there's less than a dozen items of
information that i actually care about. all i need is a simple table of
stuff like:

"oid"                           "comments"
.1.3.6.1.4.1.x.x.x.x.x.N        interface N status "up" or "down"
.1.3.6.1.4.1.y.y.y.y.y.N        interface N username
.1.3.6.1.4.1.z.z.z.z.z.N        interface N session OctetsIn
.1.3.6.1.4.1.a.a.a.a.a.N        interface N session OctetsOut
.1.3.6.1.4.1.a.a.a.a.a.N        interface N login time
.1.3.6.1.4.1.b.b.b.b.b.N        interface N name - Se0:0, Async1, etc


i.e. similar to the stuff in SNMP_util.pm from cpan's SNMP::Session perl
module. (come to think of it, it has some mib parsing features - i'll
check to see if it can make any use of the cisco mibs)


it doesn't need to be perfect or complete - it just needs to have enough
information in it so i can figure out which snmp oid's to query to get
the info that i want.



have you seen anything like this around anywhere? or know of any tools
which i can use to generate it from the MIB files i downloaded?



> The Cisco solution is to buy CiscoWorks and be done with it :)

gross. i don't want to do stuff from a GUI or web browser. i want to do
simple really stuff from the command line and from scripts - you can't
script mouse-clicks, and you can't run them out of a cron job.

most of the snmp tools that i've seen (both commercial and free) seem
enormous, extremely complicated programs that are still pretty ugly and
clumsy to use...and require you to spend a couple of weeks learning
everything there is to know about snmp before you can start using it.
i don't learn well that way. i learn best interactively...by messing
around with things, figuring things out, making mistakes, and writing
little programs and scripts to do the things i need to get done.


craig

--
Craig Sanders
Systems Administrator
VICNET- Victoria's Network              http://www.vicnet.net.au/

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to