Home > autoposting, Cacti, docs, GNU/Linux, install, monitoring tools, Opensuse, plugin, tips > How to install Plugin Architecture Cacti and Mysql template for cacti

How to install Plugin Architecture Cacti and Mysql template for cacti


mysql cacti graphs

mysql cacti graphs

Update: 25/6/2009

The Plugin Architecture for Cacti was designed to be both simple in nature and robust enough to allow freedom to do almost anything in Cacti. Cacti itself is designed nicely enough that integrating into it is fairly easy with very little modifications necessary. teMySQLcacti is A highly-modified version of MySQL monitoring templates for Cacti. You import a single host, which includes a bunch of graphs and graph types. To install it you must install Plugin Architecture Cacti first. 

Prepare to install Plugin Architecture Cacti:

1. Fresh installation cacti (recommanded)
Recommanded using fresh installation cacti or your cacti will not work. You can see how to install cacti on previous post.

2. Download and extract

Download on this page

# cd /temp-directory/plugin/architecture/cacti/
# wget -c http://mirror.cactiusers.org/downloads/plugins/cacti-plugin-0.8.7d-PA-v2.4.zip
# tar -zvxf cacti-plugin-arch.tar.gz

 

Installing Plugin Architecture Cacti:

1. Patch cacti

change into your cacti directory and patching

# cd /srv/www/htdocs/cactifresh
# patch -p1 -N < /directory/plugin/architecture/cacti/cacti-plugin-0.8.7d-PA-v2.4.diff

2. Configration cacti

edit file global.php. Edit this to point to the default URL of your Cacti install ex: if your cacti install as at http://serverip/cactifresh/ this would be set to /cactifresh/ .

$config['url_path'] = '/cactifresh/';

to more information how to add cacti plugins, you can see on this page

Installing Mysql template for cacti:

1. Download and extract package from this page

# cd /temp-directory/plugin/mysql
# wget -c http://www.faemalia.net/mysqlUtils/teMySQLcacti-20060810.tar.gz
# tar -xzvf teMySQLcacti-20060810.tar.gz

2. copy mysql_stats.php and dumpMemcachedStats.php in /srv/www/htdocs/cactifresh/scripts/
3. Make sure your cacti poller running with cron daemon every 1 minutes. U can use spine, see on previous page.

4. Import xml template . ex: cacti_host_template_x_db_server_ht_0.8.6i.xml

5.  Login into your cacti website then Create new device within new template ( cacti_host_template_x_db_server_ht_0.8.6i.xml ) .

6. Finisih.

Results:

results

results

 

 

Reference:
1. Wiki cacti user
2. www.faemalia.net
3. List cacti plugin template
4. wowtutorial.org
.

Advertisements
  1. ashadebi
    August 17, 2009 at 5:36 pm

    mantaf gan… 😀

    • August 18, 2009 at 12:53 am

      natur nuwun gan… 😀

  2. February 18, 2013 at 1:13 am

    This site really has all the information and facts I wanted concerning
    this subject and didn’t know who to ask.

  1. January 9, 2015 at 9:39 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s