Hi Dave, I understand RMON-MIB is not supported. We implemented a way to use handle_var_requests() to get object's value. This works well for objects registered in the master agent. But we are having problem when fetching objects registered by another subagent of a different process, it causes "send response: Failure in sendto" error. See the log below:
Mar 9 16:40:31 ATCA-2210 snmpd[21197]: agentx/master: Mar 9 16:40:31 ATCA-2210 snmpd[21197]: got response errstat=0, (req=0x4f9,trans=0x0,sess=0x6) Mar 9 16:40:31 ATCA-2210 snmpd[21197]: agentx/master: Mar 9 16:40:31 ATCA-2210 snmpd[21197]: agentx_got_response() beginning... Mar 9 16:40:31 ATCA-2210 snmpd[21197]: agentx/master: Mar 9 16:40:31 ATCA-2210 snmpd[21197]: handle_agentx_response: processing: Mar 9 16:40:31 ATCA-2210 snmpd[21197]: IF-MIB::ifOutOctets.1034 Mar 9 16:40:31 ATCA-2210 snmpd[21197]: Mar 9 16:40:31 ATCA-2210 snmpd[21197]: agentx/master: Mar 9 16:40:31 ATCA-2210 snmpd[21197]: handle_agentx_response() finishing... Mar 9 16:40:31 ATCA-2210 snmpd[21197]: snmp_agent: Mar 9 16:40:31 ATCA-2210 snmpd[21197]: processing delegated request, asp = 0x100ef610 Mar 9 16:40:31 ATCA-2210 snmpd[21197]: send response: Failure in sendto Mar 9 16:40:31 ATCA-2210 snmpd[21197]: -- IF-MIB::ifOutOctets.1034 Mar 9 16:40:31 ATCA-2210 snmpd[21197]: snmp_agent: Mar 9 16:40:31 ATCA-2210 snmpd[21197]: REMOVE session == 0x100ef610 Mar 9 16:40:31 ATCA-2210 snmpd[21197]: snmp_agent: Mar 9 16:40:31 ATCA-2210 snmpd[21197]: agent_session 0x100ef610 released I have hard time to figure out why this error occurs, and how to avoid this error. Any advices are greatly appreciated. Emi Yanagi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
