BlueOS icon indicating copy to clipboard operation
BlueOS copied to clipboard

New service: Create a service for general health monitoring

Open Williangalvani opened this issue 2 months ago • 4 comments

Proposa:

Create a new service. This would be responsible for checking the general vehicle's health. Such as:

  • Warn user on:

    • Mismatch of vehicle Mavlink SYSID and container Mavlink SYSID
    • Low disk space
    • High Memory usage
    • Unexpected packet loss
    • Extensions hogging too many resources
    • Corrupt configuration files
    • Vehicle reset to factory (#2236)
    • Kernel errors on dmesg (#3583) (#3304) (#3017)
    • low/over voltage
    • Missing vehicle calibrations (#1672)
    • updates available (#2481)
    • usb devices connection/disconnection
    • Allow extensiosn to publish data, too (DVL too hot comes to mind).
  • Optional: allow picking "output channel" for each warning. I'd like low/over voltage and dvl warnings to be pushed to telegram, because I'm distracted sometimes

I imagine we could do this in Robyn so we don't further harm our boot times

Williangalvani avatar Oct 13 '25 17:10 Williangalvani

Allow extensions to publish data

We could do it via zenoh

patrickelectric avatar Oct 13 '25 18:10 patrickelectric

(I think) we agreed on having this be an data aggregator, which will fetch/receive data from the other services and publish it via mavlink/zenoh/telegram/email/smoke signals

Williangalvani avatar Oct 13 '25 18:10 Williangalvani

... publish it via mavlink/zenoh/telegram/email/smoke signals

I think Zenoh (and maybe MAVLink) would be fine as what the service itself implements. External connectivity seems better managed by some non-core component (e.g. an Extension or Plugin) that gets its info from one of those outputs.

ES-Alexander avatar Oct 13 '25 21:10 ES-Alexander

SD card speed test makes sense here!

patrickelectric avatar Nov 06 '25 21:11 patrickelectric