Clarification on Launching snmpd with arguments.
Harish B <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi , I am using Netsnmp 5.4.2.1 in my linux box and had some issues in launching snmpd, but finally it got resolved by changing the way of passing parameter to snmpd process. 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 after I launch this, I could see the following ports open: udp on *.161 udp6 on *.161 tcp on localhost:161 ( Master Agentx LISTENING on TCP:161 port) and the sub agents could connect to Master agent on TCP port 161. If I try the same way of launching snmpd in 5.4.2.1, then I was getting the error "Unable to open specified endpoint """, later I added space between udp:161 and upd6:161 instead of comma while launching snmpd i.e snmpd -c snmpd.conf udp:161 udp6:161 -x localhost:161 after I launch this, I could see the following ports open: udp on *.161 udp6 on *.161 Agentx on unix domain socket instead of TCP. Later I passed tcp:localhost:161 to snmpd instead of just localhost:161, i.e snmpd -c snmpd.conf udp:161 udp6:161 -x tcp:localhost:161 with this I could see the following ports open, udp on *.161udp6 on *.161 tcp on localhost:161 ( Master Agentx LISTENING on TCP:161 port) and the sub agents could connect to Master agent on TCP port 161. I need a clarification in the way snmpd is launched in 5.4.2.1, I went through FAQ there I could see if we don't specify localhost then it binds to unix domain socket, in 5.4.2.1 even after specifying localhost:161, the Master Agentx binds to Unix domain socket! Could you clarify on this? Lastly(not of great importance), do we have a definite way of specifying more than one listening address to snmpd? How the list is separated( either with commas or with spaces), in the man pages of snmpd I didn't see how the list of listening addresses are separated? Thanks, Harish ------------------------------------------------------------------------------ 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