Re: multiple master C/C++ agents on localhost

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Pavel Komarov <[email protected]> writes:

> I set multiple IP addresses to localhost in /etc/hosts file and successfully pinged all of them, but when I opened
> second agent, I received the error "Error opening specified endpoint".

You need to use the command line arguments to specify different address
destinations.

to set the listening point:

   snmpd udp:10.0.0.1:161

(eg)

To set the agentx listening address point, you'll need to use the -x
argument:


   snmpd -x /var/agentx/socket1 udp:10.0.0.1:161

and then point the sub-agents to that socket as well.
-- 
Wes Hardaker
Parsons

------------------------------------------------------------------------------
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.