Hi...
My problem in:
resolved:
Code:
pollux:/usr/share/cactitest# cd site
pollux:/usr/share/cactitest/site# pwd
/usr/share/cactitest/site
pollux:/usr/share/cactitest/site#
pollux:/usr/share/cactitest/site# unzip /tmp/cacti-
cacti-0.8.6g.tar.gz cacti-plugin-arch.zip
pollux:/usr/share/cactitest/site# unzip /tmp/cacti-plugin-arch.zip
Archive: /tmp/cacti-plugin-arch.zip
inflating: Readme.txt
inflating: files-0.8.6g/include/config_arrays.php
inflating: files-0.8.6g/include/config_form.php
inflating: files-0.8.6g/include/config.php
inflating: files-0.8.6g/include/config_settings.php
inflating: files-0.8.6g/include/plugins.php
inflating: files-0.8.6g/include/top_graph_header.php
inflating: files-0.8.6g/include/top_header.php
inflating: files-0.8.6g/lib/api_device.php
inflating: files-0.8.6g/lib/functions.php
inflating: files-0.8.6g/lib/html.php
inflating: files-0.8.6g/lib/html_form.php
inflating: files-0.8.6g/data_sources.php
inflating: files-0.8.6g/poller.php
inflating: files-0.8.6g/plugins/index.php
inflating: files-0.8.6g/graphs_new.php
inflating: files-0.8.6f/include/config_form.php
inflating: files-0.8.6f/include/top_header.php
inflating: files-0.8.6f/include/config.php
inflating: files-0.8.6f/include/plugins.php
inflating: files-0.8.6f/include/config_arrays.php
inflating: files-0.8.6f/include/config_settings.php
inflating: files-0.8.6f/include/top_graph_header.php
inflating: files-0.8.6f/lib/functions.php
inflating: files-0.8.6f/lib/html.php
inflating: files-0.8.6f/lib/api_device.php
inflating: files-0.8.6f/lib/html_form.php
inflating: files-0.8.6f/data_sources.php
inflating: files-0.8.6f/poller.php
inflating: files-0.8.6f/plugins/index.php
inflating: files-0.8.6f/graphs_new.php
inflating: cacti-plugin-0.8.6f.diff
inflating: cacti-plugin-0.8.6g.diff
pollux:/usr/share/cactitest/site#
pollux:/usr/share/cactitest/site# patch -p1 -N < cacti-plugin-0.8.6g.diff
patching file data_sources.php
patching file graphs_new.php
patching file include/config_arrays.php
patching file include/config_form.php
patching file include/config.php
Hunk #1 FAILED at 26.
Hunk #2 succeeded at 172 (offset -3 lines).
1 out of 2 hunks FAILED -- saving rejects to file include/config.php.rej
patching file include/config_settings.php
patching file include/plugins.php
patching file include/top_graph_header.php
patching file include/top_header.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 plugins/index.php
patching file poller.php
Hunk #1 succeeded at 35 with fuzz 1.
Hunk #2 succeeded at 231 (offset -3 lines).
pollux:/usr/share/cactitest/site#
But...
Monitor and Thold not show me.
my config.php:
Code:
my directories:
pollux:/usr/share/cacti/site# ls
about.php data_queries.php graph_settings.php host_templates.php poller_commands.php script_server.php
auth_changepassword.php data_sources.php graphs_items.php images poller_export.php settings.php
auth_login.php data_templates.php graphs_new.php include poller.php templates_export.php
cacti-plugin-0.8.6f.diff docs graphs.php index.php poller.php.orig templates_import.php
cacti-plugin-0.8.6g.diff files-0.8.6f graph_templates_inputs.php install Readme.txt tree.php
cdef.php files-0.8.6g graph_templates_items.php lib resource updates
cmd.php gprint_presets.php graph_templates.php log rra user_admin.php
color.php graph_image.php graph_view.php logout.php rra.php utilities.php
data_input.php graph.php host.php plugins scripts
pollux:/usr/share/cacti/site#
---- config file ---------
$plugins = array();
$plugins[] = 'monitor';
$plugins[] = 'thold';
include_once($config["include_path"] . "plugins.php");
/* Do not edit this line */
//$config = array();
$config = array();
$colors = array();
$config["url_path"] = '/cacti/';
---------------------------------------
Dont show monitor and thold in my cacti
thanks