Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename hardware-stats service to gather-hw-info | Simon Rettberg | 2024-01-29 | 6 | -7/+5 |
| | |||||
* | [system-check/hardware-stats] Loosen dependencies | Simon Rettberg | 2024-01-29 | 4 | -43/+31 |
| | | | | | | | | | | | | | For some reason, system-check is ordered before hardware-report, but I can't figure out why. system-check merely generates the warnings to display on the login screen, and hardware-report sends hw data to the boot server. I don't see anything in hardware-report actually depending on anything system-check does. There are some other minor changes, like moving the generation of the json report from hardware-report to hardware-stats, and putting the according python script into a directory named hardware-stats instead of system-check, which might imply it belongs to that module which is wrong. | ||||
* | UTF-8 | Simon Rettberg | 2024-01-29 | 1 | -2/+2 |
| | |||||
* | [hardware-stats] Change low memory warning conditions | Simon Rettberg | 2024-01-17 | 1 | -2/+5 |
| | |||||
* | [hardware-stats] Let any errors go to stdout | Simon Rettberg | 2023-03-07 | 1 | -2/+2 |
| | |||||
* | [hardware-stats] Increase timeouts again | Simon Rettberg | 2023-02-16 | 2 | -2/+3 |
| | |||||
* | [remote-access/hardware-stats] Try harder to avoid races and keep order | Simon Rettberg | 2023-02-15 | 2 | -12/+19 |
| | | | | | Don't send usage updates or the VNC password before we haven't successfully sent the ~poweron event. | ||||
* | [hardware-stats] Get uptime when submitting report, not 5 hours earlier | Simon Rettberg | 2023-02-03 | 1 | -3/+3 |
| | |||||
* | [hardware-stats] Don't send usage/bootup event if shutting down | Simon Rettberg | 2022-09-28 | 2 | -0/+5 |
| | |||||
* | [hardware-stats] Try harder to submit shutdown event to slx-admin | Simon Rettberg | 2022-09-28 | 3 | -1/+19 |
| | |||||
* | [hardware-stats] CPU temp: Add support for k10temp output format | Simon Rettberg | 2022-05-25 | 1 | -1/+18 |
| | |||||
* | [hardware-stats] Add comment regarding usage of ~screens event | Simon Rettberg | 2022-05-17 | 1 | -1/+4 |
| | |||||
* | [hardware-stats] Fix ordering: Wait for run-virt-env | Simon Rettberg | 2022-05-04 | 1 | -1/+4 |
| | |||||
* | [run-virt/hardware-stats] Move dependencies around | Simon Rettberg | 2022-04-21 | 1 | -1/+1 |
| | |||||
* | [hardware-stats] Fix detection of vmx/svm support | Simon Rettberg | 2022-04-21 | 1 | -15/+16 |
| | | | | | | | | Newer Linux kernel versions hide the vmx/svm flag from /proc/cpuinfo if you disable the feature in the BIOS. We wrongfully reported this as UNSUPPORTED then instead of DISABLED as intended. Read the according MSRs unconditionally now, and only validate the flag is present if the MSR values line up with what we expect for the feature to be enabled. | ||||
* | [hardware-stats] Only print nouveau driver warning if driver is in use | Manuel Bentele | 2021-11-16 | 1 | -1/+1 |
| | | | | | This change fixes the false positive use case where the warning is printed during GPU passthrough although the nouveau is not in use. | ||||
* | [system-check/hardware-stats] Refactor report stats gather split stuff | Simon Rettberg | 2021-10-20 | 4 | -2/+13 |
| | | | | | | | | | Reporting to server is now a separate service, as it slows down system-check for no reason via hooks.d. Also add a couple comments and simplifications to system-check main script. We now redirect to the tags file within the main script instead of letting each hook individually open the tags file and write to it concurrently, which seems like a bad idea in retrospect. | ||||
* | [hardware-stats] Add threads and sockets to hw-report | Simon Rettberg | 2021-09-28 | 2 | -3/+6 |
| | |||||
* | [hardware-stats] Add missing -p option to hwstats | Simon Rettberg | 2021-09-21 | 1 | -1/+1 |
| | |||||
* | [hardware-stats] Include new json-based hw reporting | Simon Rettberg | 2021-09-15 | 1 | -4/+11 |
| | | | | | Fetch scripts from cgit for now. A bit ugly but this needs to be re-organized first. | ||||
* | [hardware-stats] Add ID45 to status updates | Simon Rettberg | 2021-01-25 | 1 | -1/+11 |
| | | | | References #3634 | ||||
* | [*] Remove "export PATH..." -> DefaultEnvironment= in system.conf.d | Simon Rettberg | 2020-09-23 | 2 | -4/+0 |
| | | | | | | Since we can set PATH for everything spawned by systemd, this boilerplate code is not needed anymore. Makes future changes much easier. | ||||
* | [hardware-stats] Fix awk output format for numbers > 2^31 | Simon Rettberg | 2020-09-23 | 1 | -1/+1 |
| | |||||
* | [hardware-stats] Fix GPT PARSING | Simon Rettberg | 2020-08-31 | 1 | -1/+1 |
| | |||||
* | [hardware-stats] Make fdisk sed compatible with GPT | Simon Rettberg | 2020-08-31 | 1 | -1/+1 |
| | |||||
* | [hardware-stats] Work around even harder | Simon Rettberg | 2020-08-27 | 1 | -1/+1 |
| | |||||
* | [hardware-stats] fix fix fix fifeef | Simon Rettberg | 2020-08-27 | 1 | -1/+1 |
| | |||||
* | [hardware-stats] Move sed so we can properly get the exit code | Simon Rettberg | 2020-08-27 | 1 | -3/+3 |
| | |||||
* | [hardware-stats] Work around more busybox changes | Simon Rettberg | 2020-08-27 | 1 | -1/+1 |
| | | | | fdisk output changed. sed it into form for now. | ||||
* | [*] system-check english translations | Jonathan Bauer | 2020-08-05 | 1 | -0/+1 |
| | |||||
* | [hardware-stats] Use bash for better math | Simon Rettberg | 2020-07-23 | 1 | -1/+2 |
| | |||||
* | [hardware-stats] Report runmode in poweron, not runstate | Simon Rettberg | 2020-06-29 | 2 | -12/+14 |
| | | | | It can't change anyways. | ||||
* | [hardware-stats] ... | Simon Rettberg | 2020-04-30 | 1 | -2/+2 |
| | |||||
* | [hardware-stats] Fix CPU load script | Simon Rettberg | 2020-04-30 | 1 | -7/+5 |
| | |||||
* | [hardware-stats] Send CPU temp | Simon Rettberg | 2020-04-27 | 1 | -0/+8 |
| | |||||
* | [hardware-stats] Tweak hooks for immediate usage updates; add %CPU stat | Simon Rettberg | 2020-04-24 | 4 | -10/+40 |
| | | | | | | | | The hooks that immediately call the usage update script have been modified to only fire for :0 X11 sessions, and also trigger for Xreset, which usually means a session ended. Also added a %CPU stat that gets reported every 5 minutes. | ||||
* | [hardware-stats] fix weird typo | Jonathan Bauer | 2020-01-28 | 1 | -1/+1 |
| | | | | | Came from e74418844e9912f254deb35eb7f60243e7af238b Guess that was not intended ^^ | ||||
* | [hardware-stats] explicitely wait on run-virt-env | Jonathan Bauer | 2019-12-16 | 1 | -1/+1 |
| | | | | | fixes race condition where /tmp/virt is not created, before hardware-stats tries to detect if it is mounted or not. | ||||
* | [hardware-stats] Add NVMe support | Simon Rettberg | 2019-12-13 | 1 | -3/+3 |
| | |||||
* | [hardware-stats] Report IP/subnet size too | Simon Rettberg | 2019-11-26 | 1 | -1/+3 |
| | |||||
* | [hardware-stats] Fix whitespace | Simon Rettberg | 2019-11-26 | 1 | -1/+1 |
| | |||||
* | [*] introduce system-check | Jonathan Bauer | 2019-10-31 | 6 | -134/+169 |
| | | | | | | | | | | | * hardware stats now only reports hardware info data in /run/hwinfo and /run/hwreport * system-check hooks will generate lightdm warnings and curl the report to the satellite * run-virt now handles the ID44 warnings to cope for network shares on /tmp/virt WARNING PROFI111! | ||||
* | [hardware-stats] id44 check for /tmp/virt not /tmp | Jonathan Bauer | 2019-10-16 | 1 | -4/+4 |
| | |||||
* | [hardware-stats] abs. symlink to usage_stats | Jonathan Bauer | 2019-07-29 | 1 | -1/+1 |
| | | | | since a relative symlink would point to a non-existant location if the containing folder was also a symlink | ||||
* | [pam-slx-plug] Move old pam_script_* hook dirs to pam dir | Simon Rettberg | 2019-06-28 | 2 | -0/+0 |
| | | | | | | They're all now in subdirectories of /opt/openslx/pam/hooks. Symlinks have been put in place where they used to reside. | ||||
* | [hardware-stats] Fix inverted logic for fallback | Simon Rettberg | 2019-06-18 | 1 | -1/+1 |
| | |||||
* | [hardware-stats] use slx-tools for ID44 | Jonathan Bauer | 2019-06-17 | 1 | -15/+25 |
| | |||||
* | [hardware-stats] Use slx-tools to determine free /tmp | Simon Rettberg | 2019-06-14 | 1 | -3/+3 |
| | |||||
* | [hardware-stats] Use idle-daemon to warn users of low mem | Simon Rettberg | 2019-06-12 | 1 | -27/+1 |
| | |||||
* | [hardware-stats] Remove UUID fallback; require /etc/system-uuid | Simon Rettberg | 2019-04-09 | 1 | -8/+3 |
| |