CactiEZ 0.30 Device Tracking Management error save failed

29 01 2008

After installing CactiEZ 0.30 and you start using the Device Tracking Management (MacTrack plugin) area you may receive the following error when creating new site or device.

2008-01-29_134623

Error: save Failed.

 

This error is being generated by the Cacti system because there are no tables in the Cacti database.

Login on the console or with a ssh shell and execute the following commands

cd /var/www/html/plugins/mactrack

php database_upgrade.php

2008-01-29_135443

I have couple other issues after scanning a cisco switch, which I will need to follow up on the cactiusers.org forum. The device type list is empty in the newest version of CactiEZ and you will need to populate this yourself now.



CactiEZ 0.3 download and install tutorial VMWare Workstation

27 01 2008

In this tutorial I am going to show you how easy it is to install CactiEZ appliance and run this as a virtual guest appliance in VMWare Workstation. After the installation the virtual guest is portable and can be moved to a VMWare Server installation. Note from http://cactiusers.org what CactiEZ appliance is. If you never heard or used this open source monitoring tool than now it is the time to get this thing up and running.

CactiEZ is the fastest possible way to get up and running with Cacti. CactiEZ is an auto-installing CD based on CentOS 4.3∞. The disk is a completely remastered CD (from the 4 CD version, not the Server CD) and stripped down to the bare essentials (no GUI). The CD weighs in at roughly 355 Megs, and installed is roughly 855 Megs. At only 305 packages, it still includes a preconfigured firewall (only allowing http, https, ssh, netflow, webmin, and remote Syslog).

Go to http://cactiusers.org/downloads/ and download the latest CactiEZ 0.3 stable appliance.

image

Current size of the zipped file is 292MB. Save it and extract the files with your favorite tool. I use WinRAR, but the 7z will also do the job .

Create new virtual machine based on Red Hat Enterprise Linux 3 and use all defaults; for the virtual disk I assigned 64GB.

image

Open the properties of the cd-rom drive and locate the CactiEZ iso file.

image 

Start the virtual guest machine. Press enter and watch the show. My installation took me 3 minutes.

1 2

3 4

Login and use the root/CactiEZ to login. Change the password with passwd command! Rule of thumb is to always change the default passwords.

netstat -an | grep “LIST” will show all listining ports on the appliance.

image

22 (SSH), 80 (HTTP), 443 (HTTPS) and 10000 (webadmin) are important tcp (L4) ports. Go to http://ipaddress and login with admin/admin. Change the password.

Cacti is ready for use.

clip_image001

Check the CentOS and VMWare tools post how to install them from SSH shell.