How do I install PIA 2.9 on windows?

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
Locutus
Posts: 7
Joined: Thu Dec 09, 2010 3:49 pm

How do I install PIA 2.9 on windows?

Post by Locutus »

I downloaded PIA v2.9 since I saw that it was officialy released. I'm having problems getting autom8 0.33 to work on Cacti 0.87g, and found the following forum post, detailing that I install PIA 2.9 and should then use Autom8 0.35b7: http://forums.cacti.net/viewtopic.php?f ... &start=105


The readme file that comes in the 2.9 compressed file download simply says the following about installing it:
**************
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.7g-PA-v2.8.diff
**************

However, on windows, I am unable to find any "patch" application. I did a search under the PHP install drive, and under the IIS root directory (where cacti is actually installed) drive for *patch*.*. The only files that were returned were:
cacti\plugins\autom8\patches-087d\ -
cli.patch
host.php.patch
lib_api_automation_tools.php.patch
lib_api_device.php.patch
lib_api_tree.php.patch
lib_data_query.php.patch
lib_html_utility.patch
lib_template.php.patch
and cacti\plugins\manage\patch architecture\patch.png

The readmy file points to a URL for further install instructions (http://cactiusers.org/wiki/PluginArchitectureInstall), which doesn't actually exist it simply takes you to:http://docs.cacti.net/plugins. From there the installation link takes you to: http://docs.cacti.net/manual:087:1_installation.9_pia.

These instructions also do not provide any instructions for how to install PIA 2.9 on a windows machine.


I have thus far been unable to locate any kind of 'patch' application to feed the .diff file to.

Thinking that perhaps "patch -p1 -N --dry-run < cacti-plugin-arch.diff" was passing the argument 'patch -p1 -N --dry-run' into the 'cacti-plugin-0.8.7g-PA-v2.9.diff' file. So I tried running:
cacti\cacti-plugin-0.8.7g-PA-v2.9.diff patch -p1 -N --dry-run

This came back saying that the OS doesn't know what to do with a .diff file.

:(

It mentions to just over-write a bunch of files if you have a fresh install. Unfortunately, I've just spent the last 2 weeks getting my current install working and populated with stuff.


Can someone point me in the right direction? I would greatly appreciate it.

Thanks,
Locutus
Posts: 7
Joined: Thu Dec 09, 2010 3:49 pm

Re: How do I install PIA 2.9 on windows?

Post by Locutus »

Sorry, I should have likely posted this under the Plugin Architecture forum, not under the Plugin Anouncement forum.

I'll re-post it under the correct location.


Moderator,
Please feel free to delete this thread.


Thanks,
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest