TECHZEN Zenoss User Community ARCHIVE  

VMware cloned linux template SNMP Agent No Response Recieved

Subject: VMware cloned linux template SNMP Agent No Response Recieved
Author: [Not Specified]
Posted: 2014-07-31 09:25

Not sure if this should be placed here or not but figured it might help someone else out.

The problem:

When trying to monitor a Linux virtual machine with SNMPv3 that was cloned or created from a VMware template you recieve "SNMP agent down - no response received" for one or more the of the clones.

The problem most likely stems from the fact that you setup snmpv3 on the master copy and Zenoss doesn't like the duplicate settings found in /var/lib/net-snmp/snmpd.conf.

This is assuming you haved walked the target with snmpv3 and confirmed snmp is up and working but you still recieve the error in Zenoss.

The solution:
For Centos 6/7

#Log in as root on the target cloned linux vm
#Stop snmpd
#Centos 6:
service stop snmpd
#Centos 7:
systemctl stop snmpd.service

#Backup your snmpd.conf file
cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.bak

#Remove SNMP
yum remove net-snmp net-snmp-devel net-snmp-utils
# You may not have installed or need to remove all of the packages but I did

#Remove the problem config
rm /var/lib/net-snmp/snmpd.conf

#Install SNMP
yum install net-snmp net-snmp-devel net-snmp-utils
#Again, you may not want or need the devel or utils packages

#Put your config back
mv /etc/snmp/snmpd.conf /tmp/
mv /etc/snmp/snmpd.conf.bak /etc/snmp/snmpd.conf

#Create your SNMPv3 user again
net-snmp-create-v3-user -ro -a MD5 -A YourAuthPassword -x DES -X YourPrivPassword YourSecurityUser

#Start snmpd
#Centos 6:
service start snmpd

#Centos 7:
systemctl start snmpd.service

#Ensure snmpd start at boot
sbin/chkconfig --level 2345 snmpd on

I'm thinking you can just remodel the device at this point in Zenoss and the problem should go away.
However, I deleted and re-added the devices so if that doesn't work I know deleting and re-adding does work.



Subject: This is a pretty awesome
Author: Andrew Kirch
Posted: 2014-07-31 11:26

This is a pretty awesome writeup. Here works, you can also put it on the wiki, or use the wiki available at http://wiki.zenoss.org (just making sure you know it exists).

Thank you for the time you put into this!

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



< Previous
Unable to login to Zenoss instance on AWS with default login credentials
  Next
Problem on Global Device Search on Zenoss 4.2.5
>