RE: SNMP is listening on the wrong transport protocol and the wrong

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <20160429084653.feb4017efaa820d231aba3d713490455.0746cd94d0.mailapi@email14.godaddy.com>
Does your snmdp.conf use 'agentaddress udp:161' to set the listening port?


Having snmpd also listening on TCP 161 is mostly benign, but it looks like you don't have the correct option set.
 
-
Jim
 
--------- Original Message --------- Subject: SNMP is listening on the wrong transport protocol and the wrong
From: "Juan Torres" <[email protected]>
Date: 4/28/16 4:25 pm
To: [email protected], "Chris Benjamin" <[email protected]>, "Juan Torres" <[email protected]>

  Support,
 
 Hi,
 
I have RHEL 7.2, CentOS 7.x and SUSE 11.x and all of them have the same problem with the SNMP protocol.
I need to make the SNMP talk UDP:161 and turn down the TCP:199.
 
# netstat -tulpn | grep snmp
tcp 0 0 0.0.0.0:161 0.0.0.0:* LISTEN 18702/snmpd
tcp 0 0 127.0.0.1:199 0.0.0.0:* LISTEN 18702/snmpd
udp 0 0 0.0.0.0:161 0.0.0.0:* 18702/snmpd
 
-------------------------------------------------------------------------------------------------------
Troubleshoot so far...
/etc/services
          #snmp            161/tcp                         # Simple Net Mgmt Proto  
          #smux            199/tcp                         # SNMP Unix Multiplexer
          #smux            199/udp

/etc/sysconfig/snmpd
          OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a -I -smuxsocket -x :161"

/etc/snmp/snmpd.conf
          smuxsocket  1.0.0.0
          snmpd udp::161
          rocommunity public 172.31.64.0/22
 
# netstat -lnp | grep snmp
tcp        0      0 0.0.0.0:161             0.0.0.0:*               LISTEN      3901/snmpd
udp        0      0 0.0.0.0:161             0.0.0.0:*                           3901/snmpd

 

It still not working!!!!
 
 

 Juan Torres,  MCs
Sr Server Engineer
UCSF Benioff Children's Hospital Oakland
 747 52nd Street
 Oakland, CA 94609
[email protected]
Mobile: 386.478.8599
Home  : 386.847.3150
E-Fax  : 510.985.2255


 CONFIDENTIALITY NOTICE: This electronic message (and any attachments) is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message (and any attachments). Thank you.

------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z_______________________________________________ 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

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

_______________________________________________
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.