I believe I configured the snmpd master agent listening on port 705 by placing
the following into the "snmpd.conf" file:
agentxsocket localhost:705
I believe I configured my subagent to register with (and receive requests from)
the master agent on TCP port 705 by including the following line in my
subagent.c file (ie: snmpSubagent_ocStbHostMib.c):
netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_AGENT_X_SOCKET,
"localhost:705");
The master agent and subagent can execute successfully on our hardware box.
For SNMP request testing purposes, I transferred the SNMP applications
(snmpget, snmpwalk, etc..) and the MIB.txt files onto our hardware box so I
could confirm the agents do process SNMP requests successfully .... and they
do.
Here are some of the SNMP requests:
1) /usr/local/bin/snmptranslate -On SNMPv2-MIB::sysUpTime.0
2) /usr/local/bin/snmptranslate .1.3.6.1.2.1.1.3.0
3) /usr/local/bin/snmpwalk -v1 -c mycommunity_ro 127.0.0.1
ocStbHostAVInterfaceTable
I just do not understand how these SNMP requests are related to port 705? I
mean how does the master agent get the SNMP request if the master agent is only
listening to port 705?
Maybe someone can explain this to me?
---------------------------------
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders