Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat May 25, 2019 10:09 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: cacti server setup wizard script
PostPosted: Tue Apr 30, 2019 10:24 am 
Offline

Joined: Wed Mar 13, 2019 3:37 pm
Posts: 27
Location: toronto
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!


Top
 Profile  
 
 Post subject: Re: cacti server setup wizard script
PostPosted: Thu May 02, 2019 8:10 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2474
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).

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: cacti server setup wizard script
PostPosted: Thu May 02, 2019 8:34 am 
Offline

Joined: Wed Mar 13, 2019 3:37 pm
Posts: 27
Location: toronto
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


Top
 Profile  
 
 Post subject: Re: cacti server setup wizard script
PostPosted: Fri May 03, 2019 5:42 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2474
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).

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: cacti server setup wizard script
PostPosted: Sat May 11, 2019 12:28 pm 
Offline

Joined: Wed Mar 13, 2019 3:37 pm
Posts: 27
Location: toronto
New version of the script for Centos systems !

same features as the Ubuntu/Debian script!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group