KnoAll / cacti-template

Cacti Graphing system install, update, backup and restore scripts, and virtual appliance template
http://www.kevinnoall.com
GNU General Public License v3.0
16 stars 7 forks source link
almalinux bash-script bash-scripting cacti cacti-deployment cacti-install cacti-templates cacti-upgrade centos7 centos7-image raspberrypi rockylinux shell-script shell-scripting smokeping smokeping-install smokeping-upgrade spine upgrade-cacti

Cacti Logo

Initial Cacti installation

If you do not already have Cacti installed, you can install into a clean unused AlmaLinux or RockyLinux minimal using my Cacti installation script

Cacti upgrade

:warning: **[This upgrade script assumes you have Kevin's CentOS7 or AlmaLinux Cacti Template virtual appliance template] If you have gotten your Cacti install from Kevin's virtual appliance template .ova then this will work for you. You must not have made any changes to the Cacti directories or Apache settings. If you have installed Cacti via your own method or adjusted the template this will break your Cacti install!! :warning:

If you do not have Kevin's Cacti virtual appliance you can read more about it here. http://www.kevinnoall.com

Issues

This is all still actively being worked on, so you may see changes to how things work and interact. If you run into trouble with the script please submit an issue in the GitHub system above.

Initial Upgrade Setup Instructions

Based on a Kevin's CentOS/AlmaLinux/RockyLinux Cacti Template virtual appliance with Cacti v1.1.6 or greater, this script will upgrade to the current release: Run this from the command line...

bash <(curl -s https://raw.githubusercontent.com/KnoAll/cacti-template/master/bootstrap.sh)

Subsequent updates can be run by simply

./cacti-upgrade

from the cacti user's home directory.

Get help on the script for available switches/options, etc...

./cacti-upgrade --help

The script will:

Once the upgrade has been done, you must complete the installation from the Cacti web gui. After the gui install has been done, you must go to Utilities > System Utilities and select 'Rebuild Poller Cache' or you will see errors in the cacti log

Migrating to a new OS..

Moving your Cacti installation can be done by doing a backup from the source install using the --backup-data switch in the script. you can then do a fresh install on your new target AlmaLinux or RockyLinux clean system. Once it is installed and running you can restore your previous backup with --restore-data.