maverick icon indicating copy to clipboard operation
maverick copied to clipboard

Implement basic monitoring system

Open fnoop opened this issue 6 years ago • 3 comments

A basic monitoring system will be very useful:

  • Monitor basic system parameters - CPU, disk space, memory etc
  • Monitor basic flight parameters - dangerous config, battery use/level, inconsistencies (eg. one motor working too hard)

fnoop avatar Aug 27 '19 07:08 fnoop

Currently what is used to obtain this info when populating the time series database? Can we interface that with the -api to allow the numbers to be viewable on a graphql driven dashboard?

SamuelDudley avatar Aug 28 '19 06:08 SamuelDudley

collectd -> influxd. But this is quite a heavy solution both storage and memory/cpu-wise, so shouldn't be mandatory or a dependency on alerts/monitoring, imho. There are lots of opensource monitoring systems we can use. For example, checkmk (which is kind of an uber-wrapper around other monitoring systems like nagios) has a query language like system for monitoring status: https://checkmk.com/cms_livestatus.html That would be kind of cool I think?

fnoop avatar Aug 28 '19 17:08 fnoop

Yeah, looks simple to interface with. Happy to roll with that as an option.

SamuelDudley avatar Aug 29 '19 00:08 SamuelDudley