A module that claims a seat is core, one that claims none a leaf (141 manifests; the build modules and the registry are the other developer's). The forge module's, the gate's and the sweep's states each name 8 MiB, and their findings stream 8 MiB for 7 days. Builds: design 47 H2 §810, §812, §783, §820; H-A-394 (1), H-A-411 (1), (2), H-A-378
71 lines
1.2 KiB
JSON
71 lines
1.2 KiB
JSON
{
|
|
"module": "sensors",
|
|
"version": "0.1",
|
|
"class": "leaf",
|
|
"capabilities": [
|
|
"package-manager",
|
|
"service-manager"
|
|
],
|
|
"tools": [
|
|
"sensors_summary",
|
|
"sensors_temperatures",
|
|
"sensors_fans",
|
|
"sensors_drives",
|
|
"sensors_faults",
|
|
"sensors_health"
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "smartmontools",
|
|
"type": "package",
|
|
"package": "smartmontools"
|
|
},
|
|
{
|
|
"id": "drives",
|
|
"type": "process",
|
|
"name": "sensors-drives",
|
|
"artifact": "tools",
|
|
"run": [
|
|
"./sensors",
|
|
"drives"
|
|
],
|
|
"health": {
|
|
"kind": "unit"
|
|
}
|
|
},
|
|
{
|
|
"id": "watch",
|
|
"type": "process",
|
|
"name": "sensors-watch",
|
|
"artifact": "tools",
|
|
"run": [
|
|
"./sensors",
|
|
"watch"
|
|
],
|
|
"health": {
|
|
"kind": "tool",
|
|
"tool": "sensors_health",
|
|
"interval": "60s",
|
|
"timeout": "10s",
|
|
"looks": 2,
|
|
"grace": "60s"
|
|
}
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/sensors",
|
|
"binary": "sensors",
|
|
"loads": [
|
|
"sensors"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|