Home assistant: system monitor
This commit is contained in:
parent
b8fd070316
commit
0061f2b45f
1 changed files with 37 additions and 0 deletions
|
|
@ -365,6 +365,43 @@ with lib; {
|
|||
];
|
||||
recorder.purge_keep_days = 30;
|
||||
script = "!include scripts.yaml";
|
||||
sensor = [{
|
||||
platform = "systemmonitor";
|
||||
resources = [
|
||||
{ type = "disk_use_percent"; }
|
||||
{ type = "disk_use"; }
|
||||
{ type = "disk_free"; }
|
||||
{ type = "memory_use_percent"; }
|
||||
{ type = "memory_use"; }
|
||||
{ type = "memory_free"; }
|
||||
{ type = "swap_use_percent"; }
|
||||
{ type = "swap_use"; }
|
||||
{ type = "swap_free"; }
|
||||
{ type = "load_1m"; }
|
||||
{ type = "load_5m"; }
|
||||
{ type = "load_15m"; }
|
||||
{ type = "network_in"; arg = "eno1"; }
|
||||
{ type = "network_out"; arg = "eno1"; }
|
||||
{ type = "throughput_network_in"; arg = "eno1"; }
|
||||
{ type = "throughput_network_out"; arg = "eno1"; }
|
||||
{ type = "packets_in"; arg = "eno1"; }
|
||||
{ type = "packets_out"; arg = "eno1"; }
|
||||
{ type = "ipv4_address"; arg = "eno1"; }
|
||||
{ type = "ipv6_address"; arg = "eno1"; }
|
||||
{ type = "network_in"; arg = "ztmjfdwjkp"; }
|
||||
{ type = "network_out"; arg = "ztmjfdwjkp"; }
|
||||
{ type = "throughput_network_in"; arg = "ztmjfdwjkp"; }
|
||||
{ type = "throughput_network_out"; arg = "ztmjfdwjkp"; }
|
||||
{ type = "packets_in"; arg = "ztmjfdwjkp"; }
|
||||
{ type = "packets_out"; arg = "ztmjfdwjkp"; }
|
||||
{ type = "ipv4_address"; arg = "ztmjfdwjkp"; }
|
||||
{ type = "ipv6_address"; arg = "ztmjfdwjkp"; }
|
||||
{ type = "processor_use"; }
|
||||
{ type = "processor_temperature"; }
|
||||
# { type = "process"; arg = "octave-cli"; }
|
||||
{ type = "last_boot"; }
|
||||
];
|
||||
}];
|
||||
shopping_list = { };
|
||||
sun = { };
|
||||
system_health = { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue