Re: Clarification on Launching snmpd with arguments.
Harish B <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave, The invocation for launching snmpd as mentioned below worked for me. I seperated the list of ports by white space. snmpd -c snmpd.conf -x tcp:localhost:705 udp:161 udp6:161 Thanks, Harish On Mon, Jul 13, 2009 at 1:30 PM, Dave Shield <[email protected]>wrote: > 2009/7/13 Harish B <[email protected]>: > > I had Netsnmp 5.3.x version earlier, and the way I was launching snmpd > was: > > snmpd -c snmpd.conf udp:161,udp6:161 -x localhost:161 > > Two comments on that: > > - firstly, the "-x" option should come *before* the list of SNMP ports > - secondly, port 161 is the standard port for SNMP requests, > *not* for AgentX traffic. > > A better invocation would be > > snmpd -c snmpd.conf -x tcp:localhost:705 udp:161,udp6:161 > > (and adjust your subagents to connect to port 705 - the standard AgentX > port) > > > > I need a clarification in the way snmpd is launched in 5.4.2.1 > > Try the invocation above. > > > > > Lastly(not of great importance), do we have a definite way of specifying > > more than one listening address to snmpd? > > List them on the command line, *after* all other options. > > > > How the list is separated( either > > with commas or with spaces) > > Either should work, in exactly the same way. > If you run the agent with the flag "-Dsnmpd/main", you > should see the list of ports that the agent will be listening on. > It's actually held as a comma-separated list, but if you list > them using spaces, the agent will build the same list anyway. > > Dave > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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