Commit Graph
101 Commits
Author SHA1 Message Date
netniV 772bfb1054 When stderr log file is not populated, clog generates 'empty needle' error
Closes #2822
2019-07-14 09:55:23 +00:00
cigamit 28088b47f8 Resolving Issue #2816
Two issues about page navigation under "Logs" tab
2019-07-12 07:44:41 -05:00
cigamit 1ee746965d Resolving Issue #2742
Resolve a number of QA issues in various files
2019-06-22 09:04:37 -05:00
cigamit 44aef0867a Re-Resolving Issue #2725
When viewing logs in utilities, filenames should be limited the same as clog
2019-06-09 21:51:06 -05:00
cigamit cb2b99eb27 Revert "Resolving Issue #2725"
This reverts commit 2be2d82289.
2019-06-09 21:46:10 -05:00
cigamit 2be2d82289 Resolving Issue #2725
When viewing logs in utilities, filenames should be limited the same as clog
2019-06-09 20:13:46 -05:00
Petr Macek 63cde6396c Record rule used during automation and provide link when viewed via clog (#2726)
* modify log message - add rule name

* Change log message - insert ID instead of Name

* add regex for rule name

* Updating Changelog for issue #2726
2019-06-09 21:50:19 +01:00
ddb4github dfc6b64595 Fixed: Resolved some PHP NOTICE about undefined variables #2650 (#2651)
* Fixed: Resolved some PHP NOTICE about undefined variables.

* Fixd previous fixing. Should add 'global $l10n' only

* Fixed: typo miss '$'

* Minor change
2019-04-27 21:26:17 +06:00
cigamit e0621bf2cd Resolving Issue #2627
Lost partial log files name in Logs(tab)->File(filter selector)
2019-04-16 21:05:00 -05:00
netniV 89430614c9 Correct issue where multiple ID's were not always resolved by clog 2019-02-20 13:42:44 +00:00
cigamit 51950b5c35 Resolving Issue #2408
Cacti log file not found when directory empty
2019-02-19 21:11:25 -06:00
netniV 449137bc0e Prevent scandir from logging unnecessary errors 2019-02-15 12:55:49 +00:00
netniV b8c579b129 Update copyright notices for 2019 2019-01-25 08:06:11 +00:00
cigamit aa59fc92b4 Sort the log files in reverse order 2019-01-12 08:45:21 -06:00
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