Cacti 0.8.7g, patches & PIA 2.8

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
Joost
Posts: 7
Joined: Wed May 19, 2010 7:55 am
Location: Amsterdam, The Netherlands

Cacti 0.8.7g, patches & PIA 2.8

Post by Joost »

If I install Cacti 0.8.7g, apply the official patches (I'm specifically interested in the poller_interval.patch) & afterwards install PIA 2.8 - Will I run into any issues?

Or is there any specific order I need to install it? Like;

- Cacti install, official patches, PIA install
or
- Cacti install, PIA, official patches

Many thanks!
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

There is a beta 2.9 pia floating around here. Rony was going to release it. Don't know what happened. Google it.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
blazewater
Posts: 1
Joined: Wed Sep 01, 2010 9:14 am

Re: Cacti 0.8.7g, patches & PIA 2.8

Post by blazewater »

I used these compents, it seemed ok.
isaac737
Posts: 23
Joined: Wed Oct 25, 2006 12:37 pm

Re: Cacti 0.8.7g, patches & PIA 2.8

Post by isaac737 »

Hi,

I ran into an issue with trying to install PIA 2.8 with Cacti Version 0.8.7g that had been patched with all the official patches. The install works great but when I go to patch it for PIA 2.8 I get errors on two .php files that had been patched by the official patches. They are:

data_sources.php and poller.php

So, guys what's the best course of action here? I would rather not do a fresh install of cacti, then install PIA then install the official patches... Is there a way around this?

Thanks all for such an awesome program!

-jg

Here is the output of the dry run:

[root@ttm-app2 cacti]# patch -p1 -N --dry-run < cacti-plugin-0.8.7g-PA-v2.8.diff
patching file auth_changepassword.php
patching file auth_login.php
patching file data_sources.php
Hunk #6 FAILED at 1323.
1 out of 6 hunks FAILED -- saving rejects to file data_sources.php.rej
patching file graph_image.php
patching file graph.php
patching file graphs_new.php
patching file graphs.php
patching file host.php
patching file images/disable_icon.png
patching file images/enable_icon_disabled.png
patching file images/enable_icon.png
patching file images/install_icon_disabled.png
patching file images/install_icon.png
patching file images/uninstall_icon.gif
patching file images/view_none.gif
patching file include/auth.php
patching file include/bottom_footer.php
patching file include/config.php
Hunk #1 succeeded at 30 with fuzz 1.
patching file include/global_arrays.php
patching file include/global_constants.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/auth.php
patching file lib/functions.php
patching file lib/html_form.php
patching file lib/html.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
Hunk #1 succeeded at 108 with fuzz 2.
Hunk #2 succeeded at 305 (offset -1 lines).
Hunk #3 FAILED at 449.
Hunk #4 succeeded at 500 (offset -1 lines).
1 out of 4 hunks FAILED -- saving rejects to file poller.php.rej
patching file user_admin.php
patching file utilities.php
[root@ttm-app2 cacti]#
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Cacti 0.8.7g, patches & PIA 2.8

Post by noname »

isaac737 wrote:I ran into an issue with trying to install PIA 2.8 with Cacti Version 0.8.7g that had been patched with all the official patches. The install works great but when I go to patch it for PIA 2.8 I get errors on two .php files that had been patched by the official patches. They are:

data_sources.php and poller.php
Try this:
http://forums.cacti.net/viewtopic.php?p=209017#p209017
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Cacti 0.8.7g, patches & PIA 2.8

Post by phalek »

Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
isaac737
Posts: 23
Joined: Wed Oct 25, 2006 12:37 pm

Re: Cacti 0.8.7g, patches & PIA 2.8

Post by isaac737 »

thanks for the replies! I will try PIA 2.9

:o
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest