Currently, my master agent and subagent can not talk.   I am assuming the 
master agent has been confirmed to be working since I can perform the following 
commands:

snmpget -v 1 -c mycommunity_ro 127.0.0.1 sysUpTime.0
snmpget -v 1 -c mycommunity_ro 127.0.0.1 sysORDescr.1
snmpwalk -v 2c -c mycommunity_ro 127.0.0.1 system


Now, when I try to execute subagent MIB-specific SNMP requests, then nothing 
happens at all.  I would like the master agent and subagent to be configured on 
port 1610, but I am not sure anymore if I did this correctly.   Apparently our 
hardware box does not recognize "localhost" as a keyword either, so I am using 
127.0.0.1 instead.   Any help which can confirm this is all configured 
correctly would be appreciated.

Here is the snmpd.conf file contents:

master agentx
agentxsocket 127.0.0.1:1610
rocommunity  mycommunity_ro  


Here is what is included in the "subagent.c" file:

netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,
                                   NETSNMP_DS_AGENT_X_SOCKET, "127.0.0.1:1610");


Can someone please let me know if the "snmpd.conf" and "subagent.c" file 
contents look correct?  If so, then will someone please tell me how I can test 
whether the subagent is receiving any SNMP requests from the master agent at 
all.





       
---------------------------------
Pinpoint customers who are looking for what you sell. 
       
---------------------------------
Get the free Yahoo! toolbar and rest assured with the added security of spyware 
protection. 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to