diff options
author | Mario Krehl <mario-krehl@gmx.de> | 2017-12-10 20:52:10 +0100 |
---|---|---|
committer | Mario Krehl <mario-krehl@gmx.de> | 2017-12-10 20:52:10 +0100 |
commit | 9582621944f5a4649030052523844d6568b2e04f (patch) | |
tree | 8dcdfcc9ca56e39a16fe29db4ea5dba941eebd3c | |
parent | 1e868c62642249ff50cb54c2a581fac28a038643 (diff) |
Add memory to example_config.toml
-rw-r--r-- | example_config.toml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/example_config.toml b/example_config.toml index 31d1aa7..01538c4 100644 --- a/example_config.toml +++ b/example_config.toml @@ -18,6 +18,11 @@ regex = "(?P<ts>\\d{9,})\\s(?P<load1m>\\d+\\.\\d\\d)\\s(?P<load5m>\\d+\\.\\d\\d) alias = "load" [[item]] +alias = "memory" +file = "/var/log/antikoerper/os.memory" +regex = "(?P<ts>\\d{9,})\\s.*\\s+(?P<total>\\d+)\\s+(?P<used>\\d+)\\s+(?P<free>\\d+)\\s+(?P<shared>\\d+)\\s+(?P<cache>\\d+)\\s+(?P<avail>\\d+)" + +[[item]] alias = "battery" file = "/var/log/antikoerper/os.battery" regex = "(?P<ts>\\d{9,})\\s.*\\s(?P<percent>\\d+)%" |