On Thu, 25 Nov 2004 16:13:55 +0800 Yi wrote: YH> I tried some ways to avoid the `select' error mentioned in the last letter. YH> YH> I merely removedthe default mibs defined in net-snmp-config.h: YH> #define DEFAULT_MIBS ""
Hmmm... that seems to be a very odd thing to affect a select statement. Are you sure you didn't change something else, too? YH> But I still cannot get response from the subagent Do you get SNMP responses from the master agent ok? Can you walk the system branch? YH> (It says: "No response from ..."). Which side prints that message? The master agent or the sub-agent? Try running the master agent with some debug - '-Dagentx' is probably a good start. I'd also recommend running the sub-agent with debug. YH> NET-SNMP version 5.1.2 YH> ... ... YH> Received 44 bytes from 192.168.50.101 YH> Received SNMP packet(s) from 192.168.50.101 YH> GETNEXT message YH> -- iso.3.6.1.4.1.30.1.1.6 YH> YH> Sending 76 bytes to Local IPC: abstract YH> Resending 28 bytes to Local IPC: abstract YH> Resending 66624 bytes to Local IPC: abstract YH> YH> I am amazing. What hell is the agentx doing here? That is a good question. I've never seen such behaviour. You are probably going to have to spend some time in a debugger to figure this one out... -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
