diff options
author | Simon Rettberg | 2021-02-18 16:25:41 +0100 |
---|---|---|
committer | Simon Rettberg | 2021-02-18 16:25:41 +0100 |
commit | 5197a0c0a46630f7e0010bd08f746452b2371f5c (patch) | |
tree | 5a239aaec1910e89c698c9bd0916a177534c239a | |
parent | [locationinfo] Fix conversion of time zone argument to DateTime (diff) | |
download | slx-admin-5197a0c0a46630f7e0010bd08f746452b2371f5c.tar.gz slx-admin-5197a0c0a46630f7e0010bd08f746452b2371f5c.tar.xz slx-admin-5197a0c0a46630f7e0010bd08f746452b2371f5c.zip |
[statistics] Store ID45 live stats
-rw-r--r-- | modules-available/statistics/api.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules-available/statistics/api.inc.php b/modules-available/statistics/api.inc.php index 23b86ef4..30d1fda9 100644 --- a/modules-available/statistics/api.inc.php +++ b/modules-available/statistics/api.inc.php @@ -195,7 +195,9 @@ if ($type{0} === '~') { } } } - foreach (['memsize', 'tmpsize', 'swapsize', 'memfree', 'tmpfree', 'swapfree', 'cpuload', 'cputemp'] as $item) { + foreach (['memsize', 'tmpsize', 'swapsize', 'id45size', + 'memfree', 'tmpfree', 'swapfree', 'id45free', + 'cpuload', 'cputemp'] as $item) { $liveVal = Request::post($item, false, 'int'); if ($liveVal !== false) { $strUpdateBoottime .= ' live_' . $item . ' = :_' . $item . ', '; |