[tkined] snmp agent on Windows NT

From: Caruana, Damien (CaruaD@europe.stortek.com)
Date: Mon May 14 2001 - 14:31:00 MET DST


Hello,

I have to develop a snmp agent running on windows NT platform. A first
release of the agent is running on Solaris with the 2.1.10 scotty release
and the 8.0 Tcl-tk release and I have to make it run on Windows NT.
For this, I downloaded the scotty 3.0.0 binary release and the Tcl-Tk 8.3.0
binary release, and I maked diffrents changed on the code. I mean the two
lines:
        package require Tnm 3.0.0
        namespace import Tnm::mib Tnm::snmp Tnm::netdb
and a Responder session to receive and respond the snmp requests, and a
notifier session for sending the traps.
I have no problems for sending the traps, but some problems whith the
responder session apears as the weren't present on the Solaris release.
I use the bind command to see what the agent is receiving and what is
responding:
        $session bind recv {puts "request received:\n\
        %T from %A, port %P, error status:%E\n\
         value:%V " }

        $session bind send {puts "sended message:\n\
        %T from %A, port %P error status:%E\n\
         value:%V\n" }

Sometimes, the responder session seems to blocks, it doesn't received the
request anymore and I have to restart the agent, so close and open again the
sessions to make it runs.

Is there someone who can tell me what kind of probleme it can be?

An other thing, if I use a mib browser on a remote machine, the agent is not
recognise, I must be in localhost because when I use the IP address of the
machine where the agent is installed it doesn't work even if it works whith
the Solaris agent.
If anyone has any questions or ideas, it will interrest me, thanks.

Damien Caruana

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



This archive was generated by hypermail 2b29 : Thu Jan 03 2002 - 14:56:26 MET