type Device struct {
Id int `json:"id"`
Name string `json:"name"`
Utilization int `json:"utilization"`
MemoryUtilization Memory `json:"memory"`
FanSpeed int `json:"fan_speed"`
Temperature int `json:"temperature"`
PowerUsage int `json:"power_usage"`
Processes []Process}
type Node struct {
Name string `json:"name"` // hostname Devices []Device `json:"devices"` // devices Time time.Time `json:"time"` // current timestamp from message BootTime int64 `json:"boot_time"` // uptime of system ClockTicks int64 `json:"clock_ticks` // cpu ticks per second}