Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Mar 25, 2017 2:40 pm

All times are UTC - 5 hours

Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Plugins that ship with Cacti EZ are not available for normal
PostPosted: Tue Jan 22, 2013 10:55 am 
Cacti User

Joined: Wed Oct 03, 2012 5:51 pm
Posts: 117
Hi Guys,

We have a cacti EZ install running great.

A couple of the plugins included with cacti EZ dont seem to be available elsewhere.

They are

Does anyone know where these can be downloaded from when not using the EZ CD?

Thanks guys :)

 Post subject: Re: Plugins that ship with Cacti EZ are not available for no
PostPosted: Tue Jan 22, 2013 11:00 am 
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2564
Location: Kressbronn, Germany
Watermark should be this one:

But if these plugins are PIA compliant, the you "should" be able to just zip the plugins directory ( /path/to/plugins/Jqueryskin ) and put it on another cacti install.

Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061

 Post subject: Re: Plugins that ship with Cacti EZ are not available for no
PostPosted: Tue Jan 22, 2013 3:49 pm 
Cacti User

Joined: Wed Oct 03, 2012 5:51 pm
Posts: 117

Thanks for that.

Yeah, I can swap it from one install to another, the problem is, im writing a detailed guide on setting up cacti from scratch to a fully working install with all the major plugins that I consider "Must Have".

I just couldn't find a download link for these two :)

Ill post what I have when its complete for people to review.

 Post subject: Re: Plugins that ship with Cacti EZ are not available for no
PostPosted: Tue Jan 22, 2013 3:54 pm 
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
You might want to wake up cigamit on this :wink:

Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository

 Post subject: Re: Plugins that ship with Cacti EZ are not available for no
PostPosted: Tue Jan 22, 2013 4:06 pm 
Cacti User

Joined: Wed Oct 03, 2012 5:51 pm
Posts: 117

I think he needs to make all his plugins available for download with everyone elses lol :)

I cant use a wget to fetch the download from the forum as you need to be logged in. Can we find a way around this so that I can include it in my tutorial?


 Post subject: Re: Plugins that ship with Cacti EZ are not available for no
PostPosted: Tue Jan 22, 2013 4:28 pm 
Cacti User

Joined: Wed Oct 03, 2012 5:51 pm
Posts: 117
Temporary solution

Note to people of the future : I dont plan to keep these files updated. If you download them, they may not be the latest versions.

Watermark and Jqueryskin can be found here

Last edited by ukzerosniper on Tue Jan 22, 2013 5:10 pm, edited 1 time in total.

 Post subject: Re: Plugins that ship with Cacti EZ are not available for no
PostPosted: Tue Jan 22, 2013 5:06 pm 
Cacti User

Joined: Wed Oct 03, 2012 5:51 pm
Posts: 117
Hi Guys,

Here is the Cacti install guide I made. Iv just written this version today. If you think anything important or useful is missed, let me know so I can add it.

The beginning parts of this guide have mostly been copied from the guide here "" but I edited them a little to ensure they would work for everybody regardless of your scenario and added a couple of bits which they left out of the tutorial.

Installing and configuring Cacti with Cent OS 6.3

Before we can install Cacti, we must install the following packages.
• Apache : A Web server to display network graphs created by PHP and RRDTool.
• MySQL : A Database server to store cacti information.
• PHP : A script module to create graphs using RRDTool.
• PHP-SNMP : A PHP extension for SNMP to access data.
• NET-SNMP : A SNMP (Simple Network Management Protocol) is used to manage network.
• RRDTool : A database tool to manage and retrieve time series data like CPU load, Network Bandwidth etc.
• UnZip : A simple tool for extracting zip files

Once Cent OS 6.3 is installed login as “root” with the password you configured during the OS installation

Installing Apache
# yum install httpd httpd-devel

Install MySQL
# yum install mysql mysql-server

Install PHP
# yum install php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli php-mysql

Install PHP-SNMP
# yum install php-snmp

Install NET-SNMP
# yum install net-snmp-utils p net-snmp-libs php-pear-Net-SMTP

Install RRDTool
# yum install rrdtool

Install UnZip
# yum install unzip

Now that all the required packages are installed, we must start their services running.

Start Apache
# service httpd start

Start MySQL
# service mysqld start

Start SNMP
# service snmpd start

Setup start up links for Apache, MySQL and SNMP

# /sbin/chkconfig --levels 345 httpd on

# /sbin/chkconfig --levels 345 mysqld on

# /sbin/chkconfig --levels 345 snmpd on

Add the Extra Packages for Enterprise Linux (EPEL) repository (64-Bit CentOS 6 only). This is where the Cacti installation is downloaded from.

# wget ... noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm

Download and Install Cacti

# yum install cacti

Setup MySQL Server for Cacti

# mysqladmin -u root password Desired-Password-Here

Create MySQL Cacti Database

# mysql -u root -p
mysql> create database cacti;
mysql> GRANT ALL ON cacti.* TO cacti@localhost IDENTIFIED BY ‘Password-you-set-above’;
mysql> FLUSH privileges;
mysql> quit;

Setup Cacti Tables in MySQL
To being, we need to know the location of the cacti.sql file where the tables will be installed. Use the following command to show the location.

# rpm -ql cacti | grep cacti.sql

Sample Output

Now we need to install the tables into the cacti.sql file. Use the following command to do this, replace the directory text for the location shown by the command above.

# mysql -u cacti -p cacti < /usr/share/cacti-0.8.7d/cacti.sql

Configure MySQL settings for Cacti

Open db.php with your preferred editor

# vi /etc/cacti/db.php

Make changes as follows

/* make sure these values reflect your actual database/host/user/password */
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cacti";
$database_password = "your-password-here";
$database_port = "3306";
$database_ssl = false;

Configure Apache Server for Cacti Installation
You need to allow access to Cacti from the ipranges you require. By default I choose to allow access from all IP addresses. This can be viewd as an unsecure option and you may wish to follow a different path. (Google is your friend).

Open /etc/httpd/conf.d/cacti.conf with your preferred editor

# vi /etc/httpd/conf.d/cacti.conf

Add the following section at the bottom of the config file

Alias /cacti /usr/share/cacti

<Directory /usr/share/cacti/>
Order Deny,Allow
Deny from none
Allow from all

In order for this change to take effect, Apache must be restarted. Issue the following command to restart Apache

# service httpd restart

Setting Cron for Cacti
Open the Cacti cron file and and uncomment the line to enable the poller.php to run every5 mins.

#vi /etc/cron.d/cacti

Delete the # in the following line

#*/5 * * * * cacti /usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1

Configure firewall to allow access to Cacti from the web

Open the iptables file
# vi /etc/sysconfig/iptables

Add the following line
# -A INPUT -m state -state NEW -m tcp -p tcp -dport 80 -j ACCEPT

Restart iptables
# service iptables restart

Complete Cacti Installation via web installer

Open http://SERVER-IP/cacti to view the web installer.

Basic Cacti plugin installation and configuration

In order for Cacti to be able to complete all the tasks we require, a few plugins need to be installed. These are;
• Monitor
• Errorimage
• Settings
• Jqueryskin
• Discovery
• Weathermap
• Realtime
• Nectar
• Thold
• Watermark
• Hmib
• Syslog
All the required plugins can be found either on Cacti website ( or at the links listed.

Download the required plugins

We will be using the wget command to download the plugins as required. The links in this document refer to the plugins at the date of the documents publication. You may need to obtain the current links from the site.

Switch to the Cacti plugins directory
# cd /usr/share/cacti/plugins

Monitor Plugin
# wget

Error Image
# wget ... v0.2-1.tgz

# wget ... 0.71-1.tgz

Jqueryskin (If below link doesn’t work get current link from
wget ...

# wget ... v1.5-1.tgz

# wget ...

# wget

# wget

# wget

Watermark (If below link doesn’t work get current link from
wget ...

# wget

# wget

Renaming the plugins ready for extraction

Before we can install any plugins we need to remove the “plugin:” prefiex has been attached to any of the plugins hosted on the cacti website. Other plugins like weathermap don’t have this prefix and can be ignored at this step.

To check which files need to be corrected list all the plugins we have just downloaded

# ls

Sample Output

Every file which has the “plugin:” prefix needs to be renamed with the “mv” command. To use this command simply write “mv PLUGINS-OLD-NAME PLUGINS-NEW-NAME” at the command prompt for each plugin.

# mv plugin:monitor-v1.3-1.tgz monitor-v1.3-1.tgz
# mv plugin:discovery-v1.5-1.tgz discovery-v1.5-1.tgz
# mv plugin:hmib-v1.4-2.tgz hmib-v1.4-2.tgz
# mv plugin:nectar-v0.35a.tgz nectar-v0.35a.tgz
# mv plugin:settings-v0.71-1.tgz settings-v0.71-1.tgz
# mv plugin:thold-v0.4.9-3.tgz thold-v0.4.9-3.tgz
# mv plugin:errorimage-v0.2-1.tgz errorimage-v0.2-1.tgz
# mv plugin:realtime-v0.5-2.tgz realtime-v0.5-2.tgz
# mv plugin:syslog-v1.22-2.tgz syslog-v1.22-2.tgz

At the point we need to check that all the plugins are named correctly. Issue the “ls” command and look for any plugins which have the prefiex “plugin:”. If you see any rename them as shown above and then continue.

Extracting the plugins
In order to extract the plugins, issue the “tar –zvxf PLUGIN-NAME” command for each plugin compressed with .tgz
or "unzip PLUGIN-NAME" for any compressed with .zip

# tar -zvxf monitor-v1.3-1.tgz
# tar -zvxf discovery-v1.5-1.tgz
# tar -zvxf hmib-v1.4-2.tgz
# tar -zvxf nectar-v0.35a.tgz
# tar -zvxf settings-v0.71-1.tgz
# tar -zvxf thold-v0.4.9-3.tgz
# tar -zvxf errorimage-v0.2-1.tgz
# tar -zvxf realtime-v0.5-2.tgz
# tar -zvxf syslog-v1.22-2.tgz
# unzip
# unzip
# unzip

Tidy up the Plugins Folder
Now that all the plugins have been extracted, we need to remove the compressed files

# rm -rf monitor-v1.3-1.tgz
# rm -rf discovery-v1.5-1.tgz
# rm -rf hmib-v1.4-2.tgz
# rm -rf nectar-v0.35a.tgz
# rm -rf settings-v0.71-1.tgz
# rm -rf thold-v0.4.9-3.tgz
# rm -rf errorimage-v0.2-1.tgz
# rm -rf realtime-v0.5-2.tgz
# rm -rf syslog-v1.22-2.tgz
# rm -rf
# rm -rf
# rm -rf

Confirm that all compressed files have been deleted by listing all files in the folder
# ls

If any compressed files remain, issue the “rm -rf COMPRESSED-FILE-NAME” command to remove them

Configuring the plugins
In order for the plugins to Install correctly some of them require a little configuring before they will work.

Realtime Graphs
Realtime Graphs requires a directory to store temp images as the realtime graphs are created. This directory needs to be writeable. Change directorys to the extracted reatime graphs folder.
# cd /usr/share/cacti/plugins/realtime

Create a new directory called “temp”
# mkdir temp

Set the permissions on the new directory to be writable by all
# chmod 777 temp

We need to activate the editor in editor.php. Navigate to the correct folder
# cd /usr/share/cacti/plugins/weathermap

Make the configs directory writeable by the user
# chmod 777 configs

Make the output directory writable by the user
# chmod 777 output

Open the editor.php
# vi editor.php

Set ENABLED=true at the top of editor.php, then save and exit the editor

Set the max PHP file size to 768Mb. To find the php.ini use the command
#find / -name php.ini

Change directory to the correct directory and open php.ini in your chosen editor
#cd /etc
#vi php.ini

Scroll down until you see “memory_limit = 128M”. Edit this to be “memory_limit = 768M” then save and close the editor

Activate Plugins
1. View the cacti website (YOUR-SERVER-IP/Cacti)
2. Click “Plugin Management” on the left
3. Install and activate all plugins excluding Syslog (we will activate syslog in a moment)
4. Click “Settings” on the left
5. Click the “Misc” tab across the top
6. In the “Realtime Graphs” section input “/usr/share/cacti/plugins/realtime/temp” in the “Cache Directory”
7. Click “Save”
8. Check that the “Cache Directory” now shows “[OK: DIR FOUND]”
9. Click the “Visual” tab
10. In the “Watermark” section select “No Grid Fit”
11. Press “Save”
12. Click “Plugin Management” on the left
13. Click “Install” on Syslog
14. Change the “Retention Policy” to 3 Months
15. Click “Install”
16. Click “Activate” on the Syslog plugin

Finally, configure Cacti as per your requirements.

 Post subject: Re: Plugins that ship with Cacti EZ are not available for no
PostPosted: Mon Oct 03, 2016 6:15 pm 
Cacti User

Joined: Fri Aug 22, 2014 2:11 pm
Posts: 91
The link to download is not working... :(

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group