Wednesday, October 29, 2008

Cacti 0.8.7b SNMPv3 Password Error

Thanks to Richard Bronsky on the www.cacti.net forums:

1. For installations on Ubuntu 8.04, go here:
/usr/share/cacti/site

2. Pre-work
sudo apt-get install curl patch

3. THIS IS IMPORTANT. Verify the validity of the URI like this:
sudo curl -L http://forums.cacti.net/download.php?id=14681

4. If it looks like a safe patch, then apply it directly from that URI via curl:
sudo curl -L http://forums.cacti.net/download.php?id=14681|sudo patch -p1 -N

Installing Cacti on Ubuntu 8.04

For some reason that I can't claim to understand, mysql-server is a recommended dependency for the current cacti package (0.8.7b), not installing it first causes the kind of failures you can clearly project. So, do this first.

sudo apt-get install mysql-server

Then, onto the installation...
sudo apt-get install cacti

Where, oh where is the crontab entry for this thing; grep told me its in the cacti file in /etc/cron.d