Cactiusers.org


It is currently Thu May 17, 2012 9:44 am




Post new topic Reply to topic  [ 7 posts ] 
 new install 
Author Message
New User

Joined: Sun Feb 12, 2006 7:06 am
Posts: 4
Post new install
just did a clean install of version h of cacti and applied the cacti-plugin patch for that version. I got an error when the patch was applied to config.php.

+ $plugins = array();
+ //$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"] = '/';
+
/* ----- you probably do not need to change anything below this line ----- */


So i manually added the url_path and plugins array to the config.php file. How do i know if this actually is working? I have put for example $plugins[] = 'ntop' but i see no difference in cacti. what should i be looking for?


Thanx!
Xarion


Sun Feb 12, 2006 7:14 am
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
Did you add permissions for your user to view NTop?

On new installs, if you don't want it to fail on config.php, you have to install the Plugin Architecture BEFORE you modify the username / password for the database.


Sun Feb 12, 2006 2:41 pm
New User

Joined: Sun Feb 12, 2006 7:06 am
Posts: 4
Post ntop
Yes i have, i have even set the permissions to 777 incase. How can i tell if ntop plugin is working?


Sun Feb 12, 2006 3:01 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
Not file permissions, user permissions inside Cacti

Console >> User Permissions >> Select a User >> View NTop


Sun Feb 12, 2006 3:20 pm
New User

Joined: Sun Feb 12, 2006 7:06 am
Posts: 4
Post ntop
Hi Jimmy

I dont see anything for ntop under user management, perhaps its not even loading the plugin, is there some sort of log that i can look at to see if its loading correctly?

Xarion


Sun Feb 12, 2006 11:21 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
There is no logging to tell if the plugin architecture is working, maybe I will make a plugin for it. If it works, then it will test each hook one by one, otherwise you won't see anything.

In either case, best bet is to use the override files, instead of the patch to ensure that the Plugin Architecture is installed correctly.


Mon Feb 13, 2006 1:03 am
New User

Joined: Sun Feb 12, 2006 7:06 am
Posts: 4
Post ntop
Ok i will try replace the files and let you know...


Mon Feb 13, 2006 5:40 am
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


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: