Commit Graph
170 Commits
Author SHA1 Message Date
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
Mark Brugnoli-Vinten c1a9675cb2 Fix for Issue #1454: When using oid_regexp_parse, filter indexes to those that match (#1509)
When using oid_regexp_parse all indexes are returned, some with their OID's correctly replaced.  If an index does not match, it's index is kept as an OID.  This is now corrected to filter indexes to just those that match.
2018-03-30 17:04:41 -05:00
Mark Brugnoli-Vinten 2b8656fc73 Feature #1489: Add ability to use parts of OID as value via regex (#1492)
Feature #1489 adds ability to use parts of OID as value via regex
2018-03-24 08:33:15 -05:00
cigamit f40b8541e6 Attempt to resolve Issue #1475
The function that is attempting to detect hex is not very reliable.
2018-03-19 06:58:58 -05:00
cigamit 827bf550c9 Resolving Issue #1461
Setting output_format on input type causes no values to be returned
2018-03-14 20:57:27 -05:00
cigamit ecf6ea4f2d Additional Changes for #1380
- Moving the function into the API
- Adding missing i18n of lib/data_query.php
2018-02-23 07:57:25 -06:00
cigamit 3a13f1c7a8 Resolving Issue #1319
FrontEnd + Remote Poller - Connection timeout issue
2018-02-08 06:59:33 -06:00
netniV 27e858e089 issue#1040: Correct sizeof() issues with get_data_query_array() and get_graph_group() results (#1299) 2018-02-03 06:59:20 -07:00
cigamit 0e9baa3432 Dont error out on upgrade from early versions
If you were at 0.8.7g- you would get an upgrade error.
2018-01-14 19:16:31 -06:00
cigamit a646bc194b Fixups for Issues #1168 and #1186
This addresses both visual and functional changes to ensure everything
is working.
2018-01-12 14:30:13 -06:00
netniV e5ae849e2c Issue #1168 - Unable to copy debug information (#1186)
* Fix for Issue #1168 - Allow copy of debug query text to clipboard
Issue #1168 - Allow debug query section to be copied to the clipboard

- Currently, whilst clipboard code is run, no text is being copied
- Various text updated to i18n calls.
- CSS still needs to be generated

* Update with working version of copy that doesn't collapse with table header

* Update copyToClipboard to copy table as HTML not just the HTML text

* Issue #1168 - Further clipboard enhancements
issue #1168 now presents a 'Copy' link on the right side of a debug header table (currently a circle)

This functionality has been extended to copy the entire debug via the "Data Query Debug Information" header
Sections are automatically expanded whilst copying to allow selection copy, non-expansion prevents this

* Further fixes for #1168
issue#1168: Now uses jQuery.dialog() for messages (a lot nicer!)

Need to find out if there is a function to retrieve Cacti language messages, ie, get data from https://cacti/messages.php?text
2018-01-12 17:42:00 -06:00
Tony Roman 519b35f5cd Update copyright to 2018 2018-01-06 09:10:15 -05:00
Browniebraun 114f239245 usage of get_default_contextoption 2017-11-13 15:14:27 +01:00