[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: Moderators, Developers

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

[HOWTO] Installation on Ubuntu 9.10 (Karmic) Server

#1 Post by gg234 » Thu Jan 21, 2010 10:50 am

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?

#2 Post by sdog » Wed Mar 31, 2010 10:10 am

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: 1874
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

#3 Post by mcutting » Thu Apr 01, 2010 5:27 am

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

#4 Post by tenge911 » Fri Aug 27, 2010 10:39 am

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: 1874
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

#5 Post by mcutting » Fri Aug 27, 2010 10:42 am

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

#6 Post by tenge911 » Mon Aug 30, 2010 1:04 pm

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

#7 Post by Albertowed » Sun Jan 12, 2014 8:48 am

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

#8 Post by andy2 » Sun May 11, 2014 5:17 am

Can I follow this guide if I have Ubuntu 14.04?

kjstech
Cacti User
Posts: 66
Joined: Thu Feb 28, 2013 2:57 pm

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

#9 Post by kjstech » Fri May 16, 2014 8:46 am

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