8000 GitHub - ReviewClouds/device-diagnostics: on-device diagnostics tool
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ReviewClouds/device-diagnostics

 
 

Repository files navigation

Device-diagnostics

Usage

The diagnostics commands are triggered remotely via balenaCloud. Navigate to https://dashboard.balena-cloud.com/devices/{{UUID}}/diagnostics to run and view the output. Only multicontainer-capable devices (balenaOS v2.12.0 or higher) are fully supported and tested (see balena-io-modules#126 for more discussion).

Hacking

Checks

To add more checks, first define the check function and then add the function to the run_checks() function in checks.sh. Checks should be fail-first, and defensive when possible. If a failing check will emit stderr, it is better to redirect away rather than allowing it to propagate through. All numerics should be declared as such if possible.

Additionally, all checks should be documented in diagnostics.md.

Diagnostic commands

To add more commands, simply add the command to the commands array in diagnose.sh.

About

on-device diagnostics tool

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 90.4%
  • JavaScript 9.6%
0