165 lines
3.8 KiB
JSON
165 lines
3.8 KiB
JSON
{
|
|
"haId": "hacluster",
|
|
"haDisplayName": "HaCluster",
|
|
"webServerEnabled": true,
|
|
"webServerToken": null,
|
|
"webServerPort": null,
|
|
"haUrl": "http://127.0.0.1:5123",
|
|
"webhookToken": null,
|
|
"measurements": [
|
|
{
|
|
"type": "nvidia",
|
|
"name": "NVIDIA GeForce RTX 4090",
|
|
"args": [],
|
|
"haId": "nvidia_4090",
|
|
"haDisplayName": "Nvidia RTX 4090 OC",
|
|
"frequency": "EVERY_MINUTE",
|
|
"device": "default"
|
|
},
|
|
{
|
|
"type": "folder",
|
|
"name": "/home/gerviba/workspaces/systemmonitor",
|
|
"args": [],
|
|
"haId": "systemonitor",
|
|
"haDisplayName": "SystemMonitor folder size",
|
|
"frequency": "EVERY_MINUTE",
|
|
"device": "default"
|
|
},
|
|
{
|
|
"type": "folder",
|
|
"name": "/home/gerviba/workspaces",
|
|
"args": [],
|
|
"haId": "workspaces",
|
|
"haDisplayName": "Workspaces folder size",
|
|
"frequency": "EVERY_MINUTE",
|
|
"device": "default"
|
|
},
|
|
{
|
|
"type": "disc",
|
|
"name": "",
|
|
"args": [],
|
|
"haId": "disc",
|
|
"haDisplayName": "HaCluster disc",
|
|
"frequency": "EVERY_HOUR",
|
|
"device": "default"
|
|
},
|
|
{
|
|
"type": "sensor",
|
|
"name": "coretemp-isa-0000.Package id 0",
|
|
"args": [],
|
|
"haId": "cpu-temperature",
|
|
"haDisplayName": "Cpu temperature",
|
|
"frequency": "EVERY_MINUTE",
|
|
"device": "default"
|
|
},
|
|
{
|
|
"type": "utilization",
|
|
"name": "cpu",
|
|
"args": [],
|
|
"haId": "cpu",
|
|
"haDisplayName": "Cpu utilization",
|
|
"frequency": "EVERY_MINUTE",
|
|
"device": "default"
|
|
},
|
|
{
|
|
"type": "utilization",
|
|
"name": "ram",
|
|
"args": [],
|
|
"haId": "memory",
|
|
"haDisplayName": "Memory utilization",
|
|
"frequency": "EVERY_MINUTE",
|
|
"device": "default"
|
|
},
|
|
{
|
|
"type": "utilization",
|
|
"name": "swap",
|
|
"args": [],
|
|
"haId": "swap",
|
|
"haDisplayName": "Swap utilization",
|
|
"frequency": "EVERY_MINUTE",
|
|
"device": "default"
|
|
},
|
|
{
|
|
"type": "utilization",
|
|
"name": "uptime",
|
|
"args": [],
|
|
"haId": "uptime",
|
|
"haDisplayName": "Uptime",
|
|
"frequency": "EVERY_MINUTE",
|
|
"device": "default"
|
|
},
|
|
{
|
|
"type": "utilization",
|
|
"name": "load1",
|
|
"args": [],
|
|
"haId": "load1",
|
|
"haDisplayName": "Load average 1m",
|
|
"frequency": "EVERY_MINUTE",
|
|
"device": "default"
|
|
},
|
|
{
|
|
"type": "utilization",
|
|
"name": "load5",
|
|
"args": [],
|
|
"haId": "load5",
|
|
"haDisplayName": "Load average 5m",
|
|
"frequency": "EVERY_MINUTE",
|
|
"device": "default"
|
|
},
|
|
{
|
|
"type": "utilization",
|
|
"name": "load15",
|
|
"args": [],
|
|
"haId": "load15",
|
|
"haDisplayName": "Load average 15m",
|
|
"frequency": "EVERY_MINUTE",
|
|
"device": "default"
|
|
},
|
|
{
|
|
"type": "docker",
|
|
"name": "naughty_rosalind",
|
|
"args": [],
|
|
"haId": "nginx-test",
|
|
"haDisplayName": "Nginx Test",
|
|
"frequency": "EVERY_MINUTE",
|
|
"device": "default"
|
|
},
|
|
{
|
|
"type": "event",
|
|
"name": "backup_success",
|
|
"args": [],
|
|
"haId": "backup_success",
|
|
"haDisplayName": "Last successful backup",
|
|
"device": "default"
|
|
},
|
|
{
|
|
"type": "event",
|
|
"name": "backup_error",
|
|
"args": [],
|
|
"haId": "backup_error",
|
|
"haDisplayName": "Last failed backup",
|
|
"device": "default"
|
|
}
|
|
],
|
|
"devices": [
|
|
{
|
|
"haId": "default",
|
|
"haDisplayName": "lab1"
|
|
}
|
|
],
|
|
"services": [
|
|
{
|
|
"type": "cmd",
|
|
"name": "notify1",
|
|
"command": ["notify-send", "'Hello world!'", "'This is an example notification.'", "--icon=dialog-information"],
|
|
"waitFor": true
|
|
},
|
|
{
|
|
"type": "cmd",
|
|
"name": "notify2",
|
|
"command": ["notify-send", "'Hello world!'", "'This is an example notification.'", "--icon=dialog-warning"],
|
|
"waitFor": true
|
|
}
|
|
]
|
|
}
|