Hi,


I want to run my sub-agent on different machine from that of snmpd (master 
agent)



I tried to follow what is given in FAQ  
http://www.net-snmp.org/wiki/index.php/FAQ:Agent_12



Following is what I tried;

In snmp config file I have following settings

master  agentx

agentxsocket tcp:<ip-addr of snmpd machine>:705

and in sub agent application I included following lines

    netsnmp_ds_set_boolean(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_AGENT_ROLE, 1);

    netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_AGENT_X_SOCKET, 
"tcp:< ip-addr of snmpd machine >:705");



But still I am not able to communicate with snmpd

Below is the error I get

Warning: Failed to connect to the agentx master agent (tcp:< :< ip-addr of 
snmpd machine >:705):



Am I doing this correctly?



Thanks and Regards,

Shreyas

________________________________
This message and any attached documents contain information from QLogic 
Corporation or its wholly-owned subsidiaries that may be confidential. If you 
are not the intended recipient, you may not read, copy, distribute, or use this 
information. If you have received this transmission in error, please notify the 
sender immediately by reply e-mail and then delete this message.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to