Commit Graph
81 Commits
Author SHA1 Message Date
TheWitness 3d62cf2723 Fixing #4223 - Parallel boost killing incorrect processes 2021-04-13 18:34:15 -04:00
TheWitness ea6c00d465 Fixing Issue #4223 - Parallel boost restart
Parallel boost restart due to timeout can result in errors
2021-04-10 09:35:48 -04:00
TheWitness c25ab9c99d Fixing Issue #4185 - Signal Handling Best Practices
- Cacti signal handling is not following best practices in PHP 7
2021-03-20 19:28:44 -04:00
TheWitness bc60403c78 Another major boost improvement re #4066
Update language file as well.
2021-02-11 19:17:24 -05:00
TheWitness 977f1298fa Two minor issues to #4066
- Undefined variable
- Better formatting
2021-01-26 20:19:18 -05:00
TheWitness 7364b769b3 Needless precision on #4066 2021-01-24 13:27:29 -05:00
TheWitness 5cb1b0794b Minor stats issues with #4066
All variables off by a factor of the number of processes.  This gives us the average of the values.
2021-01-24 12:29:11 -05:00
TheWitness a8dea28b6e Report details from View Boost Status
Correct bug in detailed reporting and present output of each process from the System Utilities page.
2021-01-23 21:39:20 -05:00
TheWitness 65bdc24e12 Fixing Issue #4066 - Boost Parallel
- Boost - Number of Boost Processes without function
2021-01-23 15:12:17 -05:00
TheWitness 3dda6b5760 Update to #4043 after testing 2021-01-14 21:27:36 -05:00
kim-fitnessandTheWitness d1b056c841 Fix #4043 (#4044)
* Update poller_boost.php

* Update CHANGELOG

* Update boost.php

* Update poller_boost.php

* Update poller_boost.php

* Update boost.php

* Light modification for performance reasons.

* More cleanup/optimization

* More cleanup

* More optimization

* More optimization and PSR changes

* Last update

Co-authored-by: TheWitness <thewitness@cacti.net>
2021-01-14 21:16:06 -05:00
TheWitness df54a4a3f3 Updating copright years 2021-01-01 20:28:58 -05:00
TheWitness 5a5cc8d1e4 Update file permissions 2020-11-22 16:59:23 -05:00
TheWitness a392ce8e96 Use LSB shebang notation for cli scripts 2020-11-06 07:02:37 -05:00
TheWitness 52bb6ffda7 Remove all remaining instances to "sizeof(" or "count(" in code
* Some insances in the vendor directory have not been handled to maintain pedigree.
2020-10-21 08:27:42 -04:00
TheWitness b2c971f9c4 Fixing Issue #3656
Cacti V1.2.12 Boost running too often
2020-08-30 17:21:56 -04:00
netniV aedeae8516 When Boost runs, locks are not always released properly and crash is detected (#3567)
Closes #3567
2020-05-22 23:59:21 +00:00
TheWitness 1f122e9ef9 Fixing Issue #3533
Start date for RRDfile is different between RRDfile in a Cacti install
2020-05-04 21:20:10 -04:00
ddb4githubandJing Chen e6c7191d70 Fixed: Sync boost_rrdtool_function_update return_value checking behavior from 729cdad to #2834 (#3487)
Co-authored-by: Jing Chen <three_chenjing@sohu.com>
2020-04-22 20:18:12 -04:00
ddb4githubandJing Chen 8b26c35565 Fixed: Same fix as for #2859 for deprecated curly braces (#3469)
Co-authored-by: Jing Chen <three_chenjing@sohu.com>
2020-04-17 17:11:21 -04:00
TheWitness c7657cad81 Fixing Issue #3432
Rare race condition when both boost and dsstats enabled
2020-04-07 22:45:30 -04:00
TheWitness 88c98f3c1e Fixing for issue #3771
Cacti 1.2.9 Graphs Pause Randomly
2020-03-25 08:42:37 -04:00
netniV 4fa9a68fb3 Update copyright to 2020 2020-01-12 12:19:49 +00:00
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