Commit Graph
425 Commits
Author SHA1 Message Date
TheWitness 361d329d02 Fix Syntax Error Test #4720 2022-04-15 14:42:27 -04:00
TheWitness a42d88fd0d Add better messaging to plugin installs 2022-04-15 14:13:45 -04:00
TheWitness ab3d89bc7d Be less verbose on #4720 2022-04-15 13:18:59 -04:00
TheWitness 57a6176517 Fixing #4720 - Install plugins
- Add a CLI script to install/enable/disable/uninstall plugins
- Updating some props
2022-04-15 13:17:57 -04:00
netniV 2f87079bf4 Update things for GitHub CI 2022-04-14 08:30:32 +00:00
netniV abccab09be Fix up some CI issues 2022-04-13 20:23:00 +00:00
Paul Gevers d36f13e404 push_out_hosts.php is missing its header (#4713) 2022-04-13 15:56:10 -04:00
TheWitness 500065960b Fixing Issue #4689 - Package Import Errors
Package Import generates errors when you try to import directory or non-file
2022-04-12 18:49:30 -04:00
Sean Mancini 3410741cc9 Update analyze_database.php (#4627)
fix typo
2022-03-15 20:53:02 -04:00
TheWitness 786c0693b5 Fixing Issue #4620 - Remote CLI Issues
- Remote Data Collector CLI scripts connect to the local database instead of the main database even when online
- Add PHP Doc style documentation to lib/database.php
- Add missing $log and $db_conn to one function
2022-03-15 17:36:32 -04:00
TheWitness 82b229db9e Updating Copyright to 2022. 2022-02-06 17:16:20 -05:00
TheWitness 3b9c2e789a Fixing Issue #4512 Graph API Issues
The Cacti API can not remove a Graph that has no Data Sources
2021-12-21 13:01:52 -05:00
netniV 7cb8e91bbe Installation can sometimes appear stuck during replication or table conversion (#3816) 2021-12-14 23:26:35 +00:00
TheWitness a5d2587da1 Additional QA on #4363
In this commit I moved the repair into the repair_database.php script as well as added a new option for a Quick Sync which will only focus on Graph's that have a differing number of Graph Items from the Template.
2021-11-30 16:26:53 -05:00
TheWitness 0ee3f7baa0 Additional Checks for #4480
This is an additional find that I made.  I've not traced the source, so adding to repair_database.php script as well.
2021-11-28 15:21:15 -05:00
Jing Chen e9343b0da5 Fixed several typo in php file header (#4483) 2021-11-28 10:50:18 -05:00
TheWitness da8530caf5 Fixing #4479 - Updated Repair tools
As a repair tool, the rebuild poller cache scripts lacks critical options to reduce runtimes
2021-11-27 09:53:05 -05:00
TheWitness ed031fa103 Minor logging update and actually enable the gap fixing 2021-06-25 14:52:25 -04:00
TheWitness 81e5fc548d Add Batch Gap Fill/Float Parallel and Fix on Bug #4317 and #4316
- Allow the Cacti administrator to perform bulk gap filling and floating in parallel
- Remove Spikes CLI interface is unable to provide localized spike, gap fill or float operations
2021-06-21 16:00:33 -04:00
Jing Chen c8474f40b6 Refixed: #4079 Audit Database: (#4301)
audit_database.php compatibility enhance for current_timestamp() and CURRENT_TIMESTAMP
2021-06-12 15:59:48 +01:00
TheWitness f823276030 Fixing #4194 - Upgrade errors 2021-03-25 17:52:13 -04:00
TheWitness 25c6dbd06c Fixing #4194 - Upgrade errors
SQL error when saving device
2021-03-24 20:35:21 -04:00
TheWitness 045d40423b Fixing Issue #4193 - Reindex Disabled Devices
- Script poller_reindex_hosts.php | Try to Reindex disabled devices
- Added better verbose output when using --debug option
- Moved query to prepared statements for security
- Report orphan and item counts too
2021-03-22 22:12:36 -04:00
TheWitness afcb13bb8d Fixing Issue #4105 - Builk Walk Repetition size detection
- Issue with SNMP Bulkwalk Repetitions Size
- This enhancement adds a new column to the host table for bulk walk size us
- Detection can happen on each re-index, set manually, or detected and set one time.
- Changed Max OID's to a dropdown
- Max Repetitions is also a dropdown now
- This setting was also carried to the Automation portion of Cacti and the Add Device CLI
2021-03-21 14:32:47 -04:00
TheWitness 782986545e Fixing Issue #4174
Cacti's analyze_database.php script should skip binary logging if replication is being used
2021-03-17 22:20:21 -04:00
TheWitness 4a2ec55e42 Fixing Issue #4136
The Cacti repair_database.php script has no option to skip table checks and force Data Source repair
2021-02-18 07:16:34 -05:00
TheWitness 557f89bd67 Revert "Merge branch '1.2.x' of https://github.com/Cacti/cacti into 1.2.x"
This reverts commit 0b597f61cb, reversing
changes made to b062b2bb57.
2021-01-26 19:48:30 -05:00
browniebraun 20e6223f6d Revert "Merge branch '1.2.x' of https://github.com/Cacti/cacti into 1.2.x"
This reverts commit 7e0da80345, reversing
changes made to 3ee16196ef.
2021-01-26 19:09:33 +01:00
TheWitness 264067ce50 Make Travis happy 2021-01-25 21:00:30 -05:00
TheWitness ec977ce802 Another minor fix. Too much Cacti for a single weekend. 2021-01-24 20:48:28 -05:00
TheWitness 640b45f474 Test before commit next time on #4092 2021-01-24 20:43:02 -05:00
TheWitness 0635e79288 Fixing Issue #4092
- On large systems several Cacti integer value will overflow
2021-01-24 19:32:13 -05:00
TheWitness 302ccc9014 Fixing Issue #4079 - Audit Database
- audit_database.php compatibility enhance for current_timestamp() and CURRENT_TIMESTAMP
2021-01-23 10:59:55 -05:00
TheWitness df54a4a3f3 Updating copright years 2021-01-01 20:28:58 -05:00
YongBoLiuandyboliu a3319e80ce Fix3999 (#4000)
* feature 3965, Add a value check if the input field is textbox in settings

* feature 3965, revert

* Fix #3999

* Refix issue #3999, wrap mysqldump into db_dump_data()

* Fix issue #3999, update the db_dump_data() to minimize password be caught.

Co-authored-by: yboliu <yboliu@oc8636837557.ibm.com>
2020-12-30 18:03:11 -05:00
TheWitness c420e388b5 Fixing issue #4012
Provide CLI script to renew the CSRF security key for CSRF protection
2020-12-17 20:33:47 -05:00
ddb4github fd97a5da3c Fixed: audit_database.php set macro IN_PLUGIN_INSTALL for plugin upgrade (#3997)
* Fixed: audit_database.php Invalid parameter number: no parameters were bound

* Fixed: audit_database.php set macro IN_PLUGIN_INSTALL to skip cache of db_column_exists function
2020-12-09 08:59:30 -05:00
ddb4github 2bbd3f857f Fixed: audit_database.php Invalid parameter number: no parameters were bound (#3996) 2020-12-09 08:08:23 -05:00
TheWitness 1c9f332794 Fixing Issue #3977
Cacti CLI upgrade_database.php misses constant IN_CACTI_INSTAL which may result in upgrade failures
2020-12-03 08:34:54 -05:00
TheWitness 909bcbf7c5 Two minor typos 2020-11-26 14:03:49 -05:00
TheWitness f888a845e6 Correct last remaining issues and more messaging 2020-11-26 10:13:04 -05:00
TheWitness 83b52e1138 Fixing Issue #3942
* The audit_database.php script will only modify columns, and add indexes, it does not add column
* There will likely be one more update to this before it's done.  There are a few cases not working 100% yet.
2020-11-26 08:32:16 -05:00
TheWitness 968b212465 Correct three issues with PHP7.4 2020-11-22 22:41:03 -05:00
TheWitness a4e5976b8e Update file permissions 2020-11-22 16:58:46 -05:00
TheWitness 15539fec9f Fixing Issue #3909
The cli script install_cacti.php does not exit with not zero exit code when errors occur
2020-11-06 07:12:53 -05:00
TheWitness a392ce8e96 Use LSB shebang notation for cli scripts 2020-11-06 07:02:37 -05:00
Christopher PereiraandTheWitness ee8348a05e Fixed wrong error message (#3881)
* Fixed wrong error message

Script was throwing "ERROR: no filename specified" when file was not readable.

* Update CHANGELOG

* Update CHANGELOG

Co-authored-by: TheWitness <thewitness@cacti.net>
2020-10-24 09:43:02 -04: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
netniV e12af7e62d Remove Devices shows undefined variable error (#3782)
Closes #3782:
2020-10-06 15:40:16 +00:00
Jeff 9969e58277 Update removespikes.php (#3671) 2020-07-09 09:19:27 +01:00