cacti server setup wizard script

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

Moderators: Developers, Moderators

Post Reply
bmfmancini
Cacti User
Posts: 250
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

cacti server setup wizard script

Post by bmfmancini »

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!
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband

Cacti Bug Hunter and Member

www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini

My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates

Always willing to help!
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: cacti server setup wizard script

Post by netniV »

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).
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
bmfmancini
Cacti User
Posts: 250
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: cacti server setup wizard script

Post by bmfmancini »

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
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband

Cacti Bug Hunter and Member

www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini

My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates

Always willing to help!
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: cacti server setup wizard script

Post by netniV »

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).
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
bmfmancini
Cacti User
Posts: 250
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: cacti server setup wizard script

Post by bmfmancini »

New version of the script for Centos systems !

same features as the Ubuntu/Debian script!
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband

Cacti Bug Hunter and Member

www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini

My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates

Always willing to help!
bmfmancini
Cacti User
Posts: 250
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: cacti server setup wizard script

Post by bmfmancini »

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
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband

Cacti Bug Hunter and Member

www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini

My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates

Always willing to help!
bmfmancini
Cacti User
Posts: 250
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: cacti server setup wizard script

Post by bmfmancini »

Centos/RHEL script V2 is now published
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband

Cacti Bug Hunter and Member

www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini

My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates

Always willing to help!
bmfmancini
Cacti User
Posts: 250
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: cacti server setup wizard script

Post by bmfmancini »

Some updates

The Centos version of the script can now configure remote pollers!!
this makes it simple to get up and running with remote pollers which some find a pain to get going

I will be updating the Ubuntu version of the script soon please check it out and let me know if you run into any issues!
Always looking for suggestions as well!!!
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband

Cacti Bug Hunter and Member

www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini

My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates

Always willing to help!
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests