Commit Graph
486 Commits
Author SHA1 Message Date
Mark Brugnoli-Vinten e4d60297fd Update copyright year for 2023 2023-01-04 13:36:25 +00:00
Mark Brugnoli-Vinten 32ba2f19f4 Update copyright year for 2023 2023-01-03 20:34:26 +00:00
Mark Brugnoli-Vinten 8b29d12cc9 Define cacti system paths as constants for better code checking (#5120)
This also provides a full run of src-fixer against all files to
ensure all code is now in alignment.

Closes #5120
2023-01-01 01:03:15 +00:00
Mark Brugnoli-Vinten c62b71aded Fix debug level of install_cacti 2022-12-21 11:11:21 +00:00
Mark Brugnoli-Vinten 4ecf066879 Fix up some versioning issues 2022-12-18 22:28:13 +00:00
TheWitness 8481dc4740 QA on #5088 Prepared Statements 2022-12-13 22:10:36 -05:00
TheWitness 16c9762ef9 Fixing #5088 - Host Update Template Reindex Method
CLI script host_update_template.php falsely changes reindex method to uptime
2022-12-13 22:08:02 -05:00
netniV 6720292f60 QA: Password is double escaped in audit_database.php 2022-12-10 03:08:23 +00:00
Mark Brugnoli-Vinten 9b92c42de8 QA: Add debug to audit_database 2022-12-09 23:28:28 +00:00
netniV 7fbaf93aac QA: Add option to display grants used 2022-12-09 23:18:09 +00:00
Mark Brugnoli-Vinten 772938c6ce QA Audit_database.php fails (#5053)
This does not address the connection issue, but does fix up
some issues when running under windows.
2022-12-09 15:36:29 +00:00
Sean Mancini ce85f74776 Update remove_device.php (#5054) 2022-12-05 23:56:16 +00:00
Mark Brugnoli-Vinten 5263cfa4b1 Correct issue with host_id having wrong prefix (#5049)
Closes #5049
2022-12-05 23:27:36 +00:00
TheWitness ef38a001db Fixing Issue #5034 - Structured Paths
RRD Proxy Server not supported by CLI script "structure_rra_paths.php"
2022-12-04 14:44:00 -05:00
Jing Chen 2de88a878c Fixed three files (#5026) 2022-12-02 02:12:51 +00:00
Mark Brugnoli-Vinten b6ff8d9360 Update more copyrights 2022-12-01 02:27:49 +00:00
Mark Brugnoli-Vinten a36bd30aec Update copyright years 2022-12-01 00:47:50 +00:00
Mark Brugnoli-Vinten 717e0a63d5 Update scripts to comply 2022-11-30 11:16:51 +00:00
netniV 9eb99489ae Fix up some minor issues with versioning 2022-11-27 03:10:15 +00:00
TheWitness 18a995964d Make audit_database.php work for cross checkin
Just checking the schema against the audit.  Finding some discrepancies.
2022-11-27 02:58:57 +00:00
Romanandrb83 1325350012 adjust CLI output slightly for rebuilding poller cache (#4339)
Co-authored-by: rb83 <>
2022-11-27 02:21:37 +00:00
gadzet21 6347a09696 Update reorder_data_query.php (#4306) 2022-11-27 02:00:31 +00:00
netniV 77bb4ddc21 Ability to disable a site (#3740)
Closes #3740
2022-11-27 01:46:10 +00:00
netniV c105de1e8e Ability to see MySQL permissions associated with current database user
Closes #3738
2022-11-26 22:27:33 +00:00
Jeff 6857dc86e1 New Spikekill features (#3729) 2022-11-26 22:19:35 +00:00
gadzet21andnetniV 552a3b3119 Allow exclusion of snmp fields / value(s) when adding graphs via CLI (#3568)
Co-authored-by: netniV <netniv@hotmail.com>
2022-11-26 21:54:54 +00:00
netniV 881949d271 Allow copy_user cli script to set various additional fields (#3558)
Closes #3558
2022-11-26 18:40:16 +00:00
netniV 371208c544 Database Audit utility does not check database permissions (#3547)
Closes #3547
2022-11-26 17:09:42 +00:00
Bartjan Hoogenbosch 1dcd5c321f Added the 'graph-id' option (#3139)
* Added the 'graph-id' option

Added the to remove a specific graph. This can be helpfull with automated clean-ups (eg. use rrdtool to find the 'lastvalue' of nan, then remove the corresponding graph of the found datasource).

* Spacing fixed

* Update CHANGELOG
2022-11-26 00:46:39 +00:00
netniV 729cd2ac2d Update DEV_VERSION for testing 2022-11-25 20:00:34 +00:00
netniV db80d973b3 Add new 'add_site' script 2022-11-25 19:48:27 +00:00
netniV 61842eb1a0 Reduce number of development upgrade requests
By introducing CACTI_DEV_VERSION, any development / git version of the website will only request an upgrade if the timestamp
is greater than the database timestamped version. Any non-development version will be treated as per the original method of
complete version difference.
2022-11-25 02:44:10 +00:00
netniV dc20aeec38 Introduce development version detection 2022-11-25 02:28:43 +00:00
netniV 573d395900 Add warning to RRDresize 2022-11-25 01:54:47 +00:00
netniV 2fb69e4f70 Remove EOL from beginning of RRDresize version text 2022-11-25 01:33:52 +00:00
netniV b1eb53fb84 Bring rrdresize upto 1.2.x standards 2022-11-25 00:17:37 +00:00
netniV b1db641c7a Convert rrdresize from dos to unix format 2022-11-25 00:17:23 +00:00
netniV cf2561f70d Add original rrdresize by browniebraun 2022-11-25 00:16:08 +00:00
Jing Chen 5efe3f2ac0 Update three fiels for PHP error under PHP 8.x (#4738) 2022-11-24 13:11:39 -05:00
TheWitness cfe7c75721 QA: Stop function re-declaration errors 2022-11-06 13:48:48 -05:00
TheWitness bf05fc780a QA: Undefined variable restructuring paths when file does not exist 2022-10-16 14:46:53 -04:00
TheWitness 474f146b90 Fixing, new editor failed me 2022-09-29 06:40:09 -04:00
TheWitness ea0102cef5 Some light QA and add --step and --local-graph-ids options
These two options allow you to:
* For testing on a single or a small set of graphs, specify those graph ids
* If you only with to update one of the aggregation levels, say for example daily ~ 86400 step size, do that or greater.  This means that if you have the 'default' cacti which is 5 minutes, 30 minutes, 2 hours, and 1 Day, you can limit which steps or greater to update.  This is good for updating RRDfiles where the data occurred weeks, months or years in the past.
2022-09-29 06:35:20 -04:00
TheWitness 0479c42982 Fixing #4927 - Issues with audit_database.php
When running audit_database.php script will fail if cacti password had a ) in it
2022-09-24 11:32:01 -04:00
TheWitness af43a24300 QA: Handle invalid data better 2022-09-11 14:46:43 -04:00
TheWitness abbcbaeb85 Fixing Issue #4888 - MySQL 8 Audit
Cacti audit_database.php script fails on MySQL 8.0.29 and likely will on newer versions
2022-08-21 13:31:47 -04:00
TheWitness 15b096bc32 Add two new methods to #4533 Structured Paths
- In my case, I would still have too many base directories.  So, this change will add a third possible level to spread out files within the file system.
2022-08-09 18:46:16 -04:00
TheWitness 6c07b0465e Fixing #4882, #4881, #4880, #4533 - Boost and Structured Paths
This change adds two features, and corrects some minor bugs:

* issue#4880: The MySQL get_lock() function can lead to stalled boost and dsstats processes
* issue#4882: Under rare conditions the boost process can get hung until the poller times out
* feature#4533: Restructuring RRDfile paths takes too long on large systems and will stop polling for potentially several hours
* feature#4881: When boost is running, it's not clear which processes are running and how long they have to complete
2022-08-07 16:39:24 -04:00
TheWitness 32fa795439 QA: Issue with upgrade_database.php 2022-07-31 13:34:06 -04:00
TheWitness aaa502f223 Fixing #4866 - PHP 8.2 Support
Using ${var} in strings is deprecated, use {$var} instead in file
2022-07-19 22:52:17 -04:00