cacti server setup wizard script

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Post Reply
Author
Message
seanmancini
Posts: 47
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

cacti server setup wizard script

#1 Post by seanmancini » Tue Apr 30, 2019 10:24 am

Hey everyone

I have created a cacti setup wizard script ( Currently written for Debian/Ubuntu) but I am working on a RHEL/Centos version

https://github.com/bmfmancini/cacti-aut ... -wizard.sh

Needed it for my own purposes but thought id share with the community

- features are

-download either chosen or latest version of cacti
-autoconfigure database either with defaults or chose credentials
-auto tunes MariaDB using cacti recommended settings
-auto-populates cacti database
-downloads all needed packages for cacti install
-asks if you want to install spine if so it will automatically compile it
-adds system user and assigns permissions to folders
-downloads and installs plugins

I am still working out a few bugs and adding features let me know what you think?
Maybe we could include this in the default cacti repo so there would be a setup wizard for new users ???? (Admins what do you think )

Thanks!

netniV
Cacti Guru User
Posts: 2885
Joined: Sun Aug 27, 2017 12:05 am

Re: cacti server setup wizard script

#2 Post by netniV » Thu May 02, 2019 8:10 am

There is an installation cli program for the initialisation of cacti in the cli folder. It doesn't do the downloading of all the plugins etc. just initialises the basic system, automation networks and base packages (not plugins).

seanmancini
Posts: 47
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: cacti server setup wizard script

#3 Post by seanmancini » Thu May 02, 2019 8:34 am

Thanks!

Just to check does this install the OS packages?

I know of the install_cacti.php

but as far as I am aware that is only called on after the system is stood up i.e
LAMP installed and php packages etc

My script automates that process to get the server ready for cacti

You would still need to run the web install fo cacti

netniV
Cacti Guru User
Posts: 2885
Joined: Sun Aug 27, 2017 12:05 am

Re: cacti server setup wizard script

#4 Post by netniV » Fri May 03, 2019 5:42 am

No, this merely runs through the things we expect to be inplace and configured which is more these days that just setting a database version, etc. It installs the packages that are avilable in install/packages (I think).

seanmancini
Posts: 47
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: cacti server setup wizard script

#5 Post by seanmancini » Sat May 11, 2019 12:28 pm

New version of the script for Centos systems !

same features as the Ubuntu/Debian script!

seanmancini
Posts: 47
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: cacti server setup wizard script

#6 Post by seanmancini » Thu Aug 15, 2019 9:04 pm

Version 2.0 of the wizard is out

Which includes upgrading cacti to the latest version and spine installation
and of course a fresh install option

clone @ my GitHub https://github.com/bmfmancini/cacti-install-wizard.git

this is for Ubuntu/Debian only right now working on centos/rhel next

seanmancini
Posts: 47
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: cacti server setup wizard script

#7 Post by seanmancini » Sun Aug 18, 2019 7:11 pm

Centos/RHEL script V2 is now published

Post Reply