launch scotty, or load tnm and then do
puts $tnm(library). It should be /usr/local/lib/tnm2.1.9/library in
your case.
>I have a /usr/local/lib/tnm2.1.9/library directory (on my installation
>into the default locations) -- is that what $tnm(library) means?
>
>There's an init.tcl file in there, but it also refers to a site/init.tcl
>file. Where should this 'site' directory be? Is it a subdirectory of my
>/usr/local/lib/tnm2.1.9/library dir? And is 'site' its literal name, or
>should it be some name I choose for my site? I do have a directory
>/usr/local/lib/tnm2.1.9/sun4u-SunOS-5.5/ (with no init.tcl file) - is it
>this?
>
site is literal.
>
>There's also mention of a ~/.scottyrc file but I can't find any other
>reference to it in the FAQ. It's also mentioned in the Tnm man page, but
>again I can't find any more information.
>
You can put tnm commands or any valid Tcl command or proc in it. Mine looks like this:
global s
set s [snmp session]
proc walkit {handle mib} {
$handle walk x $mib {
set oid [lindex [lindex $x 0] 0]
set name [mib name $oid]
set parent [mib parent $name]
set p2 [mib parent $parent]
puts -nonewline "$p2.$parent.$name "
puts " [lindex [lindex $x 0] 2]"
}
}
>
>Incidentally in the man pages there are some links to
>http://localhost/cgi-bin/man2html/... which obviously don't work from
>here.
>
>BTW this man2html script: assuming it does what its name suggests, where
>can I get it?
>
Use tkman! It's very nice! (available at neosoft)
____________________________________________________________________________
Doug Hughes Engineering Network Services
System/Net Admin Auburn University
doug@eng.auburn.edu
-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.