Commit Graph
207 Commits
Author SHA1 Message Date
TheWitness df54a4a3f3 Updating copright years 2021-01-01 20:28:58 -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 7dbc934e6c Resolving Issue #3761
Cacti V1.2.12 backtraces when deleting devices
2020-08-26 13:08:28 -04:00
ddb4github b437321c4f Fixed #3563: Correct errors due to orphan column (#3709)
* Fixed #3563: lots of "Error: Duplicate column name 'orphan'" from parallel process 'poller_reindex_hosts.php':
 - Add column 'orphan' during 1.2.13 upgrade
 - Remove function 'add_orphan_support'

* Fixed#3563: change upgrade script from 1.2.13 to 1.2.14

* Fixed#3563: change upgrade script from 1.2.13 to 1.2.14

* Fixed#3563: add new column into cacti.sql and audit_schema.sql
2020-08-02 22:18:49 +01:00
ddb4github 25638ab23c Correct various runtime errors due to incorrect message variables (#3571) 2020-05-23 18:33:08 +01:00
TheWitness a719f64eb4 Fixing Issue #3563
Current orphan handling disrupts graphing transient indexes.
2020-05-18 02:43:14 -04:00
ddb4githubandJing Chen 46874b56af Fixed #3485: PHP Error: Array to string conversion in function 'data_query_remove_disabled_items' (#3486)
Co-authored-by: Jing Chen <three_chenjing@sohu.com>
2020-04-22 20:18:57 -04:00
TheWitness 9121e3a2b4 Fixing Issue #3478
Data Query Re-Index is not optimal causing very long Re-Index times
2020-04-19 15:39:13 -04:00
TheWitness 246b9a709b Fixing Issue #3367
When Data Queries timeout, data is removed from the Host SNMP Cache table causing issues
2020-03-21 18:52:31 -04:00
TheWitness 5acf13371f Attempt to Fix #3315
AutoM8 does not create graphs when devices are added to remote poller
2020-03-14 16:45:53 -04:00
TheWitness 624f84d09a Fixing Issue #3346
Broken rewrite of octet strings
2020-03-12 17:59:29 -04:00
netniV 4fa9a68fb3 Update copyright to 2020 2020-01-12 12:19:49 +00:00
cigamit 0f58d839cc Resolving Issue #2974
Data Query Issue with Script Server when 'arg_num_indexes' set but not found
2019-09-24 19:59:57 -05:00
cigamit 639f2bdfe1 Resolving Issue #2922
Undefined variable 'result' in lib/data_query.php
2019-09-04 23:51:10 -05:00
cigamit 039755e1bf Resolve Issue Related to #2828 2019-08-11 17:54:41 -05:00
netniV 4e90285fc5 When trying to find the best index to use, a 'must implement Countable' warning appears
Closes #2857
2019-08-01 12:49:31 +00:00
cigamit c47211f2da Update data query for missing sort field
This fix will allow data query re-indexing to continue if the primary sort field that was set was not found.  This will allow Cacti to attempt to find a new primary sort field.
2019-07-11 08:16:16 -05:00
cigamit 49785376a6 Resolving Issue #2802
If a Device lacks any good values for ifName Cacti is unable to find a better sort field
2019-07-05 20:58:31 -05:00
netniV 45c566f2db Correct typo in data_query.php 2019-07-05 21:00:20 +00:00
cigamit 7cf63b85a7 Resolving Issue #2663
Update the sort field when it's not set initially.
2019-06-23 16:43:34 -05:00
cigamit 1f50b256e2 Resolving Issue #2663
If the old index order is going to be null, then pick the first one.
2019-06-23 16:12:07 -05:00
cigamit e95e834d6c Resolving Issue #2663
Some legacy Data Queries can not determine their index order causing broken graphs
2019-06-23 14:21:12 -05:00
cigamit 51438fe8d7 Minor update to include ifAdminStatus 2019-05-23 20:41:22 -05:00
cigamit 8845109575 Resolving Issue #2685
Cacti AUTOM8 creates same multiple graphs
2019-05-23 07:47:10 -05:00
cigamit aa950eb69d Resolving Issue #2701
Provide option to continue graphing objects that loose their index
2019-05-22 17:51:54 -05:00
cigamit 1cb1281ccb Resolving Issue #2449
Index incorrectly changed to 1 if the index is alphanumeric when <source> OID/REGEXP: or OIDVALUE/REGEXP:
2019-02-28 17:34:18 -06:00
cigamit 9ea5ad9d13 Change logic after double review 2019-02-23 09:17:40 -06:00
cigamit 9b39a47ea3 Remove two false positive WARNINGS in the Cacti log
These errors occur on new installs, but can also happen at other times
for certain classes of Data Queries.
2019-02-23 09:13:46 -06:00
cigamit 7619203f36 Syntax error when repairing bad indexes 2019-02-18 07:33:56 -06:00
cigamit 6120c589ec Resolving Issue #2375
You will have to re-index again.
2019-02-05 20:30:22 -06:00
cigamit 46b66bc957 Resolving Issue #2375
SQL Errors due to lack invalid call.
2019-02-05 18:09:04 -06:00
cigamit 8c52acab4e Another stab at #2372 2019-02-05 08:04:31 -06:00
cigamit b7f7fa0e1a Resolving Issue #2372
SNMP DS with dskPath Index Type does not work
2019-02-04 19:37:08 -06:00
cigamit 8185eb7094 Resolving Issue #2354
Reindexing in Automation Not Updating Graph and Data Source Titles
2019-02-03 09:12:38 -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 b771a6d1a6 Add some tracing for re-indexes 2019-02-02 07:21:42 -06:00
netniV b8c579b129 Update copyright notices for 2019 2019-01-25 08:06:11 +00:00
cigamit ea7f0e9f38 -issue: Issue an error when Graph Template to a Data Query mapping incorrect 2019-01-10 17:28:56 -06:00
cigamit 873a680622 Add more validation stepss in re-indexing
Thiese additional checks will avoid some corner cases that result in
damaged data queries.
2018-12-29 09:25:48 -06:00
cigamit 7859a3c414 Adding instrumentation for #2220
This will help us find the problem data queries and devices.
2018-12-23 13:27:48 -06:00
cigamit 4f101b4a8a Resolve Issue #2221
[1.2.0 Beta 4] Perpetual Recache Events (APC Devices; Others)
2018-12-23 09:11:13 -06:00
cigamit 52a6048852 Make Travis Happy & Resolve Issue #2070 2018-10-13 21:06:36 -05:00
cigamit e4e8e4cf07 More resolution to Issue #2070
The only thing left is to ensure that automation is run when you are
running re-index from the main Cacti web site.  Also, to determine how
automation should run in batch mode since the re-indexing is not
preforming this in the background on the remote data collectors.
2018-10-13 17:26:51 -05:00
cigamit 7b6ebc2efe Resolving Issue #2070
[1.2.0 Beta 1] When a Remote Data Collector is in Offline Mode Re-index
Issues Occur
2018-10-13 16:29:05 -05:00
cigamit e6b8bf1f09 Another update to Issue #454
This change allows remapping to work even when a users has edited the
Data Source and forced an index.
2018-10-10 11:38:13 -05:00
cigamit 5a90121ecf Add more verbose query hints 2018-10-10 06:53:07 -05:00
cigamit ff110579a6 One more update for #454
This will add some reporting.
2018-10-10 06:30:35 -05:00
cigamit edd09fca02 Related to issue #454
Don't remap graphs to the new index until all the data sources have been
remapped.
2018-10-10 06:19:17 -05:00
cigamit 9e7e548481 Remove redundant logic for testing 2018-10-10 05:54:18 -05:00
cigamit 1d7278cf38 More fixes for Issue #454
The logic on the query was flawed.
2018-10-10 05:12:39 -05:00