RE: agentx sub-agent setup
"Lacatena, Andrew" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <FD98A53269F5F74082DFBB12E8AA60320595B9FA@TRM-EXCH1.CORP.NASDAQ.COM> |
Thanks Dave. No, I am trying to configure the master agent and subagent on different machines. In fact, the end goal is to have 1 master agent and 300 subagents, where all subagents are on a private network and the master server is configured with 2 interfaces, 1 on the private network, and the other on my LAN where my NMS system is. Is this type of configuration possible? Or do I need to use the proxy support feature in SNMPv3? I have read through the FAQ's that you recommended, although they are helpful, I am still not able to get this working. The master agent is configured with the -x localhost:705 option in the snmpd startup script and the subagent is being passed the -X option in it's snmpd startup script, also with -x localhost:705. I have also tried to specify these options in the snmpd.conf file. Still getting the same error, "Error: Failed to connect to the agentx master agent: Unknown host (Connection refused)." Any suggestions? Thanks. -Andrew -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Thursday, February 01, 2007 5:00 AM To: Lacatena, Andrew Cc: [email protected] Subject: Re: agentx sub-agent setup On 31/01/07, Lacatena, Andrew <[email protected]> wrote: > Hello. I have the agentx master agent setup, which I see the socket > established in /var/agentx/master.... I have one host which I passed the > -X option when starting snmpd to make it an agentx subagent, but > Error: Failed to connect to the agentx master agent: Unknown host > Any suggestions on how I can make the master agent known to the subagent? Are the master and subagent running on the same system, or on different boxes? You can only use the default AgentX socket where everything is running on the same box - named sockets don't work over the network. For a multi-host AgentX configuration, please see the FAQ entries: Can I use AgentX when running under Windows? [Probably not the most helpful title, but trust me!] http://www.net-snmp.org/wiki/index.php/FAQ:Agent_11 and How can I run AgentX with a different socket address? http://www.net-snmp.org/wiki/index.php/FAQ:Agent_13 Dave ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users