Re: [tkined] SNMP Agent Not Re-entrant?

Ka-Tak Lo (lo@ans.net)
Tue, 27 Apr 1999 10:35:59 -0400

Hi, I have a scotty script that does central polling of many machines ~
1000 out there with the same mib structure. Sometimes the callback of a
GETNEXT for one machine's results in a different ip in the callback but
the varbind belongs to the machine i want to query.

So it's like if I'm doing a snmp GET

$handle getnext $varbind \
"callback $IP {%V} {%E}"
for machine $IP.A, I get in the resulting callback
callback $IP.B {varbind for IP.A} {error}

I've seen this happen once in a while. It's pretty random so I can't
say that it's a periodic problem. I'm using Scotty 2.1.9 when I see
this problem. I used scotty 2.1.10 for a few days and it didn't seem to
be happening.

Cary O'Brien wrote:
>
> I am trying to create an snmp agent that gathers up snmp data from
> other places and presents it on one machine. I.E. in this agent the
> callback for an snmp get does an snmp get of some other machine. It
> doesn't seem to work. I get genErr. My suspicion is that some the
> SNMP agent is not re-entrant.
>
> So...
>
> 1) Am I right?
> 2) Is it very hard to fix?
> 3) If 2 = false, any suggestions about how to go about
> fixing it?
>
> oh, version is 2.1.8.
>
> Thanks,
>
> Cary O'Brien
> cobrien@radix.net
> --
> !! 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.

-- 
Kitty (Lo) Sang
Network Management Systems   UUNET Technologies     Purchase, NY
914-701-4868
--
!! 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.