Re: clarrification on "agentaddress" in snmpd.conf
"Ronnel P. Maglasang" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Dave Shield wrote: >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 also tried this (agentaddress) but I coudn't get it working. >> 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? > > I'm using NET-SNMP version: 5.2.1.2. The configure script produced the following summary: SNMP Versions Supported: 1 2c 3 Net-SNMP Version: 5.2.1.2 Building for: freebsd5 Network transport support: Callback Unix TCP UDP UDPIPv6 SNMPv3 Security Modules: usm Agent MIB code: mibII ucd_snmp snmpv3mibs notification target agent_mibs agentx utilities iwc SNMP Perl modules: disabled Embedded perl support: disabled Authentication support: MD5 SHA1 Encryption support: DES AES
smime.p7s
(application/x-pkcs7-signature, 3.1 KB) - not displayed