Commit Graph
234 Commits
Author SHA1 Message Date
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 a8e43b12f2 Fixing Issues #3663, #3655, #3651, #3681, #3668, #3669 (#3680) 2020-07-12 00:55:18 +01:00
TheWitness c2aaa7d67d Fixing Issue #3632 and restructuring maintenance for #3629
- Some database conditions lead to warnings in the Cacti log
- Restructuring the poller maintenances into function blocks to simplify code flow.
2020-06-21 09:17:51 -04:00
TheWitness 77b0afde35 Fixing Issue #3386
Second data collector shows as running when its not when no items to gather
2020-03-28 19:44:52 -04:00
TheWitness efa46bbcf6 More upgrade QA
* Upgrading from pre 1.x should properly work now with little or no errors.
2020-03-15 11:17:12 -04:00
netniV 4fa9a68fb3 Update copyright to 2020 2020-01-12 12:19:49 +00:00
cigamit 7bae47230f Resolving Issue #3177
Remove legacy plugin hook that presents potential 3rd party security issues
2020-01-10 19:24:45 -06:00
TheWitness da2bdbeb42 Fixing Issue #3161
If for some reason the poller_output_boost table is missing, recreate it before a poller run
2019-12-31 11:21:38 -05:00
cigamit f3ba511936 Log the automatic enablement of boost 2019-12-01 19:23:37 -06:00
cigamit 176400bfc5 Resolving Issue #3124
When a second data collector is added to Cacti, boost is not enabled automatically
2019-12-01 15:53:45 -06:00
cigamit 1a6ba586e3 Resolving Issue #3101
Poller.php polling... too fast?!
2019-11-26 20:14:36 -06:00
netniV 93391cd1a3 Poller overrun warning message is badly worded
Closes #2901
2019-08-16 12:32:36 +00:00
cigamit 81701f3b5a Resolving Issue #2866
Add poller ID to subject for admin notifications
2019-08-11 15:02:21 -05:00
cigamit 405ef92a36 Resolving Issue #2884
Disable replication not working
2019-08-11 13:11:03 -05:00
cigamit e52708eefa Resolving Issue #2727
Warning issued when poller is set to cmd.php and DSStats is enabled
2019-06-09 19:42:54 -05:00
cigamit ba21617bb7 Resolving Issue #2712
The hard code of set memory_limit need to be removed
2019-05-30 07:51:12 -05:00
cigamit 29f00f8c46 Resolving Issue #2672
Cacti Install on Windows Fails
2019-05-07 22:30:41 -05:00
cigamit 3312d9e03a Properly set the poller for Recache Stats 2019-03-10 15:31:43 -05:00
netniV 6ea486a00a Merge branch 'develop' for release 1.2.2 2019-02-24 13:37:05 +00:00
netniV cc9cd24f76 Resolving issue #2433
Bad SNMP Index warning despite all data sources disabled
2019-02-19 15:33:15 +00:00
cigamit 36635a4958 Resolving #2383
[develop 1.2.2] - error message bad_index_check()
2019-02-08 07:14:39 -06:00
cigamit bdc4ed9c05 Resolving Issue #2357
- Poller issuing WARNING with little way to diagnose
- This change will remove bad items first from the poller cache
- It adds a new option to filter Data Sources with a Status of Bad Index
- It issues a waring every few hours of the prescense of Bad Index in
the system.

The warning threshold may be excessive.  Will have to see as in large
installs indexes can get bad all the time.
2019-02-02 11:49:04 -06:00
cigamit cd6b789bb0 Resolving Issue #2317
Poller time table running out of auto increment keys
Also correct two copyright years
2019-01-26 10:23:42 -06:00
cigamit af3ba2a39a Resolving Issue #2317
Poller time table running out of auto increment keys
2019-01-26 09:55:26 -06:00
netniV b8c579b129 Update copyright notices for 2019 2019-01-25 08:06:11 +00:00
netniV 308292e2d7 Update copyright notices for 2019 2019-01-25 08:05:00 +00:00
Tony Roman 820c54177a Merge branch 'develop' for 1.2.0 release 2019-01-02 18:22:00 -05:00
cigamit d768c29140 One more change around #2221 2018-12-27 06:57:44 -06:00
cigamit 44ef68fe7f Additional loose ends on issue #2219
More cases.  There may be more, but expect that they have minor or no
impact.
2018-12-20 17:15:09 -06:00
cigamit e21b9f605d Resolving Issue #2111
This also accurately records the polling time and prevents large archive
files from being scanned for the md5sum of the directory.
2018-10-23 07:19:06 -05:00
cigamit 569d9148c4 Resolving Issue #2089
[1.2.0 Beta 2] Remote Data Collectors should log their poller_time
results to the main server during online
2018-10-18 06:05:29 -05:00
netniV 30a14254e0 Partial fix resolving issue #2078 2018-10-15 20:15:46 +00:00
cigamit 62ff22cae9 Initialize the remove data collector data
Without these settings populated there is a possibility of database
corruption.
2018-09-24 18:05:21 -05:00
cigamit f3796db2c9 More QA on #1060
Getting closer now.  Still have to test online/offline behavior.
2018-09-24 00:01:25 -05:00
cigamit ddd9633e22 Boost is mandated when pollers > 1 2018-09-23 22:50:52 -05:00
cigamit 9d5dc17262 Don't let the Web server hostname be 'localhost' 2018-09-23 22:40:39 -05:00
cigamit 67718c2f7a Correct two issues with poller when using multiple pollers 2018-09-23 17:34:37 -05:00
cigamit 88d9fd5423 Recognize the new column for initial sync 2018-09-23 15:33:23 -05:00
cigamit 504631343e Additional QA and Fixes for Issue #1060
- Add full sync cli tool
- Add force full sync option under settings
- Display last sync time from the Data Collectors page
- Upgrade script to add new poller column
2018-09-23 00:25:06 -05:00
cigamit e845fbb20c Resolving Issue #1060
- Design Enhancement for Large scale Cacti Implementations
- Spine changes still required
- Testing still required
2018-09-22 23:17:19 -05: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 47c5c7c353 No updates unless the schema is good for 1.2 2018-09-08 16:29:22 -05:00
cigamit 4cad68bf94 Protect against plugins including core files 2018-08-28 18:47:53 -05:00
cigamit eabba01bc4 Resolving Issue #1833 2018-08-21 17:40:15 -05:00
Mark Brugnoli-Vinten 4fe6bd197a Resolving issue #1854 (#1855) 2018-08-20 19:00:36 -05:00
cigamit 2b0c2d9113 Resolving Issue #1833
[1.2.0] Does not allow for multiple processes
2018-08-14 18:47:46 -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
Mark Brugnoli-Vinten 6e1b8431b7 Fixes for Issues 1781, 1782 and 1784 (#1785)
* Fixes for Issues 1781, 1782 and 1784

This patch corrects the following issues:

- #1782 During Install, changing the Theme from Modern to another theme has no
        effect
- #1784 During Install, changing the Language from one to another has no
        effect
- #1781 Installer does not warn when mysql optimizations not set

As part of #1781's fixes, a new warning icon is displayed instead of a thumbs
up or down.  Additionally, recommendations have been revamped so that the ones
which are optionally (and some even state can be ignored) are now optional!

Also, introduced the correct calculation for innodb instances by taking the
buffer size during a previous recommendation and calculating from that.  If
the buffer size is never found or the calcuation finds less than 1 instances
are recommended, a minimum of 1 is set.

The main reason for #1782 and #1784's issues were caused by renaming index.php
to install.php as part of the recent security update (see PR #1747).  Updated
the javascript to use the correct install.php and then removed some extra data
that was being returned outside of StepData unnecessarily.

* Further fixes

This update corrects a number of issues with the database upgrading code, adds
the 'debug' plugin from cigamit, improves database functions to be more
consistent with errors across all functions and various installer based fixes
for the display and update of database upgrades.

It also brings a more visual response to the cli/upgrade_database.php so that
end users are not left wondering if something is happening.  Also, reviewed
all upgrade scripts to ensure that an upgrade from 0.8.8 through to 1.2.0 is
possible even if a previous database upgrade have been done.

* Fix QA issue with 'path_cactilog'

Due to some code reshuffle and testing, found that the above setting was being
read via read_config_option() before there was a database open so no path was
ever detected unless the force option was used.
2018-08-05 10:43:01 -05:00