proxmox + dell + zenoss SNMP recipe

mwixon

New Member
Apr 28, 2009
27
0
1
Thought I'd pass this along, I spent about a day getting snmp working with proxmox and monitoring DELL hardware level information. Here is how I did it:

Install and configure the Zenoss appliance from the appliance repo

Get the Dell and AdvHardware zenpacks, install both and then restart (important) your zenoss VM.

Login to your proxmox host as root and run the following script.

Code:
echo "deb ftp://ftp.sara.nl/pub/sara-omsa dell sara" > /etc/apt/sources.list.d/dell.list

apt-get update
apt-get install dellomsa
apt-get install snmpd
apt-get install snmp
apt-get install openvpn

/etc/init.d/dataeng enablesnmp


omreport storage pdisk controller=0

/etc/init.d/snmpd stop
/etc/init.d/dataeng stop
If all went well omreport should have printed current status of your disk drives

Then you'll need to setup SNMP:
Code:
com2sec local localhost public
com2sec foo 0.0.0.0/24 public
smuxsocket 127.0.0.1
smuxpeer .1.3.6.1.4.1.674.10892.1
group MyRoGroup v2c local
group MyRoGroup v2c foo
group MyRoGroup v1 foo

#           incl/excl subtree                          mask
view all    included  .1                               80
view system included  .iso.org.dod.internet.mgmt.mib-2.system


access MyRoGroup "" any noauth exact all none none
#mibs +10892
syslocation Anytown, USA
syscontact you@yourmail.com
trapcommunity public
trapsink 0.0.0.0 public

disk /
disk /usr
disk /opt
Change the 0.0.0.0 in the above to sane values.

You then need to change /etc/default/snmpd

Code:
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -p /var/run/snmpd.pid 127.0.0.1 10.9.0.13'
Change 10.9.0.13 to the address you want SNMP to listen on. In my case I'm behind a NAT so I implemented openvpn to build a routable network. Also delete the '-I smux' from the SNMPOPTS line.

finally

Code:
/etc/init.d/snmpd start
/etc/init.d/dataeng enablesnmp
/etc/init.d/dataeng start
you should then be able to walk the dell specific MIBS:

snmpwalk -v2c -OS -c public 127.0.0.1 .1.3.6.1.4.1.674.10892.1


Now go into Zenoss and create a new category /Servers/Dell - apply all the dell collectors to this category and then add or remodel a device to this category. You should see something like the attached.

zenoss2..jpgzenoss1..jpg