Project

General

Profile

Actions

Feature #20153

closed

Check: Issue warning if there are errors in logs

Added by Kavita Gaikwad almost 7 years ago. Updated about 2 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description mentioned by Lukas on Github:

We could grep all known logs for (ERROR|error|fatal) or similar and in case there are some we could put the check into WARNING state. I would not do ERROR state because this will often show false alarm.

Further queries by Swapnil Abnave:

  • Which log files to check?(production.log is one of it)
  • Should we count all the errors? Or just check for recent error only?

Comment by Lukas:

I'd check /var/log/foreman/production.log and /var/log/foreman-proxy/proxy.log, skip them if not present (on Capsule only proxy.log will be there).
Each one has different format tho.
Both files are rotated daily so checking whole file is fine.

Actions #1

Updated by Eric Helms about 2 months ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF