Wednesday, February 22, 2012

Quick and dirty

  1. Add deb http://dev.zenoss.org/deb main stable to /etc/apt/sources.list
  2. aptitude update; aptitude safe-upgrade
  3. aptitude install zenoss-stack
  4. Wait…. (it takes a while)
  5. aptitude install snmpd snmp scli tkmib (you can probably get away with just snmpd, but the others make debugging easier)
  6. vi /etc/snmp/snmpd.conf, comment out com2sec paranoid default public and uncomment com2sec readonly default public
  7. edit syslocation and syscontact lines in the same file
  8. vi /etc/default/snmpd, remove the 127.0.0.1 from the end of the SNMPDOPTS line
  9. /etc/init.d/snmpd restart
  10. repeat 5-9 on each linux system you want to monitor
  11. go to http://myzenossbox:8080, enter admin for username and zenoss for password
Test the snmp connection with snmpwalk -v2c -c public host.  If that fails, check firewall rules and /etc/hosts.allow to make sure that udp 161 is open.  Once you’ve established that snmp is working, go to the Zenoss page and start adding devices.

Windows Clients

You’ll need SNMP Informant, along with making sure that the SNMP service is running.  If I find the page I used to make sure everything was right, I’ll post it below.

Resources

Zenoss FAQ
Zenoss 3.0 Release Notes
Debian Help SNMP Server
How To Forge-Zenoss on Ubuntu
SNMP Informant (Windows client)

 

No comments:

Post a Comment