Commit Graph
87 Commits
Author SHA1 Message Date
cigamit 6705fbc399 Retain selected log. Improve output of files
Show both log and errorlog files.  Order:
cacti.log + stderr.log + cacti.log.archive + stderr.log.archive
2018-12-31 11:04:45 -06:00
netniV d9461e9991 Correct issue with selected filename in clog file selection (part 2) 2018-12-31 15:37:29 +00:00
netniV fb20f690c1 Correct issue with selected filename in clog file selection 2018-12-31 15:33:15 +00:00
netniV f62fce81e5 Minor tweak to visuals of log file name display 2018-12-31 15:22:26 +00:00
netniV d55620df99 Allow STDERR log to be viewable, sort by date in reverse 2018-12-31 15:13:01 +00:00
cigamit 44ef68fe7f Additional loose ends on issue #2219
More cases.  There may be more, but expect that they have minor or no
impact.
2018-12-20 17:15:09 -06:00
cigamit 05dc2a1e1f Standardize logging, could de-duplicate this one 2018-11-18 14:21:57 -06:00
netniV 233cfcb201 Correct issue with link from clog to data_queries 2018-11-12 12:39:19 +00:00
cigamit cef4bd8671 -issue: align attribute is deprecated, use class instead 2018-11-10 11:35:55 -06:00
netniV 5e93fde48f Resolving issue #2085 2018-10-16 22:24:43 +00:00
Mark Brugnoli-Vinten 1ca32862a9 Resolving issue #1920 (#1922)
* Resolving issue #1920

* Minor QA issue
2018-09-14 20:59:52 -05:00
cigamit a6d8d7c7b6 More minor changes 2018-07-15 14:02:32 -05:00
cigamit 5435503e4a Don't need to double convert 2018-07-15 14:00:06 -05:00
cigamit 14fc304609 Reversed filters re Issue #1669 2018-07-15 13:47:10 -05:00
cigamit fbd1804930 Resolving Issue #1669
Console log header grammar issue
2018-07-14 15:31:42 -05:00
cigamit 35d9d3df75 More uQueryUI classes and form QA 2018-05-09 21:59:08 -05:00
cigamit f89ab3b3bc Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	auth_login.php
#	data_sources.php
#	graphs_new.php
#	include/auth.php
#	lib/api_tree.php
#	lib/html_form_template.php
#	lib/html_tree.php
#	lib/template.php
#	permission_denied.php
#	poller_automation.php
#	tree.php
2018-03-25 11:08:00 -05:00
cigamit 253ae3c186 Properly decode the rfilter remove debug 2018-03-21 17:17:50 -05:00
netniV cda6a03e56 1.2.x - issue #1347 - Update automation logging to work better (#1410)
* issue #1347 - Update automation logging to work better

* Remove debug code from lib/clog_webapi.php

* Further automation updates to include PID for diagnoses/filtering

* Ensure we have rows before attempting to loop through them

* Fix CI error

* update chines po file (#1403)

Signed-off-by: snsupersharp <snsupersharp@163.com>

* Typo in layout.js
2018-02-26 21:21:09 -06:00
cigamit f514ede94a Minor spacing problem with log 2018-02-06 19:53:21 -06:00
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