[HOWTO] Cacti Install Guide CentOS 6 - 64

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

romgo1
Posts: 9
Joined: Tue Mar 19, 2013 10:15 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by romgo1 »

Hello,

just one thing :
Make the configs directory writeable by the user
# chmod 777 configs

Make the output directory writable by the user
# chmod 777 output
chmod 777 is evil and should be avoid :)
Should provide ownership to the apache user.

Regards,
SOtneC
Posts: 2
Joined: Mon Jun 03, 2013 4:19 pm

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by SOtneC »

Hi, I followed this guide but when I get to the step where I need to complete cacti installation via web installer i got stuck...

When I type in browser http://myhttpdipaddress/cacti
i get 403 Forbidden error window.

What should I do now?

P.S. I followed every step from your guide succesfully till that part
DWAyotte
Posts: 32
Joined: Wed Mar 28, 2007 1:37 pm

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by DWAyotte »

SOtneC wrote:Hi, I followed this guide but when I get to the step where I need to complete cacti installation via web installer i got stuck...

When I type in browser http://myhttpdipaddress/cacti
i get 403 Forbidden error window.

What should I do now?

P.S. I followed every step from your guide succesfully till that part

When I ran into this issue myself it was because I didn't un-comment the appropriate lines here: vi /etc/httpd/conf.d/cacti.conf
SOtneC
Posts: 2
Joined: Mon Jun 03, 2013 4:19 pm

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by SOtneC »

Yes. That's the problem that I had. I didn't add right directive in to allow access in cacti.conf.

Thank You anyway.
P.S. Great job for this guide.
Ahndy
Posts: 7
Joined: Fri Jun 28, 2013 1:03 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by Ahndy »

Great work Sir. Thanks for this.
But how can i found out that the plugins i installed was totally working?
especially WMI plugins?
Thanks. :)
lethe6
Posts: 2
Joined: Thu Aug 08, 2013 8:40 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by lethe6 »

Thanks for this great howto.

Question: Does anyone have the advanced ping files, jqueryskin and the watermark files? The mirrors time out and freedrive gives errors...

Thanks!
nibb
Posts: 10
Joined: Wed Sep 18, 2013 2:18 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by nibb »

Thanks for this nice guy, it worked fine except the external plugins which you linked.

That page does not work so I could not download them either. Also, why are they not in the official Cacti page?

I don´t usually feel safe or trust external non supported stuff and I assume there are not in the Cacti plugins page for a reason as opposed to the rest. But anyway, they don´t work. That page you linked which has the 3 plugins, timeouts or gives an error when you try to download them.

I still could install and use the guide fine, leaving those plugins aside. Are they really important? Since I don´t see any particular broken or not working my test setup.
starkers
Posts: 8
Joined: Thu Feb 07, 2013 3:48 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by starkers »

Yes they're down still, I was wanting them today also..

I suppose I could try to restore an old instance of CactiEZ ( for the jqueryskin )
...will update you mate
lethe6 wrote:Thanks for this great howto.

Question: Does anyone have the advanced ping files, jqueryskin and the watermark files? The mirrors time out and freedrive gives errors...

Thanks!
User avatar
mauirixxx
Posts: 3
Joined: Wed Nov 19, 2008 5:17 pm
Location: Pukalani, HI

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by mauirixxx »

starkers wrote:Yes they're down still, I was wanting them today also..

I suppose I could try to restore an old instance of CactiEZ ( for the jqueryskin )
...will update you mate
lethe6 wrote:Thanks for this great howto.

Question: Does anyone have the advanced ping files, jqueryskin and the watermark files? The mirrors time out and freedrive gives errors...

Thanks!
As of October 8, no status change on the watermark and jqueryskin availability. I looked at the CactiEZ and was able to extract the watermark and jqueryskin RPM's out of it, could those be used if the intended plugins aren't made available any time soon?

EDIT: Figured it out. I downloaded CactiEZ, ripped the watermark and jqueryskin rpm's out of the ISO file. Used 7-Zip to extract the cpio file out of the rpm. SCP'd the cpio files to my Cacti server, and did "cpio -idmv < filename.cpio" and found the the watermark and jqueryskin subfolders from the extracted files, and moved them to the Cacti plugins folder. Refreshed the Cacti plugins page, and "installed" them both. Googled the name of the advanced ping template v2.2 and found it on a code.google.com site --> http://code.google.com/p/ftqzy-it-code/ ... l&can=2&q= <-- for those interested.

In any case, since the links in the initial post are pretty much dead (the first mirror filed for bankruptcy, 2nd one just refuses to work), I've made them available for the rest of us.

Enjoy people! :D
Attachments
cacti_graph_template_ping_advanced_ping_v2_2.zip
advanced ping template v2.2
(6.04 KiB) Downloaded 1564 times
watermark.tgz
watermark plugin
(7.7 KiB) Downloaded 987 times
jqueryskin.tgz
jqueryskin plugin
(455.11 KiB) Downloaded 546 times
kevinmorales
Posts: 13
Joined: Wed Mar 13, 2013 10:57 am
Location: Nicaragua

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by kevinmorales »

Hello, you can follow this link for install Cacti on Centos 6.x!..

http://blog.network-outsourcing.de/cact ... ing-cacti/
Kevin Morales
dexx
Posts: 28
Joined: Thu Jan 13, 2011 12:45 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by dexx »

What version of Centos would you recommend for Cacti?
dulebeograd
Posts: 14
Joined: Wed Mar 19, 2014 7:25 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by dulebeograd »

Hi everyone!
Just want to thank ukzerosniper as this is the only tutorial on internet I could install cacti on Centos!
I have just one stupid question:
How come I cant access the Cacti server over network?
Everytime I get error - wrong username/password..

Which file should I modify or where should I create user for accessing Cacti over network?
dulebeograd
Posts: 14
Joined: Wed Mar 19, 2014 7:25 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by dulebeograd »

Ok,
I have just figured it out!

Default to access cacti first time over network is:
username: admin
password: admin
patilraosaheb
Posts: 1
Joined: Thu Apr 17, 2014 6:21 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by patilraosaheb »

Getting below error

ERROR 1050 (42S01) at line 5: Table 'cdef' already exists.

Please help
imrank0
Posts: 1
Joined: Thu Mar 19, 2015 2:45 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by imrank0 »

Upon creating database. It creates it but doesn’t write the second line and so does with the next flush privileges line, AND do not create a database. it creates a line but says 0-Rows affected.
“mysql> GRANT ALL ON cacti.* TO cacti@localhost IDENTIFIED BY ‘The-Password-I-Set';
Query OK , 0 rows affected (0.09 sec)”
It creates the database cacti.sql file though as i can locate the cacti.sql file’s location. but when I go installing the table it says ” ERROR 1049 (42000): Unknown database ‘cacti'”.
Send help please.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests