Installing Zenoss on Ubuntu 10.04

Zenoss (Network Monitoring and IT Management tool) has been running with Python2.4 for quite a while now, making it impossible to be run in a few Ubuntu releases. However, this has now changed. Few days ago they announced the migration of Zenoss to Python 2.6. Please see the announcement here.

If you wish to help testing, you can refer to this Ubuntu Installation Notes, or do the following:

First we need to install the necessary dependencies:

$ sudo apt-get install rsync python-dev build-essential make bzip2 sudo sysv-rc-conf snmpd swig autoconf mysql-server-5.0 libmysqlclient15-dev libmysqlclient15off ttf-liberation ttf-linux-libertine unzip subversion librrd4

Second, we need to create the zenoss user, and create the destination path with the right permissions:

$ sudo adduser zenoss
$ sudo mkdir /usr/local/zenoss
$ sudo chown zenoss /usr/local/zenoss

Third, we need to configure the environment for zenoss user. So, we need first to log in as the zenoss user:

$ sudo -i -u zenoss

Then add the following to .bashrc

export ZENHOME=/usr/local/zenoss
export PYTHONPATH=$ZENHOME/lib/python
export PATH=$ZENHOME/bin:$PATH

And reload .bashrc
$ source .bashrc

Fourth, we obtain the trunk while logged into the zenoss user:

$ svn co http://dev.zenoss.org/svn/trunk/inst zenossinst

Finally, we install zenoss.

$ cd zenossinst
$ ./install.sh

8 Responses to “Installing Zenoss on Ubuntu 10.04”

  1. Tweets that mention RoAkSoAx’s Weblog » Installing Zenoss on Ubuntu 10.04 -- Topsy.com Says:

    [...] This post was mentioned on Twitter by Planet Ubuntu, Ubuntu Feed. Ubuntu Feed said: #ubuntu RoAkSoAx's Weblog » Installing Zenoss in Ubuntu 10.04: Zenoss (Network Monitoring and IT Management tool) … http://bit.ly/92MU0t [...]

  2. Andres Rodriguez: Installing Zenoss on Ubuntu 10.04 | TuxWire Says:

    [...] Originally posted here: Andres Rodriguez: Installing Zenoss on Ubuntu 10.04 [...]

  3. uberVU - social comments Says:

    Social comments and analytics for this post…

    This post was mentioned on Twitter by planetubuntu: Andres Rodriguez: Installing Zenoss on Ubuntu 10.04: Zenoss (Network Monitoring and IT Management tool) has been r… http://bit.ly/c7Skkf

  4. links for 2010-04-06 « The Shining Path of Least Resistance Says:

    [...] RoAkSoAx’s Weblog » Installing Zenoss on Ubuntu 10.04 Subversion trunk source builds on Ubuntu, currently working. Good results from the recent QA Test Day. (tags: zenoss) [...]

  5. ERWIN ALQUIZA Says:

    Checked out revision 21922.
    zenoss@ultimate64-alquiza:~$ cd zenossinst
    zenoss@ultimate64-alquiza:~/zenossinst$ ./install.sh

    This installer actually builds Zenoss.
    For a simpler installation try the VMPlayer Appliance image,
    or use RPMs for Redhat based systems.

    Building…

    /usr/bin/autoconf
    swig is not in the path

  6. ERWERWIN ALQUIZAIN ALQUIZA Says:

    ./install.sh

    This installer actually builds Zenoss.
    For a simpler installation try the VMPlayer Appliance image,
    or use RPMs for Redhat based systems.

    Building…

    /usr/bin/autoconf
    /usr/bin/swig
    /usr/bin/make
    /usr/bin/svn
    MySQL server hostname [localhost]:
    MySQL server root username [root]:
    MySQL server root password []:
    MySQL object database name [zodb]:
    MySQL event database name [events]:
    MySQL username for Zenoss events database [zenoss]:
    MySQL password for zenoss [zenoss]:
    MySQL server port [3306]:
    +——————–+
    | VERSION() |
    +——————–+
    | 5.1.41-3ubuntu12.6 |
    +——————–+
    ./genpatchdeps.sh >.patchdeps
    installing into: //usr/local/zenoss
    build log is in /home/zenoss/zenossinst/zenbuild.log
    checking out Zenoss from svn: branch trunk

  7. Musa Says:

    ~$ svn co http://dev.zenoss.org/svn/trunk/inst zenossinst
    /usr/bin/python: /usr/local/zenoss/common/lib/libcrypto.so.0.9.8: no version information available (required by /usr/bin/python)
    /usr/bin/python: /usr/local/zenoss/common/lib/libssl.so.0.9.8: no version information available (required by /usr/bin/python)
    Traceback (most recent call last):
    File “/usr/lib/command-not-found”, line 10, in
    import CommandNotFound
    ImportError: No module named CommandNotFound

  8. Dave Says:

    zenoss@dschere:~/zenossinst$ ./build.sh
    /usr/bin/autoconf
    /usr/bin/swig
    /usr/bin/make
    /usr/bin/svn
    MySQL server hostname [localhost]:
    MySQL server root username [root]:
    MySQL server root password []:
    MySQL event database name [events]:
    MySQL username for Zenoss events database [zenoss]:
    MySQL password for zenoss [zenoss]:
    MySQL server port [3306]:
    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
    Could not connect to MySQL as root user

Leave a Reply