Zenoss
Contents |
What is zenoss?
In brief
http://forums.gentoo.org/viewtopic-p-3530058.html#3530058
Longer story
http://community.zenoss.com/faq#WhatisZenoss
Why?
Why not? If you have more than one computer and want to do some cool hip monitoring stuff, zenoss is a way to go. well, there could be better ones but, stfu, this is my wiki node and i rule!
Requirements
- app-admin/sudo
- Subversion (only for installing from svn)
- >=MySQL 5.0.22
- Python 2.3.5 or 2.4
- GNU build environment (GNU Make)
- net-analyzer/net-snmp
- mail-mta/sendmail
- dev-python/twisted
- dev-python/twistedsnmp
- net-zope/zope
- net-zope/zopeinterface
- dev-python/pysnmp
- net-analyzer/rrdtool
- dev-lang/swig
Installing ZenossCore
- Create user for zenoss
# useradd -m zenoss # passwd zenoss
- Modify .bashrc
# echo 'export ZENHOME=/usr/local/zenoss' >> /home/zenoss/.bashrc # echo 'export PYTHONPATH=$ZENHOME/lib/python' >> /home/zenoss/.bashrc # echo 'export PATH=$ZENHOME/bin:$PATH' >> /home/zenoss/.bashrc
- modify sudoers using visudo, add following lines:
# visudo -f /etc/sudoers
- add to the defaults block of the file
# Defaults env_keep += "PYTHONPATH ZENHOME"
- at the bottom of the line
# zenoss ALL=NOPASSWD:/usr/local/zenoss/bin/python,/bin/kill,/usr/sbin/sendmail
- Create directory where to install zenoss
# mkdir /usr/local/zenoss
- Give appropriate user rights for the directory
# chown zenoss /usr/local/zenoss
Using svn source
- Emerge subversion if you dont already have it
# emerge -aq subversion
- Login as zenoss to do the install and stuff
# su - zenoss
- And execute in home directory, you should already be there, in /home/zenoss
# svn co http://dev.zenoss.org/svn/trunk/inst zenossinst
- Move into the newly created directory and run the install script
# cd zenossinst # bash ./install.sh
- Answer to the questions during install and you're done.
Using released "stable"
- Login as zenoss to do the install and stuff
# su - zenoss
- Download latest releas package from here, you want the source tarball
- Extract the package and move into it and run the install script
# tar -xzf zenoss-<release>.tar.gz # cd zenoss-<release> # ./install
- Answer to the questions during install and you're done.
Usage
- Type in anywhere as zenoss to restart the daemons
# zenoss stop # zenoss start -- or -- # zenoss restart
- Navigate to: http://the_host_where_you_just_did_that_stuff:8080/ using your favorite browser. I mean, firefox.
- Login with the user/pass that you supplied at the install process and enjoy the view.
Issues / Gotchas
- If you have issues getting zenping, zensyslog, and a few of the other processes to start try doing the following as root:
chown root:zenoss /usr/local/zenoss/bin/zensocket chmod 04750 /usr/local/zenoss/bin/zensocket
Thanks to: http://community.zenoss.com/forums/viewtopic.php?p=12824
Behave
- Read and modify the files in /usr/local/zenoss/etc at will
- Write usefull stuff to this wiki and especially, this wikinode.
Uninstall
- Remove /usr/local/zenoss/* (or what the heck your $ZENHOME is)
- Do: 'make clean' in zenossinst directory
- Try to install again :)
Resources
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and list their apartments, townhouses and units.
