fivejars / logs_monitoring
Logs monitoring
Installs: 1 939
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 1
Type:drupal-module
This package is auto-updated.
Last update: 2024-10-26 20:09:58 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:
- paths to logs
- a count of rows in the end where a search will be performed
- 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