diff --git a/victoria-metrics/alerts.yml b/victoria-metrics/alerts.yml index 807870b..aec2f3b 100644 --- a/victoria-metrics/alerts.yml +++ b/victoria-metrics/alerts.yml @@ -183,3 +183,17 @@ groups: Failing Celery tasks may indicate a problem with the Paperless-ngx deployment and can result in data loss. Check the Paperless-ngx logs for details about the task failures. + - alert: Paperless email task not running + expr: >- + absent( + flower_events_total{ + type="task-started", + task="paperless_mail.tasks.process_mail_accounts" + } + ) + annotations: + summary: Paperless task to process mail accounts has not run recently + description: >- + Paperless-ngx uses a scheduled Celery task to periodically poll email + mailboxes for new messages. If this task does not start, new email + messages will not be downloaded and imported into the document library.