If you do not already have Cacti installed, you can install into a clean unused CentOS7 minimal or Raspian Stretch Lite using my Cacti installation script
If you do not have Kevin's CentOS7 virtual appliance you can read more about it here. http://www.kevinnoall.com/blog/cacti
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.
Based on a Kevin's CentOS7 Cacti Template virtual appliance 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.
The script will:
- download the cacti-upgrade.sh script
- check for proper user
- check for cacti version compatiblity
- backup the cacti db into an archive in the cacti directory
- upgrade cacti to the current production release
- preserve your existing data by copying over all data rras, script and snmp queries, resource files, and plugins
- upgrade spine to the current production release
- upgrade centos with any updates nessesary for compiling spine
- archive your previous cacti install
- ask if you would like to check for a compatible Smokeping upgrade
- walks through Smokeping upgrade if desired backing up all data
- ask if you use smokeping, and gives options to dis/enable the service
- can be useful if you are not using smokeping so that you are not polling/pinging targets without using the data
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