Age | Commit message (Collapse) | Author |
|
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
Add tests for parsing the output
Add wrapper to read and mock the command output
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
I guess the confusion was the df -TP already returns the values as kB instead of bytes hence we have to multiply the values first before we pass them to FormatBytes.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
Don't use shell_exec to fetch that information anymore, Make it testable
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
I don't know why php does not complain but phpunit were not able to locate the files.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
Do not print errors if time server config is not available
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Michael Koch <9440351+mikoMK@users.noreply.github.com>
|
|
adding more info to the page. This is only the first step
|
|
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
|
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
|
Co-Authored-By: skjnldsv <skjnldsv@users.noreply.github.com>
|
|
Co-Authored-By: skjnldsv <skjnldsv@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
add mail shares and room shares to the output of the monitoring app
|
|
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
|
Hello,
this might not be a good change as it seems to supress all error messages. Though it helps me running Nextcloud on a provider that gives me limited access to open_basedir or /proc/meminfo. Although you check for access, I still get lots of errors-log-entries when opening the Memory-System-Statistics:
```
is_readable(): open_basedir restriction in effect. File(/proc/meminfo) is not within the allowed path(s): (/var/www/vhosts/xxx.yyy.netcup.net/httpdocs/zzz.aaa.com/:/tmp/:/var/lib/php5/sessions:/var/www/vhosts/xxx.yyy.netcup.net/tmp) at /var/www/vhosts/xxx.yyy.netcup.net/httpdocs/zzz.aaa.com/apps/serverinfo/lib/SystemStatistics.php#96
```
Just as an idea, perhaps you guys have a better approach.
Good work! :-)
Patrick
|
|
Checking for valid CPU average values
|
|
Signed-off-by: Patrik Kernstock <info@pkern.at>
|
|
Signed-off-by: Patrik Kernstock <info@pkern.at>
|
|
Signed-off-by: Patrik Kernstock <info@pkern.at>
|
|
Signed-off-by: Patrik Kernstock <info@pkern.at>
|
|
Signed-off-by: Patrik Kernstock <info@pkern.at>
|
|
|
|
This adds a few monitoring information we already collect anyway - and were already available in the API endpoint.
This currently loads all SystemStatistics, which might be reduced to a smaller dataset in the future for performance reasons. Note: `webServer` in ApiController might be moved to `SystemStatistics` at a later point.
Signed-off-by: Patrik Kernstock <info@pkern.at>
|
|
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
|
|
|
Signed-off-by: Patrik Kernstock <info@pkern.at>
|
|
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
|
Signed-off-by: Patrik Kernstock <info@pkern.at>
|
|
|
|
Signed-off-by: Joachim Boerner <tflidd@aspekte.net>
|
|
Splitted swap and memory graph into two different graphs
|
|
Signed-off-by: Joachim Börner tflidd@aspekte.net
|
|
Signed-off-by: Fabian Dreßler <nudelsalat@clouz.de>
|
|
Removing 'num_enabled' key temporary as the new IAppManager-way seems not to provide any reliable way to tell all activated (or even the count) apps. May follow later.
Signed-off-by: Patrik Kernstock <info@pkern.at>
|
|
Signed-off-by: Patrik Kernstock <info@pkern.at>
|
|
Signed-off-by: Patrik Kernstock <info@pkern.at>
|
|
Signed-off-by: Patrik Kernstock <info@pkern.at>
|
|
Signed-off-by: Patrik Kernstock <info@pkern.at>
|
|
Signed-off-by: Patrik Kernstock <info@pkern.at>
|