THRESHOLD INSTALLATION

The installation require different plugins before :

  • arch
  • settings
  • thold

you can found all this plugins on cactiuser.org

Fist install cacti-plugin-arch:

Go to your cacti folder

# wget http://mirror.cactiusers.org/downloads/plugins/cacti-plugin-0.8.7e-PA-v2.6.zip

# unzip cacti-plugin-0.8.7e-PA-v2.6.zip

Now you have to patch the cacti folder with the content of the cacti-plugin archive.

# patch -p1 -N < cacti-plugin-arch/cacti-plugin-0.8.7e-PA-v2.6.diff

We need to update the cacti schema with the sql file present in the archive:

# mysql cacti < cacti-plugin-arch/pa.sql

If you go in the cacti interface, you can enable the plugin manager :

image 13

Press the check box in the rigth bottom of the page and save

image 14

In the plugin management page you have an overview of what is present in your cacti

Install settings plugin:

Download the archive and extract it in the cacti plugins folder.

# cd plugins

# wget http://cactiusers.org/downloads/settings.tar.gz

# tar -xvf settings.tar.gz

Now you have to edit the global.php present in the include folder.

# vim include/global.php

$plugins = array();
$plugins[] = ‘settings’;

Now you can see the modification in the cacti interface:

image 16

As you can seen the plugins is running

image 17

Here, you have to define the settings of the settings plugin

Install Threshold plugin :

Download the archive and extract it in the cacti plugins folder.

# cd thold

# wget http://cactiusers.org/downloads/thold.tar.gz

# tar -xvf thold.tar.gz

Now you have to edit the global.php present in the include folder.

# vim include/global.php

$plugins = array();
$plugins[] = ‘settings’;
$plugins[] = ‘thold’;

Now you can see the modification in the cacti interface:

image 18

Here you have to install and enable the plugin

image 19

Here you have to configure the plugin

image 20

This windows is the result of sendmail test.