Commit Graph
67 Commits
Author SHA1 Message Date
netniV abd42b042a feature: Links and names for Poller, Data Query and Data Sources (#1294)
* feature: Links and names for Poller, Data Query and Data Sources now show in clog

* - Defaults return value to full match so that a value is always return
- Made regex parsing more efficient using a single regex string rather than multiple parses of different regex over same string
- Updated get_data_source_titles to handle issues when datasource id is completely missing
- Updated regex functions so that a static array of regex/functions to be called is built.
- Commented function call for api_plugin from clog_regex_array() as needs more code to handle loading of plugins functions

* Updated with CLog changes

* Further documentation update

* Update clog_webapi.php

* Making some style changes here prior to merge.
2018-02-03 06:55:51 -07:00
netniV 6039e847fc Fix for Issue #1256 / #1268 - RFILTER and display corrections (#1269)
* Fix for Issue #1256 and #1268
This patch fixes issues with both the display of the error messages and with RFILTER variables not properly being primed as discussed on issue #1256 and issue #1268

* Update CHANGELOG

* Fix issue number
2018-01-26 17:56:24 -07:00
Tony Roman 519b35f5cd Update copyright to 2018 2018-01-06 09:10:15 -05:00
netniV 908af73a7e Changed CLOG to use regex replacement for Device[] and DS[] (#1159)
* Changed to use regex replacement for Device[] and DS[]
Also fixes issue #1158

* Updated CHANEGLOG for issue #1158

* Fix spacing issues with Spine logs

* Correct use of db_fetch_assoc_prepared

* Fix syntax error from last commit
2017-12-30 11:34:14 -06:00
cigamit 6cc3baa1d2 Poller output not empty not processed corretly on Log tab
Some minor formatting changes as well.
2017-11-18 07:18:46 -06:00
cigamit 96d793f33e Resolving Issue #1066
Made the dropdown logic consistent between clog and utilities as well.
2017-11-14 06:26:02 -06:00
cigamit c0f0ce27f0 Resolving Issue #1066
CVE fixes using wrong if() logic.
2017-11-13 07:56:33 -06:00
cigamit a179e8092d Resolving Issue #1066
Resolve second half of Issue #1066 which is CVE-2017-16661.
2017-11-11 07:39:13 -06:00
cigamit 7ab455ad00 Resolving Issue #1044
Handle invalid exclusion regex properly when view the Cacti Log
2017-10-29 11:09:47 -05:00
Wolfgang Stöggl 4a1a15d72c Correct spelling of RRDtool (#1038)
- Change RRDTool -> RRDtool with a lowercase t.
- Replace in all files except *.mo, *.po, *.pot
2017-10-16 11:32:05 -04:00
cigamit 121be36ed7 Changing filters on the log and clog pages not correct
When changing some filters, we chould always change the page number back
to 1, with others, we should leave the page number the same.  This audit
uncovered a few cases that were incorrect.
2017-09-23 08:40:48 -05:00
cigamit cc242b8aa8 Resolving Issue #966
- SMTP Security set to None, but TLS still being used
- Backport more html_escape() changes for convenience
- Backport charset check for convenience
2017-09-23 07:04:34 -05:00
cigamit 8bcb6fde46 Make logging consistent between spine and cmd.php when it comes to errors 2017-08-11 23:24:58 -05:00
cigamit 8f982fa685 Minor href formatting issue 2017-08-11 13:50:19 -05:00
cigamit 042b88418e issue: clog was not properly showing graphs and data source hyperlinks
This synchronizes cmd.php and spine as well for better clog output.
2017-08-11 12:41:33 -05:00
cigamit 9e743fdc24 Resolving Issue #544 and addtional issues
Allow Log Rotation to be other than Daily
Log rotation would not occur under certain conditions.
Purge log file always purged the cacti.log, not the selected log
2017-08-11 09:59:42 -05:00
cigamit 1026f59287 Resolving Issue #878
Ambiguous language in purge log function
2017-07-26 07:05:00 -05:00
cigamit 30bbf226f5 More changes for issue #861
Filters not working properly for i18n
2017-07-20 18:55:33 -05:00
cigamit 0673e3c725 Resolving Issue #861
- The search filter does not support Cyrillic
- Also adding more __esc() to title and value attributes
- Also adding more missing i18n via audit
2017-07-19 20:16:27 -05:00
cigamit f850e57629 Freshed core filter html
In preparation for responsive filters phase II
2017-07-05 17:13:10 -05:00
cigamit 2a66c3aa44 Second attempt at correcting Issue #791
Changing the functions just a little.
2017-06-30 07:19:23 -05:00
cigamit 0abf3bcd0e Wording change to address alignment issues 2017-06-29 17:34:18 -05:00
cigamit 8661ded018 issue: Pagination of clog is not done via ajax 2017-06-28 19:58:13 -05:00
patrick a310dc63fd issue: clog: fix scandir for systems with limited permissions to log directory
issue: clog: fix listing of logfiles
2017-06-14 18:52:19 +02:00
patrick d950ba02cd Fix for #791 2017-06-05 18:28:56 +02:00
cigamit 2a61b2bccd Resolved developer debug warnings on page and filename request variables. 2017-05-30 19:29:20 -05:00
Patrick 0df789775a CLOG Enhancements
-Fixed fallback path
-Some cleanup
2017-05-30 11:00:45 +02:00
Patrick 2505cf1fc1 CLOG Enhancements
-Applied CLOG changes in utilities.php
-Small enhancements in clog_webapi.php
2017-05-30 10:40:34 +02:00
Patrick ae9acfd0f9 CLOG Enhancements
-Fixed CLOG paginator
-Fixed automatic page refresh
-Logfile writes rows with preferred timestamp
2017-05-30 10:20:05 +02:00
Patrick 286c9141c4 CLOG Enhancements
-Fixed CLOG paginator
2017-05-29 16:31:29 +02:00
patrick ef69094b5e CLOG Enhancements
-feature: CLOG timestamp is now formatted as defined in settings
-feature: CLOG can show loginformation from rotated logfiles
-Added GDC_DOT to global_constants.php and global_arrays.php, and refactored the usage of global $datechar
2017-05-29 13:44:31 +02:00
Patrick 820de9ad03 Bugfix for hosts that are deleted 2017-05-08 15:23:30 +02:00
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
Patrick 23c95d0808 - Feature#106 Paginated CLOG and log administration
- Added missing docblock to new function
- Added configurable max_display_rows to settings panel
- Applied max_display_rows to code instead of MAX_DISPLAY_ROWS
- Removed define MAX_DISPLAY_ROWS
2017-05-07 18:00:21 +02:00
Patrick c18e032b03 - Feature#106 Paginated CLOG and log administration
- CLOG is now paginated
- System Utilities - Log administration is now paginated
- Bugfix in classic template paginator; when previous option appears, the paginator grows in height
2017-05-07 13:48:18 +02:00
Patrick 01ed0fc5bd Issue#651: Unable to view cacti log (because of allowed memory size exhausted)
- Fixes memory usage; in the past the whole logfile would be read, now only the needed amount of rows
- Removed some unused variables
- Small optimisations in showing CLOG
2017-05-06 12:05:13 +02:00
cigamit 185bf993d2 Implement new page refresh api 2017-03-17 07:30:08 -05:00
cigamit db82103718 Resolving Issue #138 2017-01-05 21:12:03 -06:00
cigamit d1e2c66248 Correct issue setting search filter 2017-01-03 19:41:14 -06:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05:00
cigamit 27960d6773 Update logging utilities. 2016-12-27 12:32:08 -06:00
cigamit ea3b41661f resolving bug#2786 2016-09-15 07:25:13 -05:00
cigamit 7894883f2d log searching is regex 2016-08-31 16:31:19 -05:00
cigamit d9ab94a4fc convert logging to support a filter regex 2016-08-25 10:09:21 -05:00
cigamit 2699a74afd changing logging date format 2016-08-15 14:10:37 -05:00
cigamit 44a6a37bf8 undefined variable 2016-06-01 10:39:19 -05:00
cigamit eb0a1601c1 i18n on lib directory, double to single quotes 2016-05-30 19:49:54 -05:00
cigamit 37aa128518 clog i18n 2016-05-28 17:25:47 -05:00
cigamit c34a62e7a5 syntax issue with prepared statement commit 2016-03-20 17:58:23 -05:00
cigamit fbfc426318 double to single quotes and prepared statements 2016-03-20 10:48:49 -05:00