Bug in boost (both tagged & SVN)

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
BorisL
Cacti User
Posts: 131
Joined: Sat Mar 31, 2007 9:21 am
Contact:

Bug in boost (both tagged & SVN)

Post by BorisL »

Decription:
Fullness of datasources can be broken by LIMITed query in boost_process_poller_output().
LIMIT statement can cut datasource item.

Fix:
>diff -au setup.php.orig setup.php
--- setup.php.orig 2008-10-16 16:07:16.000000000 +0400
+++ setup.php 2008-10-16 16:07:24.000000000 +0400
@@ -814,8 +814,7 @@
$query_string = "SELECT *
FROM poller_output_boost
$sql_where
- ORDER BY local_data_id ASC, time ASC, rrd_name ASC
- LIMIT $limit";
+ ORDER BY local_data_id ASC, time ASC, rrd_name ASC";

$results = db_fetch_assoc($query_string);
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests