It worked the firewall was blocking the TCP calls; setup given in FAQ is
correct.
Thanks & Regards,
Shreyas
From: Shreyas Deodhar
Sent: Tuesday, October 18, 2011 5:19 PM
To: net-snmp-coders
Subject: Running sub-agent on different machine
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.
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders