It’s time to upgrade my Cacti installs and also upgrade UnifiedTrees to work with the new version of Cacti. Be aware that it’s likely that the GitHub repo will be under active development for a while, so I’d recommend downloading from the releases page. There’s some information in the original blog post about UT. Install should be fairly simple:
- Unzip it into your Cacti plugins directory.
- Do the whole “install” “enable” in Plugins Management.
- Go through the settings (depending on how many Cacti installs you have, pick a server and then make everyone else a client).
- Don’t forget database users and all that.
First, the good news:
- UnifiedTrees 1.0 (and above) shouldn’t require any patching.
- If you’re running in a mixed environment (where you haven’t upgraded all of your Cacti instances to 0.8.8f and might be running UnifiedTrees 0.8) it should handle switching to the older server fairly painlessly, and an individual Cacti install is what renders the tree, even if it’s a client. So you can have a server running 0.8 and a client running 1.0 or visa versa. Theoretically, anyway.
- The database didn’t change, and the back-end tree collection did not change.
The bad news:
- It won’t be supported on Cacti earlier than 0.8.8f and I doubt seriously that it will work at all on 0.8.8b and earlier.
- Upgrading UT should be done during the same process as upgrading Cacti. In my case, it involved setting up a separate directory, doing “git clone”s in the plugins directory of that new Cacti directory. What I do with Cacti is create the new/upgrade install into a directory that includes a version tag in the name and then change a non-tagged symlink when I’m ready to pull the trigger. Additional notes on that:
- In your preferred method, trigger a Poller Cache rebuild – that will probably fix any rra path issues.
- You may need to bounce (disable/enable) the UT plugin for the new version to truly kick in.
- There’s likely a lot of old code that’s not even used.
- It hasn’t been tested much (yet), so it’s probably a bit buggy.
Evil gritty details: