Patches Available for 0.8.7d

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Patches Available for 0.8.7d

Post by TheWitness »

All,

Please note that there have been 4 patches released to 0.8.7d to address some interesting problems with graphing and other miscellaneous other issues that you should check out before asking:

Here are the details:

Patch to correct ping timeout value 2009/03/02
Command line ping timeout values are calculated incorrectly causing extremely high ping timeout values.
Fix issue with graph search 2009/03/02
Due to invalid URL contructions some searches will result in invalid search parameters
Reduce graph page shifting 2009/03/02
Graph images are moved into a DIV element to reduce issues with page length changes on load
SNMP value trim issue 2009/03/02
When not using php-snmp, values are not trimmed properly causing rrdtool file to not be created

http://www.cacti.net/download_patches.php

For those poor Windows users that are not familiar with "patch", here is a link to the full files:

http://www.cacti.net/downloads/patches/ ... tched/lib/

Regards,

TheWitness
Last edited by TheWitness on Fri Mar 06, 2009 6:48 pm, edited 2 times in total.
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?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Can you provide a pointer to a version of patch for Windows too, please?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Howie wrote:Can you provide a pointer to a version of patch for Windows too, please?
The Cywgin versions of patch/wget work fine. Users *MUST* re-apply NTFS permissions though to the patched files, since they'll be wrong afterwords.
ben_c
Cacti User
Posts: 203
Joined: Mon May 14, 2007 8:12 pm
Location: Melbourne, Australia.

Post by ben_c »

If you download the 0.8.7d tarball today does it already have these patches incorporated?
Last edited by ben_c on Mon Mar 16, 2009 8:11 pm, edited 1 time in total.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

No.

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?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please see http://docs.cacti.net/manual:087:1_inst ... ly_patches for patch instructions
Reinhard
jesterx
Posts: 6
Joined: Mon Sep 01, 2008 2:38 am

Post by jesterx »

What exactly do you mean by 'some searches will result in invalid search parameters'?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

jesterx wrote:What exactly do you mean by 'some searches will result in invalid search parameters'?
Please be precise in citing. I don't know what you are referring to
Reinhard
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Patches Available for 0.8.7d

Post by Howie »

This, I think:
TheWitness wrote: Fix issue with graph search 2009/03/02
Due to invalid URL contructions some searches will result in invalid search parameters
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
jesterx
Posts: 6
Joined: Mon Sep 01, 2008 2:38 am

Post by jesterx »

sorry gandalf, Howie is correct, i was referring to TheWitness' original post:

Fix issue with graph search 2009/03/02
Due to invalid URL contructions some searches will result in invalid search parameters
isaacbdawson
Posts: 2
Joined: Mon Jun 08, 2009 6:23 pm

Re: Patches Available for 0.8.7d

Post by isaacbdawson »

TheWitness wrote:
SNMP value trim issue 2009/03/02
When not using php-snmp, values are not trimmed properly causing rrdtool file to not be created
I applied the Windows pre-patched files, and this particular issue still exists.

Although it is now intermittent.

Things like this will happen:

c:/rrdtool-1.2.30/rrdtool.exe create \
C:/cacti-0.8.7b/rra/ms1_traffic_in_257.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0: 100000000 \
DS:traffic_out:COUNTER:600:0: 100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \

The space before the 100000000 will cause the rrd to not be created.

What is bizarre is that if you delete and recreate the exact same graph enough times, randomly one will generate the correct line without the spaces.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests