Periodic Node and Sliver monitorization with the aim of:
Parameters to monitor:
MONITOR_ALERT_EXPIRATION: time that a problem should persist after an alert is sent to the admins (by mail), 1 day by default.
MONITOR_ALERT_LOCK: concurrency control lock file, '/dev/shm/.controller.monitor.lock' by default.
MONITOR_EXPIRE_SECONDS: monitorized timeserie duration, 300 seconds by default.
MONITOR_MONITORS: list of system monitors.
Celery workers monitor
Celery daemon configuration is generated by
setupceleryd management command. This command accepts
–processes parameter (5 by default), and defines the number of threads for
celery_w1 worker. When overriding the default
CELERY_W1 setting keep in mind that the number is calculated as
#processes + 1 (the process that acts as coordinator).
Periodic monitorization for the confine-controller. Exists a command task than can be added as cron task, and configured to send an email to server admins when detects some problem.
Server admins can be configured with ADMINS setting.