Join our Discussion Boards - Here

Upgrade from zenoss 2.5.2 stack installer to zenoss 3.0 on Centos

Instructions from http://nchc.dl.sourceforge.net/project/zenoss/Documentation/zenoss-3.0.x-docs/zendocs-3.0.0/Zenoss_Core_Installation_04-072010-3.0-v01.pdf

Get the ZenPacks.zenoss.PreUpgrade30-1.0-py2.4.egg

wget http://downloads.sourceforge.net/project/zenoss/zenpacks-3.0%20%28Latest%20Stable%29/zenpacks-3.0.0/ZenPacks.zenoss.PreUpgrade30-1.0-py2.4.egg?use_mirror=nchc&ts=1279596576

Change the permissions

chown zenoss.zenoss ZenPacks.zenoss.PreUpgrade30-1.0-py2.4.egg chmod 777 ZenPacks.zenoss.PreUpgrade30-1.0-py2.4.egg Become the zenoss user

su zenoss

Run the install

zenpack –install ZenPacks.zenoss.PreUpgrade30-1.0-py2.4.egg

Restart zopectl

zopectl stop zopectl start

Start the zencatalog

zencatalog start

Check that is working.

tail -f $ZENHOME/log/zencatalog.log

You must wait for the catalog . . . → Read More: Upgrade from zenoss 2.5.2 stack installer to zenoss 3.0 on Centos

Zenoss Core Network and System Monitoring by Mark R. Hinkle

Zenoss is pretty straightforward to install and add devices but when you start wanting to extend the Zenoss Core and use it full capabilities it can be tough to get started.  I picked up the only Zenoss Admin book a few weeks ago and can heartly recommend it as a good primer to get . . . → Read More: Zenoss Core Network and System Monitoring by Mark R. Hinkle

Zenoss Updated to Zenoss 2.3.3

I am a huge fan of Zenoss, a great tool for monitoring your network and servers.  Zenoss Core is sufficient for basic monitoring but can be extended to all kinds functionality.

Zenoss delivers a single product to monitor the entire IT infrastructure:

Networks – Routers, Switches, Firewalls, Access Points   Servers – Microsoft Windows, . . . → Read More: Zenoss Updated to Zenoss 2.3.3

Install Zenoss 2.3.2 Stack Installer on Centos 5.2

This is on a fresh install of Centos 5.2 64 bit.  Base install with no additional packages.  SELinux is disabled.

Download zenoss the full stack install (this is for 64bit)

mkdir ~/src

cd ~/src

wget http://nchc.dl.sourceforge.net/sourceforge/zenoss/zenoss-stack-2.3.2-linux-x64.bin

Change the permissions

chmod +x ./zenoss*.bin

Run the install

./zenoss*.bin

By default, the package is installed in the . . . → Read More: Install Zenoss 2.3.2 Stack Installer on Centos 5.2

Upgrade Zenoss 2.2.3 to 2.3.2 on Centos 5.2

Get the RPM 

wget http://jaist.dl.sourceforge.net/sourceforge/zenoss/zenoss-2.3.2.el5.i386.rpm

The following is directly ripped from the Zenoss upgrade instructions

Shut down your existing Zenoss install:

service zenoss stop

Run the following command to make sure all of the Zenoss processes have stopped. Verify that no results return from the command.

ps ax|grep zenoss

Clean up cache files with . . . → Read More: Upgrade Zenoss 2.2.3 to 2.3.2 on Centos 5.2

Two New Cool Zenoss Applications

Zenoss Deki mashup

http://zenossdeki.sourceforge.net/

These are the scripts for putting together your own Deki/Zenoss mashup. The mashup places live data from a Zenoss installation in the context of Deki wiki pages for taking configuration notes and other possible future mashups.

Zapplet Desktop Applet 

http://zapplet.sourceforge.net/

Zapplet is a tray applet for monitoring aspects of your . . . → Read More: Two New Cool Zenoss Applications

How to Migrate Zenoss to a New Server

Use the Zenoss admin panel to create a backup of the old zenoss instance.

This is stored in /opt/zenoss/backups, move this file to your new server.

Create a new installation of Zenoss on new server.  For some reason the Mysql root password must be blank until after the first startup of Zenoss.

Ensure all Zenpacks . . . → Read More: How to Migrate Zenoss to a New Server

How To Monitor Mysql using Zenoss

On the Zenoss server ensure your device has the Mysql zenpack

On the mysql server you plan to monitor do the following;

Add a user to Mysql so that zenoss can connect.

mysql -u root -p

grant ALL PRIVILEGES ON *.* TO ‘zenoss’@’yourzenossdomain’ IDENTIFIED BY ‘yourpassword’;

FLUSH PRIVILEGES;

Don’t forget to open port 3306 . . . → Read More: How To Monitor Mysql using Zenoss

Use Zenoss to Monitor Apache on Centos 5.2

Create a file in /etc/httpd/conf.d

touch zenoss.conf

Put this in zenoss.conf

#This allows zenoss to get stats from apache.

ExtendedStatus on

SetHandler server-status

Order deny,allow

Deny from all

Allow from YOURIPorYOURDOMAINNAME

Restart apache.

service httpd restart

On Zenoss, ensure the zenpack-apache is bound to your device.

Configure a Centos 5.2 server to be monitored by Zenoss using SNMP

Install SNMP

yum install net-snmp, net-snmp-utils

Sttart the snmp service

service snmpd start

Ensure snmp service starts on reboot

checkcfg snmpd on 

Open the filewall so Zenoss can connect to server

-A RH-Firewall-1-INPUT -p udp -m udp –dport 161 -j ACCEPT

Restart the firewall

service iptables restart

Edit /etc/snmp/snmp.conf

Change the community string

# . . . → Read More: Configure a Centos 5.2 server to be monitored by Zenoss using SNMP