Re: clarrification on "agentaddress" in snmpd.conf

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Wed, 2005-10-12 at 16:48 +0800, Ronnel P. Maglasang wrote:
> Is this directive the same as specifying the listening address(es)
> in the command line?

Yes.


> But I got the following error:
>  
> Error opening specified endpoint "udp:161"
> Server Exiting with code 1

My test system doesn't have IPv6 support, but I've tried an equivalent
setup with two different UDP ports, and it works as expected.

	snmpd         udp:161,udp:1616
and
	agentAddress  udp:161,udp:1616

give exactly the same effect - listening on both ports.

>                                         I'd like snmpd to run
> on udp6:161 and udp:161 and specify them from the config file
> (snmpd.conf?) and not from the command line. Is this possible?

Yes - agentAddress will do exactly that.


Which version of the agent are you using?

Dave


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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.