discovery plugin

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
actabar
Posts: 8
Joined: Fri Sep 17, 2010 12:04 pm

discovery plugin

Post by actabar »

hey,

I just installed discovery plugin on cacti 0.8.7g with the following guide

http://www.debianhelp.co.uk/cactipluginsarch.htm

after that i imported the discovery.sql database tables. and reassigne all permission to the db user.

but for some reason the plugin does not appear in the user mangement console in cacti...

can soemone please point me in the right drection... i will answer all questions if you need info.

config.php

$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cactiuser";
$database_port = "3306";

/* Default session name - Session name must contain alpha characters */
#$cacti_session_name = "Cacti";

$config = array();
$plugin[] = 'discovery';
//$plugins[] = 'thold';

/* Do not edit this line */
$config = array();


/*
This is full URL Path to the Cacti installation
For example, if your cacti was accessible by http://server/cacti/ you would user '/cacti/'
as the url path. For just http://server/ use '/'
*/

$config['url_path'] = '/cactinew/';
?>



Thanx
actabar
Posts: 8
Joined: Fri Sep 17, 2010 12:04 pm

Post by actabar »

in my cacti log i get this mesage repeatedly:

09/23/2010 01:03:05 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT 1 AS id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'draw_navigation_text' AND ph.name IN ('settings', 'boost', 'dsstats') UNION SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'draw_navigation_text' AND ph.name NOT IN ('settings', 'boost', 'dsstats') ORDER BY id ASC"
actabar
Posts: 8
Joined: Fri Sep 17, 2010 12:04 pm

Post by actabar »

got that fixed was the pa.sql that wasnt imported... but now i have another dilemma...
discover opens but the buttons dont display images and when i try to discover a ip i just get page not found?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests