zzrl New User
Joined: 28 May 2008 Posts: 1
|
Posted: Wed May 28, 2008 4:29 am Post subject: install PA and monitor is fail |
|
|
Hello,
Did anyone else have the same problem at 0.87b and the PA。
I have yet another fresh cacti installation on 0.87b and the PA install and the moniter will just not work. I am disappointed.
I followed the wiki (http://cactiusers.org/wiki/PluginArchitectureInstall) for installing the plugin architecture using the patch method (cacti-plugin-0.8.7b-PA-v2.1.diff)
first:
[root@localhost cacti-plugin-arch]# mysql -u root -p cacti < cacti-plugin-0.8.7b-PA-v2.1.diff
[root@localhost cacti]# patch -p1 -N --dry-run < /zzrl/cacti-plugin-arch/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
patching file include/global_settings.php
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
Hunk #1 succeeded at 1534 (offset 2 lines).
Hunk #3 succeeded at 1624 (offset 2 lines).
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
[root@localhost cacti]#
[root@localhost cacti]# patch -p1 -N < /zzrl/cacti-plugin-arch/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
patching file include/global_settings.php
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
Hunk #1 succeeded at 1534 (offset 2 lines).
Hunk #3 succeeded at 1624 (offset 2 lines).
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
[root@localhost cacti]#
second:
modify includes/global.php
third:
cp -r monitor /usr/local/apache/htdocs/cacti/plugins
modify includes/global.php
vi /usr/local/apache/htdocs/cacti/include/global.php
insert $plugins[] = 'monitor';
do all this, I did not get any different then before.
| Description: |
| install PA and monitor is fail. |
|
| Filesize: |
113.49 KB |
| Viewed: |
48 Time(s) |

|
|
|