Re: [tkined] trouble running tnm/agents/snmpd

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Thu, 2 Jul 1998 15:02:56 +0200

>>>>> Vincent Qing Yin writes:

Vincent> I'm playing with the sample code scotty/tnm/agents/snmpd and
Vincent> snmpd-proc.tcl that come with the scotty package.

Vincent> I have trouble to get snmpd-proc.tcl working with snmpd. For
Vincent> some reason, the process IDs on the agent machine (Solaris)
Vincent> are not loaded. The following is the session log.

Vincent> As you see, the `getnext procID' didn't return a procID
Vincent> instance, but returned a mlmLock.0 variable, which is in the
Vincent> next branch of the MIB tree. So the entire branch of
Vincent> procTable is missing. But the agent still shows the result
Vincent> of `mib oid procID'.

Vincent> So why doesn't agent respond with the correct procID?

See the MIB definition. It says:

procReload OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Any set operation will reload the process table.
It contains a time stamp when the proc table
was reloaded the last time."
::= { procMIB 1 }

you have to make a set-operation first which will (re)load the table.

Juergen

Juergen Schoenwaelder schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany. (Tel. +49 531 / 391 3283)

--
!! 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.