Skip to content
JelinaJelina DocumentationTechnical documentation
Back to website

Example: system watchdog configuration

This example configures the system watchdog for unattended critical devices so they recover automatically from faults with less on-site intervention.

An acquisition device at a remote site must run continuously, 24/7, without on-site supervision.

Terminal window
systemctl status jelina-watchdog

Confirm that the watchdog service is running normally. If it is stopped, start it and enable startup at boot:

Terminal window
systemctl start jelina-watchdog
systemctl enable jelina-watchdog

Step 2: Verify application recovery configuration

Section titled “Step 2: Verify application recovery configuration”

The watchdog works best with application restart policies. Configure automatic restart for critical applications:

  • Containerized applications: --restart always, or restart: always in the orchestration file.
  • Native applications: restart: always in the ProgramSet configuration.

Validate automatic recovery at each level:

Terminal window
# 1. Application level: stop the application and observe automatic recovery
systemctl stop <application-service>
systemctl status <application-service> # Should automatically resume operation
# 2. System level: observe continued watchdog operation
systemctl status jelina-watchdog

After connecting to JelinaCloud, configure alerts for immediate fault notification:

  • Resource alert thresholds for temperature, memory, storage, and CPU.
  • Cloud retention of runtime logs for later investigation.
Fault type Automatic handling
Application exits abnormally Restart policy restores operation
System stops responding Watchdog initiates recovery
System corruption A/B switching provides fallback