Can windows platform surpport cacti plugins?
Moderators: Developers, Moderators
Can windows platform surpport cacti plugins?
Hi,friends
My cacti is running over windows not linux , and I want to use some plugins such as weathermap.
Would you please tell me where I shall download the win edition of plugin architecture and weathermap?
Thanks a lot.
amaze_sun
My cacti is running over windows not linux , and I want to use some plugins such as weathermap.
Would you please tell me where I shall download the win edition of plugin architecture and weathermap?
Thanks a lot.
amaze_sun
can I just follow the readme?
Drop the patch into your cacti directory, and then use this command on unix
to patch your cacti files.
patch -p1 -N < cacti-plugin-0.8.7e-PA-v2.6.diff
Edit your includes/global.php and add a plugin to the $plugins list
Then you will need to import the pa.sql file into your mysql database.
Drop the patch into your cacti directory, and then use this command on unix
to patch your cacti files.
patch -p1 -N < cacti-plugin-0.8.7e-PA-v2.6.diff
Edit your includes/global.php and add a plugin to the $plugins list
Then you will need to import the pa.sql file into your mysql database.
after copy the prepatched filed int to the cacti folder,
I got the following messege, and I even can't get the cacti homepage
while before I set up plugins, my cacti is running rather well
On the web site , my cacti turns to that My God~~~
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required 'C:/AppServ/www/cacti/index.php' (include_path='.;C:\php5\pear') in Unknown on line 0
I got the following messege, and I even can't get the cacti homepage
while before I set up plugins, my cacti is running rather well
On the web site , my cacti turns to that My God~~~
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required 'C:/AppServ/www/cacti/index.php' (include_path='.;C:\php5\pear') in Unknown on line 0
C:\AppServ\www\cacti> patch -p1 -N < cacti-plugin-0.8.7e-PA-v2.6.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
Hunk #1 succeeded at 98 (offset -2 lines).
Hunk #2 succeeded at 213 (offset -2 lines).
Hunk #3 succeeded at 246 (offset -2 lines).
patching file graphs_new.php
patching file graphs.php
patching file host.php
patching file include/auth.php
patching file include/bottom_footer.php
patching file include/global_arrays.php
Hunk #2 succeeded at 643 (offset -4 lines).
patching file include/global_constants.php
patching file include/global_form.php
patching file include/global.php
Hunk #3 FAILED at 195.
1 out of 4 hunks FAILED -- saving rejects to file include/global.php.rej
patching file include/global_settings.php
The next patch would create the file include/plugins.php,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file include/plugins.php.rej
patching file include/top_graph_header.php
Hunk #2 FAILED at 55.
Hunk #5 FAILED at 128.
Hunk #6 FAILED at 156.
3 out of 6 hunks FAILED -- saving rejects to file include/top_graph_header.php.r
ej
patching file include/top_header.php
patching file index.php
patching file lib/api_device.php
patching file lib/auth.php
patching file lib/functions.php
patching file lib/html_form.php
Hunk #1 succeeded at 655 (offset -67 lines).
Hunk #2 succeeded at 672 (offset -67 lines).
Hunk #3 succeeded at 693 (offset -67 lines).
patching file lib/html.php
The next patch would create the file lib/plugins.php,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file lib/plugins.php.rej
patching file lib/poller.php
patching file lib/rrd.php
patching file lib/variables.php
The next patch would create the file plugins/index.php,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file plugins/index.php.rej
The next patch would create the file plugins.php,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file plugins.php.rej
patching file poller.php
patching file user_admin.php
patching file utilities.php
patching file auth_changepassword.php
patching file auth_login.php
patching file data_sources.php
patching file graph_image.php
patching file graph.php
Hunk #1 succeeded at 98 (offset -2 lines).
Hunk #2 succeeded at 213 (offset -2 lines).
Hunk #3 succeeded at 246 (offset -2 lines).
patching file graphs_new.php
patching file graphs.php
patching file host.php
patching file include/auth.php
patching file include/bottom_footer.php
patching file include/global_arrays.php
Hunk #2 succeeded at 643 (offset -4 lines).
patching file include/global_constants.php
patching file include/global_form.php
patching file include/global.php
Hunk #3 FAILED at 195.
1 out of 4 hunks FAILED -- saving rejects to file include/global.php.rej
patching file include/global_settings.php
The next patch would create the file include/plugins.php,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file include/plugins.php.rej
patching file include/top_graph_header.php
Hunk #2 FAILED at 55.
Hunk #5 FAILED at 128.
Hunk #6 FAILED at 156.
3 out of 6 hunks FAILED -- saving rejects to file include/top_graph_header.php.r
ej
patching file include/top_header.php
patching file index.php
patching file lib/api_device.php
patching file lib/auth.php
patching file lib/functions.php
patching file lib/html_form.php
Hunk #1 succeeded at 655 (offset -67 lines).
Hunk #2 succeeded at 672 (offset -67 lines).
Hunk #3 succeeded at 693 (offset -67 lines).
patching file lib/html.php
The next patch would create the file lib/plugins.php,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file lib/plugins.php.rej
patching file lib/poller.php
patching file lib/rrd.php
patching file lib/variables.php
The next patch would create the file plugins/index.php,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file plugins/index.php.rej
The next patch would create the file plugins.php,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file plugins.php.rej
patching file poller.php
patching file user_admin.php
patching file utilities.php
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Don't attempt to patch the files if you are running Windows, unless you know what you are in for...
Prepatched files can be found here
http://mirror.cactiusers.org/downloads/ ... A-v2.6.zip
There is a directory for these files inside the ZIP.
The other issues you are experiencing look like permissions (or lacik thereof).
Hope this helps.
Prepatched files can be found here
http://mirror.cactiusers.org/downloads/ ... A-v2.6.zip
There is a directory for these files inside the ZIP.
The other issues you are experiencing look like permissions (or lacik thereof).
Hope this helps.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Who is online
Users browsing this forum: No registered users and 2 guests