how to install plugin architecture
Moderators: Developers, Moderators
how to install plugin architecture
hi everybody...
i have a big trouble, i'm working with cacti .86.h, and i tried to install weathermap plugins, and i noticed that i need to install the plugin architecture, so what did was replaced the files with the cacti-plugin-arch.tar.gz, and re-configured my config.php and add in config['url_path'] = "/cacti/";
so. when i add a plugin it supose that a only have to add this line
$plugins[]='weathermap'
and save the plugin in /dir cacti/plugins/weathermap
but nothing happend..
so what did i do wrong??
can somebody help me??
i have a big trouble, i'm working with cacti .86.h, and i tried to install weathermap plugins, and i noticed that i need to install the plugin architecture, so what did was replaced the files with the cacti-plugin-arch.tar.gz, and re-configured my config.php and add in config['url_path'] = "/cacti/";
so. when i add a plugin it supose that a only have to add this line
$plugins[]='weathermap'
and save the plugin in /dir cacti/plugins/weathermap
but nothing happend..
so what did i do wrong??
can somebody help me??
Re: how to install plugin architecture
Have you checked the Cacti User permissions to make sure you have permissions to view everything?
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Hi - sorry.
I am using n3ncy's freebsd VM build, which has 0.8.6h installed, along with the plugin architecture. I upgraded this to 0.8.6i successfully, but lost the plugin functionality. I reappplied the plugin files, but can't seem to get tihis working.
There aee no entries in the realm permissions, and the file permissions seem to be correct. As fas as I can tell, the db permissions are also ok.
Thanks
I am using n3ncy's freebsd VM build, which has 0.8.6h installed, along with the plugin architecture. I upgraded this to 0.8.6i successfully, but lost the plugin functionality. I reappplied the plugin files, but can't seem to get tihis working.
There aee no entries in the realm permissions, and the file permissions seem to be correct. As fas as I can tell, the db permissions are also ok.
Thanks
Ok, i am trying to apply the patch, and i get this messages when i simulate the patching:
What should i do with
Code: Select all
debian:/usr/share/cacti/site# patch -p1 -N --dry-run < cacti-plugin-0.8.7b-PA-v2.1.diff
patching file auth_changepassword.php
patching file auth_login.php
patching file data_sources.php
patching file graph_image.php
patching file graph.php
patching file graphs_new.php
patching file graphs.php
patching file host.php
patching file include/auth.php
patching file include/global_arrays.php
patching file include/global_form.php
patching file include/global.php
Hunk #3 FAILED at 194.
1 out of 4 hunks FAILED -- saving rejects to file include/global.php.rej
patching file include/global_settings.php
Hunk #1 succeeded at 1084 (offset 1 line).
patching file include/plugins.php
patching file include/top_graph_header.php
patching file include/top_header.php
patching file index.php
patching file lib/api_device.php
patching file lib/functions.php
patching file lib/html_form.php
patching file lib/html.php
patching file lib/html_tree.php
patching file lib/plugins.php
patching file lib/poller.php
patching file lib/rrd.php
patching file lib/variables.php
patching file plugins/index.php
patching file plugins.php
patching file poller.php
patching file user_admin.php
patching file utilities.php
debian:/usr/share/cacti/site#
What should i do with
Code: Select all
patching file include/global.php
Hunk #3 FAILED at 194.
1 out of 4 hunks FAILED -- saving rejects to file include/global.php.rej
patching file include/global_settings.php
Hunk #1 succeeded at 1084 (offset 1 line).[code]
Who is online
Users browsing this forum: No registered users and 2 guests