Open guibranco opened 2 months ago
Hello @guibranco, you have reached your request limit of 5, your cycle will refresh on 2024-09-21 10:07:38+00:00. Consider subscribing if you want more requests. If you have any questions or concerns, please contact us at info@gitauto.ai.
Description
We need a service/daemon that runs every 5 minutes to query the CPanel API for
error_log
files. When these files are found, the service should rename, process, and delete them. The parsed error messages should then be inserted into a MariaDB/MySQL table namederrors
for persistence.Problem Statement
error_log
files from CPanel, which results in missed or unmanaged error logs.Proposed Solution
Service/Daemon Functionality:
error_log
files.errors
table in MariaDB/MySQL.Database Interaction:
errors
with appropriate fields for storing error details.Implementation Steps
Set Up the Daemon:
Connect to CPanel API:
error_log
files.Process
error_log
Files:error_log
file to a unique name.errors
table in MariaDB/MySQL.Database Table:
errors
table in MariaDB/MySQL with appropriate fields.Testing and Validation:
Documentation and Deployment:
Additional Notes