[HOWTO] Installation on Ubuntu 9.10 (Karmic) Server

If you figure out how to do something interesting/cool in Cacti and want to share it with the community, please post your experience here.

Moderators: Developers, Moderators

Post Reply
gg234
Cacti User
Posts: 63
Joined: Fri Oct 07, 2005 11:14 am
Contact:

[HOWTO] Installation on Ubuntu 9.10 (Karmic) Server

Post by gg234 »

Guys,

I hope you like the following simple guide how to install cacti in ubuntu 9.10 server

Simple guide how to install cacti in ubuntu 9.10 server

Thanks
sdog
Posts: 2
Joined: Wed Mar 31, 2010 10:03 am

How to upgrade?

Post by sdog »

I followed this installation guide and it works great, but I installed v 0.8.7.d . I need to upgrade to 0.8.7.e to take advantage of some wmi scripts to monitor our SAN.

How can I determine where Cacti is installed so I can back this up? The basic upgrade instructions in the cacti manual suggest using moving and replacing folders, but Im afraid i might break my production cacti box.

Im a newbie and have basic linux knowledge at best.

All help is greatly appreciated.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

if you followed the guide:

CACTI is located at /usr/share/cacti/site
www-root is the Web User
Watch out for the symlink for the RESOURCE directory - it can be found in /usr/share/cacti/resource.

When performing the upgrade, overwrite everything in /usr/share/cacti/site
Access the Cacti console, and follow the upgrade wizard
Download PIA 2.6, and extract this into /usr/share/cacti/site.
You will need to change global.php (and maybe include.php) located at /usr/share/cacti/site/include to enter your correct mysql settings

If this process fails for whatever reason, ensure that you have correct permissions on the site and files
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
tenge911
Posts: 4
Joined: Thu Aug 26, 2010 2:41 pm

new install, not graphing

Post by tenge911 »

hi there, i have a new install and have following this guide to the letter

the only main diff would be ubuntu 10, instead of 9

here is what i have done

fresh install of ubuntu, setup as lamp
once installed i did - sudo apt-get install php5 php5-gd php5-mysql
once installed i did - sudo apt-get install cacti-spine

I hit OK to the frist question about php path change, then chose apache2, chose yes for database config, enctered the root password for mysql, added cacti password and then confirmed it, then onto the next step, configuring cacti

my screen was the same as the one from the tutorial, and everything was green, logged in and changed cacti admin pass, went to poller path to verfify spine, changed poller type to spine



NOW, here is the issue
I have added two cisco routers, chose SNMP v1, put in the appropriate community name, and verfied with the ios version show in the top left of cacti

i created a cpu and interface graph

when i click on graphs, the graphs show up, but they never show any data
i know the cpu should be at least 20 percent, and the traffic on both of them is aroudn 30 m all the time

i am not really sure what to check
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Make sure that you have a poller job set up in cron. If the poller doesn't run, CACTI will never collect any data.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
tenge911
Posts: 4
Joined: Thu Aug 26, 2010 2:41 pm

Post by tenge911 »

ok, thank you for your help

can you tell me how you got that php summary on your auto sig ?

is that some sort of php diagnostic you ran on the webserver ?

i think that is a great debug info gather tool
Albertowed
Posts: 1
Joined: Tue Jan 07, 2014 2:06 pm
Location: Eritrea
Contact:

HOWTO Installation on Ubuntu 9 10 Karmic Server

Post by Albertowed »

First you must make sure that you have at least one dedicated IP address for this server. Every SSL enabled host must be on a different IP address

Setting up Lighttpd can be more extensive than this, but here some basic instructions:

Code:
andy2
Posts: 1
Joined: Sun May 11, 2014 4:54 am

Re: [HOWTO] Installation on Ubuntu 9.10 (Karmic) Server

Post by andy2 »

Can I follow this guide if I have Ubuntu 14.04?
kjstech
Cacti User
Posts: 97
Joined: Thu Feb 28, 2013 2:57 pm

Re: [HOWTO] Installation on Ubuntu 9.10 (Karmic) Server

Post by kjstech »

issue is if you run apt-get install cacti, it installs version 0.8.7i.

The latest is 0.8.8b. So no automatic install of the latest version through aptitude yet... unless someone knows a source to add that has the latest version in .deb format.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest