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 17:13 +0800, Ronnel P. Maglasang wrote:

> >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 also tried this (agentaddress) but I coudn't get it working.

Strange.


> > Which version of the agent are you using?
> I'm using NET-SNMP version:  5.2.1.2.

Snap.

	$ grep agentaddress snmpd.conf
	#agentaddress   udp:161,udp:1616
	$ sudo snmpd -f -Le -c snmpd.conf
	NET-SNMP version 5.2.1.2
	$ lsof -p 3021 | grep UDP
	snmpd   3021 root   12u  IPv4  14485       UDP *:snmp

	$ vi snmpd.conf
	$ grep agentaddress snmpd.conf
	agentaddress   udp:161,udp:1616
	$ sudo snmpd -f -Le -c snmpd.conf
	NET-SNMP version 5.2.1.2
	$ lsof -p 3021 | grep UDP
	snmpd   3033 root   12u  IPv4  14599             UDP *:snmp
	snmpd   3033 root   13u  IPv4  14600             UDP *:1616


Hmmmm....

Have you tried this with two different IPv4 ports?
Or just with IPv4/IPv6 setterings?

You could also try switching the two entries round,
and seeing whether the agent still complains (and about
which one).

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.