Does anyone know how to setup SNMP V2 on CentOS? I am trying to set it up so my Solarwinds can talk to CentOS VM. Even I followed the steps I am still getting this error from the shell
[root@982834-CR43-35C-AnalyticsWorker-2 snmp]# snmpwalk -v 1 -c public -O e 127.0.0.1
Timeout: No Response from 127.0.0.1
[root@982834-CR43-35C-AnalyticsWorker-2 snmp]# cat /etc/snmp/snmpd.conf
rocommunity public
syslocation here
syscontact root@localhost
SNMPD setup
Re: SNMPD setup
Did you (re)start snmpd?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 15
- Joined: 2018/12/10 21:28:57
Re: SNMPD setup
yes, with command
systemctl restart snmpd
systemctl restart snmpd
-
- Posts: 15
- Joined: 2018/12/10 21:28:57
Re: SNMPD setup
here is my out put of netstat
[root@982834-CR43-35C-AnalyticsWorker-2 snmp]# netstat -lnp | grep snmpd
tcp 0 0 127.0.0.1:199 0.0.0.0:* LISTEN 62078/snmpd
udp 0 0 0.0.0.0:161 0.0.0.0:* 62078/snmpd
[root@982834-CR43-35C-AnalyticsWorker-2 snmp]# netstat -lnp | grep snmpd
tcp 0 0 127.0.0.1:199 0.0.0.0:* LISTEN 62078/snmpd
udp 0 0 0.0.0.0:161 0.0.0.0:* 62078/snmpd
-
- Posts: 15
- Joined: 2018/12/10 21:28:57
Re: SNMPD setup
Still getting no response from localhost
[root@982834-CR43-35C-AnalyticsWorker-2 ~]# snmpwalk -v 2c -c public localhost
Timeout: No Response from localhost
[root@982834-CR43-35C-AnalyticsWorker-2 ~]# snmpwalk -v 2c -c public localhost
Timeout: No Response from localhost
Re: SNMPD setup
Why is the tcp version of snmp listening on port 199 (unless I'm cross eyed)? Usually it's port 161.
Re: SNMPD setup
It's a different part of the service. Perhaps https://bugzilla.redhat.com/show_bug.cgi?id=110931 (ancient!) might help explain it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke