Checker service description
- There is no
checker_master.pyand no per-target subprocess. - Assignments survive restarts and are protected by leases so another replica can recover them.
- Roxy-WI stores incident history and sends notifications; Checker does not access the Roxy-WI database.
- Worker version, heartbeat and assignment count are displayed on Overview and Admin area => Tools.
- HAProxy service, backend and Maxconn threshold checks;
- NGINX and Apache service checks;
- UDP listener checks;
- durable status-change events and incident history in Roxy-WI;
- notifications through Socket, Telegram, Slack, email, PagerDuty and Mattermost channels configured in Roxy-WI.
# EL/RHEL-compatible systemssudo dnf install roxy-wi-checker# Debian/Ubuntusudo apt updatesudo apt install roxy-wi-checker# Run after checker.env is configured on a standalone hostsudo systemctl enable --now roxy-wi-checker
The package does not require Roxy-WI on the same host. Its default auto mode reads the connection from a local
Roxy-WI installation when available. On a worker-only host, edit /etc/roxy-wi/checker.env, set
CHECKER_USE_ROXYWI_RABBITMQ_SETTINGS=0, provide all CHECKER_RABBITMQ_* connection values and then start
the unit. Keep the package's default CHECKER_DATABASE_URL for one replica or configure a shared Checker database for HA.
Create a root-readable /etc/roxy-wi/checker.env for a container:
CHECKER_DATABASE_URL=sqlite:////var/lib/roxy-checker/checker-state.dbCHECKER_RABBITMQ_HOST=rabbitmq.internalCHECKER_RABBITMQ_PORT=5672CHECKER_RABBITMQ_VHOST=/roxy-wiCHECKER_RABBITMQ_USER=roxy-wiCHECKER_RABBITMQ_PASSWORD=GENERATED_STRONG_PASSWORDCHECKER_RABBITMQ_QUEUE_TYPE=classicCHECKER_CAPACITY=20
sudo chmod 600 /etc/roxy-wi/checker.envdocker volume create roxy-wi-checker-datadocker run -d --name roxy-wi-checker --restart unless-stopped --stop-timeout 45 \--env-file /etc/roxy-wi/checker.env \--mount source=roxy-wi-checker-data,target=/var/lib/roxy-checker \ghcr.io/roxy-wi/roxy-wi-checker:5.0.0
For two or more replicas, replace SQLite with one shared Checker-owned MySQL/MariaDB database. See the distributed-services installation notes.
| Parameter: | Description: |
| Token | Token received from @father_bot. |
| Channel | Name of your channel. The channel must be public. |
| Group | You can specify one of the existing groups. A group is equivalent to a namespace. Members of one group cannot see the servers of the other groups. |
Slack notifications are available for each server starting with version 6.1.0. Setting up notifications for Slack is quite the same as for Telegram.
To add a new Slack channel, go to the Monitoring => Channels section and click Add.
Specify the following parameters in the pop-up window:
| Parameter: | Description: |
| Token | Token received via the Slack API. |
| Channel | Name of your channel. The channel must be public. |
| Group | You can specify one of the existing groups. A group is equivalent to a namespace. Members of one group cannot see the servers of the other groups. |
Use the Monitoring => Checker settings section to manage notifications for your NGINX, HAProxy and Apache servers.
Select a channel from the drop-down list to enable notifications, or select Disabled to stop sending notifications. If you want to send email notifications to all group members, check the Email checkbox.
If necessary, check the other checkboxes to be notified of the following information:
- Service availability (the Service checkbox)
- Changes in the server status (the Status checkbox)
- HAProxy backend servers availability (the Backend checkbox)
- The Maxconn parameter value for HAProxy; e.g. when the value is about to reach the specified threshold, а notification is sent (the Maxconn checkbox)
Checker incident events remain available in Monitoring => Checker history. Runtime logs are read on the worker host:
# Packagejournalctl -u roxy-wi-checker -f# Containerdocker logs -f roxy-wi-checker
Use Overview or Admin area => Tools to check version 5.0.0, heartbeat, health and active assignment count.
Package-installed Checker can be updated with dnf upgrade roxy-wi-checker,
apt install --only-upgrade roxy-wi-checker or from Admin area => Update.
Container and Kubernetes installations are updated by changing the pinned image tag and performing a rollout. Roxy-WI does not update remote container images. Follow the migration guide when replacing the legacy master.