
# Settings plug-in
cd /usr/src
fetch http://cactiusers.org/downloads/settings.tar.gz
tar xvf settings.tar.gz -C /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Hostinfo plug-in
cd /usr/src
fetch http://cactiusers.org/downloads/hostinfo.tar.gz
tar xvf hostinfo.tar.gz -C /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Monitor plug-in
cd /usr/src
fetch
http://cactiusers.org/downloads/monitor.tar.gz
tar xvf monitor.tar.gz -C /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Threshold plug-in (thold)
cd /usr/src
fetch
http://cactiusers.org/downloads/thold.tar.gz
tar xvf thold.tar.gz -C /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Devices plug-in
cd /usr/src
fetch http://wotsit.thingy.com/haj/cacti/devices-0.4.zip
unzip devices-0.4.zip
mv devices /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Syslog plug-in
(Previously known as the Haloe plug-in)
cd /usr/src
fetch
http://cactiusers.org/downloads/syslog.tar.gz
tar xvf syslog.tar.gz -C /usr/local/www/data/cacti/plugins/
# Configure the syslog database for the Syslog plug-in
# Create the syslog database and import the table
structures used by the Syslog Cacti plug-in
/usr/local/bin/mysqladmin --user=mysql --password=mysqlpassword create syslog
/usr/local/bin/mysql --user=mysql --password=mysqlpassword syslog < /usr/local/www/data/cacti/plugins/syslog/syslog.sql
# Give permission for the cacti
database user to access the syslog database tables
/usr/local/bin/mysql --user=mysql --password=mysqlpassword
mysql
GRANT ALL ON syslog.* TO cactiuser@localhost IDENTIFIED BY 'cactipassword';
GRANT ALL ON syslog.* TO cactiuser@"%" IDENTIFIED BY 'cactipassword';
flush privileges;
exit
# Also edit the Syslog configuration to access the database
vi /usr/local/www/data/cacti/plugins/syslog/config.php
$haloedb_username = "cactiuser";
$haloedb_password = "cactipassword";
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Complete the Syslog-NG instructions to get messages
flowing into the database
http://www.NMSWorld.com/UNIX/Syslog-NG.htm
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Superlinks plug-in
cd /usr/src
fetch
http://wotsit.thingy.com/haj/cacti/superlinks-0.72.zip
unzip superlinks-0.72.zip
mv superlinks /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# WARNING: REALTIME V0.34 FAILS - IT NEVER
CREATES THE RRD FILES EVEN WITH A WORLD WRITABLE DIRECTORY USED
#
Realtime
cd /usr/src
fetch
http://forums.cacti.net/download.php?id=13431
mv "download.php?id=13431" realtime.tar.gz
tar xvf realtime.tar.gz -C /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
mkdir
/usr/local/www/data/cacti/plugins/realtime/rcache
chmod a+wx /usr/local/www/data/cacti/plugins/realtime/rcache
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Zond plug-in
cd /usr/src
fetch
http://forums.cacti.net/download.php?id=14285
mv "download.php?id=14285" zond_v0.34c.tar.gz
tar xvf zond_v0.34c.tar.gz -C /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Discovery plug-in
cd /usr/src
fetch
http://cactiusers.org/downloads/discovery.tar.gz
tar xvf discovery.tar.gz -C /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Manage plug-in
cd /usr/src
fetch
http://gilles.boulon.free.fr/manage/manage-0.6.zip
unzip manage-0.6.zip
mv /usr/src/manage-0.6/ /usr/local/www/data/cacti/plugins/manage/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Add Windows Services to Cacti:
http://forums.cacti.net/viewtopic.php?t=11232&start=0&postdays=0&postorder=asc&highlight=
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

#
Monitor Processes!
http://forums.cacti.net/viewtopic.php?t=6661

# Nettools plug-in (Network Tools)
cd /usr/src
fetch
http://forums.cacti.net/download.php?id=13969
mv "download.php?id=13969" nettools.tar.gz
tar xvf nettools.tar.gz -C /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# xmlport
cd /usr/src
fetch
http://forums.cacti.net/download.php?id=13919
mv "download.php?id=13919" xmlport.tar.gz
tar xvf xmlport.tar.gz -C /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Install Pear Archive Tools
pear install Archive_Zip-0.1.1
pear install Archive_Tar-1.3.2
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Manage plug-in
cd /usr/src
fetch
http://gilles.boulon.free.fr/manage/manage-0.5.1.zip
unzip manage-0.5.1.zip
mv /usr/src/manage/ /usr/local/www/data/cacti/plugins/
# Convert line breaks with carriage returns
cd /usr/local/www/data/cacti/plugins/manage
dos2unix *
cd wmi/
dos2unix *
cd ..
cd sql/
dos2unix *
cd ..
cd include/
dos2unix *
cd ..
# Apply
Streaker's fixes!
#
Some files needed to be updated with
global.php includes which are listed:
# manage_ajax.php:include_once("./include/global.php");
# manage_check.php:include(dirname(__FILE__) .
"/../../include/global.php");
# manage_debug.php:include_once("./include/global.php");
# manage.php:include_once("./include/global.php");
# poller_manage.php:include(dirname(__FILE__) .
"/../../include/global.php");
# Couple more
things:
# 1. The following line needs to be edited
in manage_check.php:
# include_once($config["base_path"] .
"/plugins/thold/thold_functions.php");
# it did read
# include_once($config["base_path"] .
"/plugins/thold/thold-functions.php");
# 2. chmod +x
poller_manage.php
needed to be done on my system to make the poller work right.
# Fix the database
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# MAC Track plug-in
cd /usr/src
fetch http://cactiusers.org/downloads/mactrack.tar.gz
tar xvf mactrack.tar.gz -C /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Fix up the database:
cd /usr/local/www/data/cacti/plugins/mactrack/
dos2unix *
/opt/mysql/bin/mysql --user=root -p cacti <
/usr/local/www/data/cacti/plugins/mactrack/mactrack.sql.0.0.1
/usr/local/bin/php
/usr/local/www/data/cacti/plugins/mactrack/database_upgrade.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Aggregate plug-in
cd /usr/src
wget
http://forums.cacti.net/download.php?id=11439
mv "download.php?id=11439" aggregate-v064.tgz
tar xvf aggregate-v064.tgz -C /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Docs plug-in
cd /usr/src
fetch
http://cactiusers.org/downloads/docs.tar.gz
tar xvf docs.tar.gz -C /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# RRDCleaner plug-in
cd /usr/src
wget
http://forums.cacti.net/download.php?id=10935
mv "download.php?id=10935" rrdclean-0.32.tgz
tar xvf rrdclean-0.32.tgz -C /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# B.A.S.E. plug-in
# Prerequisite: Have a working Snort / B.A.S.E. installation
already configured and running -
Here is my FreeBSD Snort / BASE instructions!
cd /usr/src
wget
http://forums.cacti.net/download.php?id=9002
mv "download.php?id=9002" base-0.1.tar.gz
tar xvf base-0.1.tar.gz -C /usr/local/www/data/cacti/plugins/
mv /usr/local/www/data/cacti/plugins/base-0.1/base/
/usr/local/www/data/cacti/plugins/base/
rm -R /usr/local/www/data/cacti/plugins/base-0.1
# Convert to UNIX
cd /usr/local/www/data/cacti/plugins/base/
dos2unix *
# Hack source for FreeBSD and implement
Streaker's fixes too
vi /usr/local/www/data/cacti/plugins/base/base.php
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Instructions not yet completed!
# Boost plug-in
cd /usr/src
fetch
http://cactiusers.org/downloads/boost.tar.gz
tar
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Report IT plug-in
cd /usr/src
fetch
http://superb-east.dl.sourceforge.net/sourceforge/cacti-reportit/reportit_v051.tar.gz
tar xvf reportit_v051.tar.gz -C /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes
# Note: Additional configuration via
the Cacti web interface is required to run this plug-in, please read
and follow the author's instructions!

# Poller Performance plug-in
cd /usr/src
wget
http://forums.cacti.net/download.php?id=8695
mv "download.php?id=8695" pollperf-v0.32.tgz
tar xvf pollperf-v0.32.tgz -C /usr/local/www/data/cacti/plugins/
# Update the cacti
database
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Instructions not yet completed!
# Configmanager plug-in
cd /usr/src
wget
http://forums.cacti.net/download.php?id=6449
mv "download.php?id=6449" configmanager0.75.zip
unzip configmanager0.75.zip
mv /usr/src/configmanager0.75
/usr/local/www/data/cacti/plugins/configmanager
wget
http://forums.cacti.net/download.php?id=10980
mv "download.php?id=10980" sharednetworkclass0.36.zip
unzip sharednetworkclass0.36.zip
mv /usr/src/sharednetworkclass0.36/
/usr/local/www/data/cacti/plugins/sharednetworkclass
cp /usr/local/www/data/cacti/plugins/configmanager/secure.cfg.example
/usr/local/www/data/cacti/plugins/configmanager/secure.cfg
cp
/usr/local/www/data/cacti/plugins/configmanager/securecompare.cfg.example
/usr/local/www/data/cacti/plugins/configmanager/securecompare.cfg
# Convert to UNIX format
cd /usr/local/www/data/cacti/plugins/configmanager/
dos2unix *
cd /usr/local/www/data/cacti/plugins/configmanager/temp
dos2unix *
cd /usr/local/www/data/cacti/plugins/configmanager/scripts
dos2unix *
cd /usr/local/www/data/cacti/plugins/configmanager/include
dos2unix *
cd /usr/local/www/data/cacti/plugins/configmanager/include/treeview
dos2unix *
cd /usr/local/www/data/cacti/plugins/configmanager/include/jscalendar
dos2unix *
cd /usr/local/www/data/cacti/plugins/configmanager/include/jscalendar/lang
dos2unix *
cd /usr/local/www/data/cacti/plugins/configmanager/html
dos2unix *
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Subnet Calculator plug-in
cd /usr/src
wget
http://forums.cacti.net/download.php?id=6573
mv "download.php?id=6573" ipsubnet.tar.gz
tar xvf ipsubnet.tar.gz -C /usr/local/www/data/cacti/plugins/
mv /usr/local/www/data/cacti/plugins/ipsubnet?.??
/usr/local/www/data/cacti/plugins/ipsubnet/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxe

# Cycle plug-in
cd /usr/src
mkdir cycle
cd cycle
# Download
http://forums.cacti.net/download.php?id=10912
wget
http://forums.cacti.net/download.php?id=10912
mv "download.php?id=10912" cycle.zip
unzip cycle.zip
cd ..
mv /usr/src/cycle/ /usr/local/www/data/cacti/plugins/
# Fix 0.4 issue
vi /usr/usr/local/www/data/cacti/plugins/cycle/ajax.php
# Add this additional include line near the top:
include_once("./include/global.php");
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# NTop plug-in
# Prerequisite: Have a working NTop installation already
configured and running -
Here
is my FreeBSD NTop instructions!
cd /usr/src
fetch http://cactiusers.org/downloads/ntop.tar.gz
tar xvf ntop.tar.gz -C /usr/local/www/data/cacti/plugins/
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

# Instructions not yet completed!
# Weathermap plug-in
cd /usr/src
fetch
http://www.network-weathermap.com/files/php-weathermap-0.95b.zip
unzip php-weathermap-0.95b.zip
mv weathermap /usr/local/www/data/cacti/plugins/weathermap
cp /usr/local/www/data/cacti/plugins/weathermap/editor-config.php-dist
/usr/local/www/data/cacti/plugins/weathermap/editor-config.php
# Edit the Weathermap configuration file
vi /usr/local/www/data/cacti/plugins/weathermap/editor-config.php
$cacti_base = "/usr/local/www/data/cacti";
$config['base_url']='http://172.28.0.12/cacti/';
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes


# Instructions not yet completed!
# Reports plug-in
cd /usr/src
fetch http://download.cactiusers.org/downloads/reports.tar.gz
tar xvf reports.tar.gz -C /usr/local/www/data/cacti/plugins/
# Configure the Reports table in the cacti database
/opt/mysql/bin/mysql --user=cactiuser -p cacti <
/usr/local/www/data/cacti/plugins/reports/reports.sql
cactipassword
# Add the plug-in to the array
vi /usr/local/www/data/cacti/include/global.php
# Reset file permissions
chown -R www:www /usr/local/www/data
# Log in to your Cacti web interface and verify that
the plug-in is working.
# Note: Many plug-ins require you to allow permission for each web
user to view and use the new plug-in.
# From the
Cacti web interface, Click the "Console" tab then click "User
Management" and pick the user of your choice and verify the check
boxes

The
following command will search for folders that are world writable:
find / -type d -perm -002
And the following command will search for files that are world
writable:
find / -type f -perm -002