Hello all,

I've a problem to communicate with my subAgent through the Master Agent.
I've used the option -Dnetsnmp_udpbase and the message is correctly
received at master Agent level (of course, the one which send from remote
PC or localhost).

The Master Agent is not responding to the request sent by an snmpget
command.

The Master Agent is launched with the this command line:


*snmpd -Dnetsnmp_udpbase -f -Lo -C -c /usr/share/snmp/snmpd.conf
-agentXSocket=tcp:localhost:1705 udp:1161 -VVV*

*See attached the log of the command:*








*registered debug token netsnmp_udpbase, 1Log handling defined -
disabling stderrTurning on AgentX master support.netsnmp_udpbase: open
local UDP: [0.0.0.0]:1161->[0.0.0.0]:0netsnmp_udpbase: set
IP_PKTINFOnetsnmp_udpbase: binding socket: 7 to UDP:
[0.0.0.0]:0->[0.0.0.0]:1161NET-SNMP version 5.8*

Which is based on the one present in
http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_Subagent

The content of the snmpd.conf used is the following one:

master agentx
agentxsocket /var/agentx/master
agentxperms 777 777

rwuser MyCom_RW
rouser MyCom_RO


For the subagent, I'm using the following command line:

*./mysubagent -f -Lo -x  tcp:localhost:1705*


*snmpget -v 2c -c MyCom_RW localhost .1.3.6.1.4.1.32699.255.4.1.0Timeout:
No Response from localhost.*

I'm quite surprise my mib is known as the snmptranslate -Tp -IR MyTestmib
answered correctly.

I've also used net-snmp 5.8 but still have the same result.

Thanks by avdance for your help
-- 
Cordialement
Ph. DENIS
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to