(btw: I did this because I had a ping icmp problem, "Unable to create socket" with my old version, which was solved by this upgrade.)
I assume the original ubuntu package is already installed & configured: packagename is cacti and for spine: cacti-spine or cacti-cactid (depening on ubuntu release)
I unpacked cacti-0.8.7e.tar.gz in /usr/share/cacti and did the following
Code: Select all
cd /usr/share/cacti
mv site site.old
mv resource resource.old
ln -s cacti-0.8.7e site
mv site/resource/ .
ln -s resource/ site/
cp site.old/include/config.php site/include/
mkdir tags ; cd tags ; ln -s ../cacti-0.8.7e/ 0.8.7e; cd ..
wget http://www.cacti.net/downloads/patches/0.8.7e/cli_add_graph.patch
wget http://www.cacti.net/downloads/patches/0.8.7e/snmp_invalid_response.patch
patch -p1 -N < cli_add_graph.patch
patch -p1 -N < snmp_invalid_response.patch
I have no special scripts and work with the cmd poller, not with spine, so things might be somewhat more complicated in other situations.
Wessel