Debian cacti plugin

Publié le Auteur manuLaisser un commentaire

First install cacti

apt-get install cacti cacti-spine

Then install what is needed to have plugin working, be carefull with release version, it has to be the same as the cacti installation:

cd /tmp
tar xvf cacti-plugin-0.8.7g-PA-v2.8.tar.gz
cp -r /tmp/cacti-plugin-arch/* /usr/share/cacti/site/

Then run SQL statement from file pa.sql
Change /usr/share/cacti/site/include/global.php as follows

/* Line 37 $database_username = "cactiuser"; */
$database_username = "cacti";
/* Line 38 $database_password = "cactiuser"; */
$database_password = "enter your pass given during installation(not cactiuser)";
/Line 105 *$config['url_path'] = $url_path;*/
$config["url_path"] = '/cacti/';
/* Line 112 $config["rra_path"] = $config["base_path"] . '/rra';*/
$config["rra_path"] = "/var/lib/cacti/rra";
/* Line 202 include($config["library_path"] . "/adodb/");*/

Check file /usr/share/cacti/site/include/config.php has the following content (it should not have been changed)

$database_type = "mysql";
#$cacti_session_name = "Cacti";

Change /etc/cacti/debian.php

$plugins = array();

Now go in menu « User Management », select admin user, in « Realm Permissions » you should get a new option « Plugin Management ». Tick it to have « Plugin Management » entry menu in Configuration of the left pane.

Laisser un commentaire