fivejars/logs_monitoring

Logs monitoring

Installs: 1 365

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Open Issues: 0

Type:drupal-module

1.0.2-alpha 2024-01-26 16:57 UTC

This package is auto-updated.

Last update: 2024-05-26 19:06:07 UTC


README

Provides endpoint that indicate about errors in the log files.

Configuration

In the form /admin/config/development/logs-monitoring-settings should be set:

  1. paths to logs
  2. a count of rows in the end where a search will be performed
  3. a list of the words that indicate errors.

Usage

The module provide REST endpoint /admin/reports/logs-monitoring where a list of logs with their statuses will be provided. It can be used by Uptimerobot to detect errors. Returns HTTP status codes:

  • 200 - no errors found
  • 500 - some errors found