Мониторинг Paperless-ngx в DumbMonit
Redis, Celery, search index and classifier health, failed imports, updates, disk space, document count.
ДокументацияОфициальный сайт: Paperless-ngx
Описания на английском, как в самом продукте. Подписи на странице — на вашем языке.
Что проверяет DumbMonit
Whether Paperless-ngx still imports what it is sent: the health of its database, Redis, Celery workers, search index, classifier and sanity check, failed tasks, updates, disk space and the number of documents.
Типичное применение. Documents: Redis, Celery, index, failed imports, updates
Примеры
- Paperless-ngx
Как подключается
Что понадобится
- API token (recommended)The token of the dedicated dumbmonit user, sent as "Authorization: Token …".
- User name / passwordThe dedicated dumbmonit user itself, sent as HTTP basic authentication.
Сетевые порты, которые нужно открыть
8000/TCPAPI (HTTP, default)443/TCPOnly with the https scheme behind a reverse proxy
Шаги настройки: Create a read-only user in Paperless-ngx
In Paperless-ngx, open Settings → Users & Groups → Add user and name it as follows, with a long random password.
dumbmonitLeave Superuser and Staff off, and give it only the permissions listed below.
Log in as that user, open the user menu → My Profile and generate its API token (circular arrow button).
In DumbMonit, enter Paperless-ngx's address and paste the token.
Обратите внимание. When Redis or Celery stops, Paperless keeps serving its pages and documents, but nothing new is imported, from the consume folder or from mail, until someone looks. DumbMonit alerts on both.