monitoring-plugins icon indicating copy to clipboard operation
monitoring-plugins copied to clipboard

logfile: Improve Output Message

Open markuslf opened this issue 3 years ago • 0 comments

Describe the solution you'd like Today, the logfile check reports Scanned 0 lines. This is a bit misleading. It would be better to be a bit more verbose and to report Scanned /var/log/duplicity.log using patterns 'ERROR' (matched 0 lines) and 'WARNING' (matched 0 lines), ignoring 'ERROR 13'.

Also, instead of Scanned 0 lines, 12 old critical matches, report Scanned /var/log/duplicity.log using patterns 'ERROR' (matched 12 lines) [CRITICAL] and 'WARNING' (matched 0 lines), ignoring 'ERROR 13'.

markuslf avatar Mar 21 '22 06:03 markuslf