Commit Graph
58 Commits
Author SHA1 Message Date
cigamit 1df7a0ae73 Minor format issue. 2019-11-09 13:10:23 -06:00
cigamit 7c6f71ee9b Resolving Divide by Zero for Issue #3070
DB errorCode HY000 is not reported correctly when a table crashed.  There is more to this change before it's closed though.
2019-11-09 09:07:41 -06:00
netniV 7c33f2e00b Boost generates undefined variables warning during poller run
Closes #3006
2019-10-04 18:44:20 +00:00
cigamit 71d93b1906 Last Update to #2977
* Update the stored rrdtool version to match the installed version
* This is done to save quite a few cycles if the end user has updated to a newer RRDtool version, and they have forgotten to update their setting in Cacti.
* This was done since performance of boost since it assumed the stored value of RRDtool is valid, and perfoamnce will suffer if that version is 1.4 or below.
2019-09-29 09:42:00 -05:00
cigamit 66e167435a Resolving Issue #2977
Data updates with past timestamps can cause boost errors
2019-09-29 07:52:45 -05:00
cigamit 007f0814b8 Resolving issue #2977
This will resolve the issue around template problems.
2019-09-28 11:54:05 -05:00
cigamit 146fc455cf Revert behavior for #2977
This restores the lastupdate check for boost.  Performance will not be as good, but it's better to have good updates.
2019-09-26 19:34:29 -05:00
cigamit 788882b824 More fixes for #2977
I think it's fixed now.  Will check in the morning.
2019-09-25 22:06:11 -05:00
cigamit 033220fbc7 Another fix around #2977 2019-09-25 21:26:43 -05:00
cigamit 38fea45a08 Resolving Issue #2977
Updates to boost fail with various error messages when timespamp is in the past
2019-09-25 19:50:37 -05:00
cigamit dff39b8966 Resolving Issue #2976
Relocate Boost debug messages to boost debug log
2019-09-25 19:20:17 -05:00
cigamit cfe004ce14 Prevent data loss with updated method 2019-09-22 13:36:35 -05:00
cigamit c7a58ab3cd Another minor update for #2962
Finished period '.'.
2019-09-22 10:57:52 -05:00
cigamit 927548de81 Minor update with #2962
It's too fast now.
2019-09-22 10:56:05 -05:00
cigamit ed397e563a Resolving Issue #2962
This should correct the boost and dsstat's issues.  There were a few hands on this one and it had not undergone a full regression in a while.

This update should speed things up pretty signifcantly.

First, don't check the last_update time if rrdtool is >= 1.5
Second, we can accurately assume that the filemtime() is the last update time.  This speeds things up dramatically.
2019-09-22 10:29:13 -05:00
cigamit ea25a80b1e Resolving Issue #2929
Boost performance decreased after updating to Cacti 1.2.6
2019-09-19 07:08:52 -05:00
cigamit 462695399b Resolving Issue #2834
Boost performance drops on very large systems
2019-07-18 20:14:37 -05:00
netniV e7b8158803 Resolving issue #2360
When retrieving database / table / column information, schema name is not always applied.
2019-02-08 22:45:23 +00:00
netniV b8c579b129 Update copyright notices for 2019 2019-01-25 08:06:11 +00:00
netniV cfd914a7cd QA fix on log message 2018-11-13 14:27:46 +00:00
netniV 681be57ef8 Record that boost was forced 2018-11-13 14:27:15 +00:00
Mark Brugnoli-Vinten 07150a3643 Resolving issue #1927 (#1929) 2018-09-15 08:47:00 -04:00
Mark Brugnoli-Vinten 1ca32862a9 Resolving issue #1920 (#1922)
* Resolving issue #1920

* Minor QA issue
2018-09-14 20:59:52 -05:00
cigamit 4cad68bf94 Protect against plugins including core files 2018-08-28 18:47:53 -05:00
cigamit ccef221b10 More PSR, require vs. include, some cleanup from plugin conversion 2018-08-11 12:07:26 -05:00
Mark Brugnoli-Vinten 29bed92dc3 Resolving Issue #1824 (#1825)
* Resolving issue #1824

* Fix more fixes for REMOTE_ADDR
2018-08-11 11:08:27 -05:00
cigamit 8e5a6fae0f Consistent includes in poller commands
Additionally, some white-space removal
2018-07-30 20:35:29 -05:00
cigamit 17434d370b Undefined variable errors in poller_boost.php 2018-05-11 07:13:45 -05:00
cigamit a914c7f782 Resolving Issue #1607
Boost next run time occurs in the past
2018-05-10 18:49:20 -05:00
cigamit 4d89902336 Transactions are not supported on CREATE, RENAME, DROP table Issue #1608
This change will remove the race condition when combined with the api
transaction support.
2018-05-10 17:37:56 -05:00
cigamit 6601c9fbb5 Correct SQL Syntax error and add transaction support 2018-05-10 07:51:12 -05:00
cigamit 4c8c280efa Make simple check on table drop 2018-05-10 07:43:34 -05:00
cigamit ea4e83cc07 Resolving Issue #1608
Possible boost race conditions
2018-05-10 07:41:01 -05:00
Tony Roman 519b35f5cd Update copyright to 2018 2018-01-06 09:10:15 -05:00
cigamit b1e412604e Resolving Issue #1074
Boost records get stuck in archive tables
2017-11-18 10:48:06 -06:00
cigamit 79a06805a1 Minor performance increase in boost proces
Also reformat poller_boost.php to be consistent with other CLI
functions.
2017-11-12 08:46:57 -06:00
Wolfgang Stöggl 4a1a15d72c Correct spelling of RRDtool (#1038)
- Change RRDTool -> RRDtool with a lowercase t.
- Replace in all files except *.mo, *.po, *.pot
2017-10-16 11:32:05 -04:00
Patrick c3419aa36e Various fixes && Updated Translations (#1032)
Good catch on the bug fixes too.  Hard to spot.
_______________________________________________________

* Updated Dutch translations
- Fixed i18n

* Defined fields in queries

* Fixed changelog

* Updated Dutch translations

* Various fixes

All committed files:
- true|false to lowercase

add_perms.php:
- displayGroups() was undefined

add_tree.php:
- duplicate case for '--quiet'

repair_templates.php:
- correction function call to diaplay_version()

gettext.php:
- PHP EOF unneeded

* Updated Dutch translations
- Updated Dutch translations with latest cacti.pot file

* Updated Dutch translations
- Fixed conflicts in translations
2017-10-15 07:27:25 -05:00
patrick 16e2b7c052 Replaced all if statements and inline if statement with $variable != '' where strlen($variable) was used to determine if a string was empty or not 2017-05-18 01:14:15 +02:00
cigamit 1a14cbb440 Introduce new get_cacti_version function to reduce database calls on pages 2017-05-14 12:29:30 -05:00
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
Arjan Oosting 52c9e94c63 use is_numeric to determine if the result is a numeric value 2017-02-28 20:32:41 +01:00
Arjan Oosting 41428d129e remove unnecessary semicolon 2017-02-28 19:36:25 +01:00
Arjan Oosting 372350d6ec Replace inaccurate table_rows with count
This should fix the hanging of boost when using innodb
2017-02-28 18:51:54 +01:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05:00
cigamit c5e1e8a0b3 Updates for remote polling
Note that you will need to rerun you database upgrade after thsese
changes.  Some a new table and some new columns have been added to
support remote polling and if you don't make these database changes,
your Cacti system may stop operating.
2016-12-26 17:00:07 -06:00
cigamit 87dfa9ebf1 Resolve multiple boost update issues 2016-10-20 02:06:03 -05:00
cigamit b523f1dea5 remove addslashes, prepared statements, wc3 validation, double to single quote
this is required for preparation of magic_quotes_gpc.
2016-08-28 15:27:48 -05:00
cigamit bed0be908d more cli help changes 2016-08-24 09:14:29 -05:00
cigamit cb0c0b8f23 Multiple Changes to Cacti Pollers
Changes include:
Double to single quote
Remove warnings with Cacti new warning system
Standardized help format
Standardized help and version options
2016-08-23 15:27:53 -05:00