Cacti On Centos

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

sphillips237
Cacti User
Posts: 61
Joined: Sat Dec 31, 2011 4:15 pm
Contact:

Cacti On Centos

Post by sphillips237 »

Hello,

I am trying to install Cacti on Centos 6.02; but, I cannot find any literature on how to complete the install can some assit me please..

Many thanks
amin17
Posts: 13
Joined: Thu Jan 03, 2013 7:25 am

Re: Cacti On Centos

Post by amin17 »

I installed cacti 0.8.8a on Centos 6.3.. this was very easy and great.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Cacti On Centos

Post by phalek »

E.g.: http://blog.network-outsourcing.de/cact ... ing-cacti/

or look through the HowTo section on this forum.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
sphillips237
Cacti User
Posts: 61
Joined: Sat Dec 31, 2011 4:15 pm
Contact:

Re: Cacti On Centos

Post by sphillips237 »

Ok, I was able to install Cacti on Centos 6.02. With that being said, I would like some assistance with how to install the plugins. Does anyone have any documentation on how to install and configure the plugins on a Centos platform???

Thanks
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Cacti On Centos

Post by phalek »

Simple:

Download the and extract the plugin to the the "plugins" directory. Then go to Cacti -> Console -> Plugin Management and install/enable it there.

Look here for a more thorough guide: http://docs.cacti.net/plugins.install
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
sphillips237
Cacti User
Posts: 61
Joined: Sat Dec 31, 2011 4:15 pm
Contact:

Re: Cacti On Centos

Post by sphillips237 »

OK.... but from my Centos environment, I cd /var/www/cacti and did not see a plugins directory.. Centos is running version 0.8.8a of cacti...

Should I mkdir plugin or do I have the wrong software release???
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Cacti On Centos

Post by phalek »

And you did install it by source, right ( e.g. following the blog on network-outsourcing.de ) or did you "yum install" it ?

0.8.8a does contain PIA and the zip as well as the tar archive on the cacti.net page does contain this plugins dir.

Maybe creating the directory works, just try it out and you'll see ;-)
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
sphillips237
Cacti User
Posts: 61
Joined: Sat Dec 31, 2011 4:15 pm
Contact:

Re: Cacti On Centos

Post by sphillips237 »

Yes I did use the yum install comamnd... Before i proceed with this theory, I backup what i have by executing cp -rf cacti cacti-org

Next I will download the PA version, extract it, cp the contents from the PA version to /var/www/cacti

reboot the system and see what happens..

I will let you know the results
sphillips237
Cacti User
Posts: 61
Joined: Sat Dec 31, 2011 4:15 pm
Contact:

Re: Cacti On Centos

Post by sphillips237 »

Ok, I was able to add the preferred plugins. However I logged in and noticed the following errors..

Column 'force' from table 'manage_host' : OK (not here) (0.2/0.5.2)
Table 'manage_host_services' : OK (not here) (0.1/0.5)
Column 'services' from table 'manage_host' : OK (not here) (???/0.5.2)
Table 'manage_device_type' : OK (not here) (0.2/0.5.2)

I also noticed that when I click on the monitor tab all the nice tabs at the top disappear, there is a X beside the words, and also after clicking on syslog, thold and PHP Networking Managing tab, I get a webpage cannot be found message..

I think the way I installed the PA is not accurate.. Read the above message to see how the PA was installed on Centos system..
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Cacti On Centos

Post by phalek »

I'd suggest you install cacti by source instead of using yum so you can follow the documentation and other guides which are based on it
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
sphillips237
Cacti User
Posts: 61
Joined: Sat Dec 31, 2011 4:15 pm
Contact:

Re: Cacti On Centos

Post by sphillips237 »

I can do that; but, I will need your assisitance on how and where I can get the source instructions from... Are the instructions, on this site or will I have to go to another site.

Please provide me with the URL which will enable me to install Cacti on Centos 6.02
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Cacti On Centos

Post by phalek »

As I posted earlier, either go here:
http://blog.network-outsourcing.de/cact ... ing-cacti/

or look at the HowTo section here in this forum. There are some documents in there as well describing this.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
sphillips237
Cacti User
Posts: 61
Joined: Sat Dec 31, 2011 4:15 pm
Contact:

Re: Cacti On Centos

Post by sphillips237 »

Ok... although i have not performed the suggested install from the recommended link. I did notice that this recommendation is not any different from many other Centos installs, which brings me to my next question, how will i successfully install the plugin feature if the URL you provided does not mention anything regarding plugins...
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Cacti On Centos

Post by phalek »

Cacti 0.8.8a from source contains the Plugin Architecture (PIA) so you only need to install Cacti 0.8.8a and then you can follow the guide here:

http://docs.cacti.net/plugins.install

Did you even try installing it ??
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
sphillips237
Cacti User
Posts: 61
Joined: Sat Dec 31, 2011 4:15 pm
Contact:

Re: Cacti On Centos

Post by sphillips237 »

I am new to this and please forgive for asking a question I should already have the answer to... But your message states source version 0.8.8a already has the PA; therefore, all I will need to do is download the preferred plugins and place the plugin in /var/www/cacti/plugins.. Downloading the plugins is not the concern. My concern is the source version 0.8.8a. Are you saying the yum command will not download the correct PA version and I should use the wget <url:source version 0.8.8a> command to instead..

Should i manually download the *.tgz cacti file and then use tar -zxfc command to extract to /var/www/cacti

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests