SNMP monitoring with Zenoss
Zenoss is a web-based SNMP management/monitoring tool that you can use to track the health of your servers and networking infrastructure. Zenoss comes in two editions, Core and Enterprise. This will be a short how-to on setting up Zenoss Core to monitor your home/lab network with SNMP. I won't go over setting up the various options of Zenoss, I'll let you read about that on their docs.
Start by downloading and installing the appropriate version of Zenoss for your distribution, or a VMware image if you want to go that route. I installed the Zenoss stack on an Ubuntu 10.04 virtual machine.
sudo dpkg -i zenoss-stack_3.1.0_i386.deb
The next thing to do is configure SNMP on all the machines you want to monitor. My network is mostly Ubuntu, so I will only provide instructions for it.
sudo apt-get install snmpd
This is the snmpd.conf file that I am using:
## System location and contact information
syslocation home
syscontact justin
## sec.name source community
com2sec notConfigUser default public
## groupName securityModel securityName
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser
## Make at least snmpwalk -v 1 localhost -c public system fast again.
## name incl/excl subtree mask(optional)
view systemview included .1
## group context sec.model sec.level prefix read write notif
access notConfigGroup "" any noauth exact systemview none nonesudo nano /etc/snmp/snmpd.conf
It will be helpful to have snmpd listen on other interfaces than localhost, remove '127.0.0.1' from this configuration file and then restart snmpd:
sudo nano /etc/default/snmpd
sudo /etc/init.d/snmpd restart
Now all there is to do is log in to your Zenoss dashboard at http://[address]:8080/ and add your machines.

Comments
Post new comment