Re: Clarification on Launching snmpd with arguments.
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ 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