Commit Graph
182 Commits
Author SHA1 Message Date
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
cigamit 6cc0b08652 More safety checks and log messages 2018-10-10 04:21:46 -05:00
cigamit faae3bb2ab Correct syntax error 2018-10-10 04:03:56 -05:00
cigamit edb563b5a8 Related to issues #454, #1981, #2042
If re-indexing fails, don't continue
2018-10-10 04:00:17 -05:00
cigamit 5b3bbe8f4d Remove warning when first creating the device 2018-10-10 03:43:35 -05:00
cigamit 3c2c8882cc Correct bug in re-index logic 2018-10-10 02:33:09 -05:00
cigamit 9b387e9e0c Don't allow re-map to occur on bogus data 2018-10-10 02:26:26 -05:00
cigamit 8519420a89 Add instrumentation if a remap occurs 2018-10-10 02:24:06 -05:00
cigamit a660af58b7 Correct two re-index and graph create issues
- Don't clear indexes for old data sources
- Don't duplicated a data source unless you have to
2018-10-07 20:16:17 -05:00
cigamit dd571a8142 Reindex cache not populating properly 2018-10-06 12:07:20 -05:00
cigamit bd0382c8ee Update wording per Javier 2018-09-30 05:48:46 -05:00
cigamit 54f848726f Related to Issue #454
If an index no longer exists, remove the poller item's for those objects
so as to not get false data.
2018-09-30 04:24:14 -05:00
cigamit 4596eaf7f4 Resolving Issue #454
@pautina, all working now.  I did some tests with the following:
1) An vlan is removed
2) A new vlan is added with the old vlans index
3) The old vlan re-appears with a new index
4) Vlans that never were deleted magically get new indexes

All passed.
2018-09-29 17:05:40 -05:00
cigamit 709c532637 Resolving Issue #454
Do not test this on a production box.  It is functional, but looking for
someone to test the re-index behavior when a sort field changes.
2018-09-26 21:12:46 -05:00
cigamit a970af8c31 Misque for Issue #454
Two SQL errors should have been generated during reindexing.  Two for
each interface.
2018-09-25 17:19:11 -05:00
cigamit ac4d552599 Minor updates. 2018-09-24 20:09:50 -05:00
cigamit 34b0f716c9 Another change in search of Issue #454
This is basically a restructuring now that I have re-familiarized myself
with the code.  There are three minor changes here that may correct the
issue.
2018-09-24 18:05:21 -05:00
cigamit 905686da15 A few changes for readability 2018-09-24 06:17:05 -05:00
cigamit 9a44567ffb QA on Issue #454
This should resolve the SQL error.  Please test again.
2018-09-23 13:43:49 -05:00
Mark Brugnoli-Vinten dfbecafdf6 Resolving issue #454 (#1961)
* Resolving issue #454

* Small update for timer insertion
2018-09-22 14:23:31 -05:00
Mark Brugnoli-Vinten c011c0154c QA Language Corrections (#1960)
* QA Language Corrections

* Updated POT files/script
2018-09-22 04:07:12 -05:00
Mark Brugnoli-Vinten e4a45a3660 Resolving Issue #1921 (#1959) 2018-09-22 04:06:12 -05:00
Mark Brugnoli-Vinten 1ca32862a9 Resolving issue #1920 (#1922)
* Resolving issue #1920

* Minor QA issue
2018-09-14 20:59:52 -05:00
Tom 191e498a02 do not lose data source Index Value if a SNMP table entry disappears or changes its table index (e.g. ifTable) (#1790) 2018-08-06 06:44:56 -05:00
Tom 1d057a60b2 run_data_query: fix flipped arguments in an SQL query (snmp_query_id and host_id were flipped) (#1789) 2018-08-05 12:30:03 -05:00
cigamit 85e33abdf8 More changes around site branches #122
Marking this one complete.  Will log a new issue to create Location
branches under site branches.
2018-05-12 15:37:57 -05:00