New to Ubuntu, new to nagios and new to Cacti. I have Ubuntu 9.04 i386 installed on a workstation. I've installed Nagios using the Ubuntu quickstart guide and everything is working great.
I want to install Cacti on the same machine. Is there a recommended install process for this? I'm not sure if I should follow the standard guides to install Cacti on Ubuntu. For example, most of the install guides say to install MySQL and set a password. I'm sure that I already have MySQL installed. Will installing Cacti break Nagios?
Thanks for any help or advice.
Cacti on Ubuntu 9.04 Desktop with Nagios already installed.
Moderators: Developers, Moderators
-
- Posts: 5
- Joined: Tue Jun 30, 2009 7:57 pm
I did the installation of nagios by hand and later installed cacti by hand.
You can try to follow these instrucctions, they for debian but they worked for me with ubuntu desktop 9.04.
http://tuxtraining.com/2008/10/11/how-t ... -on-debian
You can try to follow these instrucctions, they for debian but they worked for me with ubuntu desktop 9.04.
http://tuxtraining.com/2008/10/11/how-t ... -on-debian
Thanks for the reply.
The Nagios quick start guide advises:
Make sure you've installed the following packages on your Ubuntu installation before continuing.
Apache 2
Pe2HP
GCC compiler and development libraries
GD development libraries
You can use apt-get to install these packages by running the following commands:
sudo apt-get install apache2
sudo apt-get install libapache2-mod-php5
sudo apt-get install build-essential
With Ubuntu 6.10, install the gd2 library with this command:
sudo apt-get install libgd2-dev
With Ubuntu 7.10, the gd2 library name has changed, so you'll need to use the following:
sudo apt-get install libgd2-xpm-dev
The how-to-install-cacti-on debian advises:
apt-get install apache2
apt-get install mysql-server
apt-get install php5
apt-get install php5-common
apt-get install php5-cgi
apt-get install php5-cli
apt-get install php5-mysql
apt-get install snmp
apt-get install rrdtool
So, I know that I don't need to install apache2 and snmp (I've already installed snmp). I'm confused about
the rest. I have an /etc/mysql directory, is that the same as mysql-server?
I don't know if I need:
apt-get install mysql-server
apt-get install php5
apt-get install php5-common
apt-get install php5-cgi
apt-get install php5-cli
apt-get install php5-mysql
I'm thinking I just need:
apt-get install rrdtool
apt-get install cacti
and configure Cacti. Is this correct? I don't want to screw up my Nagios installation.
Thanks for any help
The Nagios quick start guide advises:
Make sure you've installed the following packages on your Ubuntu installation before continuing.
Apache 2
Pe2HP
GCC compiler and development libraries
GD development libraries
You can use apt-get to install these packages by running the following commands:
sudo apt-get install apache2
sudo apt-get install libapache2-mod-php5
sudo apt-get install build-essential
With Ubuntu 6.10, install the gd2 library with this command:
sudo apt-get install libgd2-dev
With Ubuntu 7.10, the gd2 library name has changed, so you'll need to use the following:
sudo apt-get install libgd2-xpm-dev
The how-to-install-cacti-on debian advises:
apt-get install apache2
apt-get install mysql-server
apt-get install php5
apt-get install php5-common
apt-get install php5-cgi
apt-get install php5-cli
apt-get install php5-mysql
apt-get install snmp
apt-get install rrdtool
So, I know that I don't need to install apache2 and snmp (I've already installed snmp). I'm confused about
the rest. I have an /etc/mysql directory, is that the same as mysql-server?
I don't know if I need:
apt-get install mysql-server
apt-get install php5
apt-get install php5-common
apt-get install php5-cgi
apt-get install php5-cli
apt-get install php5-mysql
I'm thinking I just need:
apt-get install rrdtool
apt-get install cacti
and configure Cacti. Is this correct? I don't want to screw up my Nagios installation.
Thanks for any help
Install cacti on Ubuntu
When using the instruction "apt-get install cacti-cactid" to install Cacti in an Ubuntu 9.04 (or earlier) environment you will find that the distribution actually downloads Cacti version 0.8.7b, it places the application and data files in Ubuntu specific directories, and requires Unbuntu/Debian specific patches for config.php, debian.php, global.php, and global-settings.php (not a complete list)
We have updated our tutorial on how to work through this, in particular upgrading from the 0.8.7b distribution Ubuntu provides, now to 0.8.7e, and applying the Debian/Ubuntu specific patches for 0.8.7e
01_config.php.patch
05_no-adodb.patch
06_config_settings.php_cactid_path.patch
cli-include-path.patch
http://patch-tracking.debian.net/package/cacti/0.8.7e-1
The full tutorial is here: http://www.open4energy.com/tutorials/virtualbox/cacti
PS - I would post it here, but it is really too many pages!
PPS - We are not a support business, we use Cacti for data center energy management - we use Ubuntu and Virtual machines to get a standard quick build, and have worked through these issues for our needs - We hope that our experience might help others using cacti with Ubuntu or Debian, particularly those new to Cacti
We have updated our tutorial on how to work through this, in particular upgrading from the 0.8.7b distribution Ubuntu provides, now to 0.8.7e, and applying the Debian/Ubuntu specific patches for 0.8.7e
01_config.php.patch
05_no-adodb.patch
06_config_settings.php_cactid_path.patch
cli-include-path.patch
http://patch-tracking.debian.net/package/cacti/0.8.7e-1
The full tutorial is here: http://www.open4energy.com/tutorials/virtualbox/cacti
PS - I would post it here, but it is really too many pages!
PPS - We are not a support business, we use Cacti for data center energy management - we use Ubuntu and Virtual machines to get a standard quick build, and have worked through these issues for our needs - We hope that our experience might help others using cacti with Ubuntu or Debian, particularly those new to Cacti
Who is online
Users browsing this forum: No registered users and 2 guests