Install Cacti on OSX Server 10.8 - 10.9

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
emergel
Posts: 4
Joined: Mon Jan 07, 2013 1:31 pm

Install Cacti on OSX Server 10.8 - 10.9

Post by emergel »

I looked high and low for help getting this setup and since I couldn't find any information.

I Wrote a installation guide for people looking to install this on OSX server.

I also Referenced Eddy Freeman's guide over on The Blinking Light http://theblinkinglight.com/2010/07/mon ... ith-cacti/ for getting an Apple Airport to work with it.

I have updated the guide to include the latest one for 10.9 server.

My install Guide is located here.
10.8 server
http://10100.org/blog/how-to-install-ca ... server-108
10.9 server
http://10100.org/blog/how-to-install-ca ... server-109

Post questions if you have them, Ill monitor this thread and the website.

Eddy Freeman's post:

http://forums.cacti.net/viewtopic.php?f=12&t=38377
Last edited by emergel on Fri Dec 06, 2013 3:11 pm, edited 2 times in total.
emergel
Posts: 4
Joined: Mon Jan 07, 2013 1:31 pm

Re: Install Cacti on OSX Server 10.8

Post by emergel »

I recently updated this to include the pango fixes some users were reporting.
theyboosting
Posts: 1
Joined: Mon May 20, 2013 8:54 am

Re: Install Cacti on OSX Server 10.8

Post by theyboosting »

I was successfully able to get Cacti running on 10.8 via your guide (thanks) I'm having issues getting the graphs to pool tho..
emergel
Posts: 4
Joined: Mon Jan 07, 2013 1:31 pm

Re: Install Cacti on OSX Server 10.8 - 10.9

Post by emergel »

added the 10.9 server guide which should now be used instead of the original 10.8 one.
Aliraza482
Posts: 1
Joined: Sat Nov 22, 2014 12:56 am

Re: Install Cacti on OSX Server 10.8 - 10.9

Post by Aliraza482 »

Hi

Thanks for your tips with VDEF.

I'm trying to use the VDEF TOTAL in the graph template to obtain the total data accumulated for a determinated time range ( the area of the graph! ) but I can not do it !

Could you help me? How can I build a graph template with VDEF TOTAL?

Thanks.
stryker412
Posts: 6
Joined: Thu Jan 08, 2015 1:55 pm

Re: Install Cacti on OSX Server 10.8 - 10.9

Post by stryker412 »

Has anyone been successful in getting this to run on OSX server? I started the install today but the version of Workbench is vastly different than when the tutorial was written. When I try to go to the local install of cacti it pulls up the code for the php pages not the graphic versions.
emergel
Posts: 4
Joined: Mon Jan 07, 2013 1:31 pm

Re: Install Cacti on OSX Server 10.8 - 10.9

Post by emergel »

I haven't kept it updated. But Ill see about writing a new one for 10.10 server.
stryker412
Posts: 6
Joined: Thu Jan 08, 2015 1:55 pm

Re: Install Cacti on OSX Server 10.8 - 10.9

Post by stryker412 »

Thanks, I went through it today as best I could. When I go to load up the install page for Cacti, I get the code of that file coming up.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Install Cacti on OSX Server 10.8 - 10.9

Post by BSOD2600 »

emergel:
Please consider creating your documentation under the Installation section in http://docs.cacti.net/manual:088 If there are minor adjustments for OSX 10.8, .9, .10, they could be all combined into the various subsections (web server, mysql, php, etc).
stryker412
Posts: 6
Joined: Thu Jan 08, 2015 1:55 pm

Re: Install Cacti on OSX Server 10.8 - 10.9

Post by stryker412 »

I really just need help on the Workbench section since 1) I've never used it and 2) it looks to have changed a lot since you wrote your tutorial last.

Edit: I think I've now got it to a point to begin setup of cacti but when loading up https://127.0.0.1/cacti/install.php I get a blank page.

Edit2: Loaded the old version of Workbench and followed the instructions again, but still getting a blank page. Console is saying there is a php parse error on line 28 (database hostname).
urzh
Posts: 13
Joined: Sat Jul 13, 2013 4:04 pm

Re: Install Cacti on OSX Server 10.8 - 10.9

Post by urzh »

I'm installing cacti on mac 10.10. I'm getting "Parse error: parse error in /cacti/include/config.php on line 28" which is the database hostname line (using 127.0.0.1). It's configured correctly. I'm wondering mac 10.10 or this version of cacti is causing some hiccup.
stryker412
Posts: 6
Joined: Thu Jan 08, 2015 1:55 pm

Re: Install Cacti on OSX Server 10.8 - 10.9

Post by stryker412 »

See my post above, I get the same thing on 10.9.
stryker412
Posts: 6
Joined: Thu Jan 08, 2015 1:55 pm

Re: Install Cacti on OSX Server 10.8 - 10.9

Post by stryker412 »

I was able to get a little further but now getting this error:

FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php

I used:

$database_type = "mysql";
$database_default = "cacti";
$database_hostname = “localhost”;
$database_username = "cactiuser";
$database_password = “cactiuser”;
$database_port = "3306";
$database_ssl = false;

Also, urzh change your database hostname from 127 to localhost and you won't get the blank page anymore. You'll get what I have.
stryker412
Posts: 6
Joined: Thu Jan 08, 2015 1:55 pm

Re: Install Cacti on OSX Server 10.8 - 10.9

Post by stryker412 »

Any progress on an updated tutorial? Still can't get this to work.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests