summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats/data/etc
Commit message (Collapse)AuthorAgeFilesLines
* [system-check/hardware-stats] Loosen dependenciesSimon Rettberg2024-01-292-4/+3Star
| | | | | | | | | | | | | 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.
* [hardware-stats] Try harder to submit shutdown event to slx-adminSimon Rettberg2022-09-282-0/+14
|
* [hardware-stats] Add comment regarding usage of ~screens eventSimon Rettberg2022-05-171-1/+4
|
* [hardware-stats] Fix ordering: Wait for run-virt-envSimon Rettberg2022-05-041-1/+4
|
* [run-virt/hardware-stats] Move dependencies aroundSimon Rettberg2022-04-211-1/+1
|
* [system-check/hardware-stats] Refactor report stats gather split stuffSimon Rettberg2021-10-203-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] Tweak hooks for immediate usage updates; add %CPU statSimon Rettberg2020-04-241-0/+4
| | | | | | | | 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] explicitely wait on run-virt-envJonathan Bauer2019-12-161-1/+1
| | | | | fixes race condition where /tmp/virt is not created, before hardware-stats tries to detect if it is mounted or not.
* [*] introduce system-checkJonathan Bauer2019-10-311-1/+2
| | | | | | | | | | | * 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] Use ExecStop for shutdown notificationSimon Rettberg2019-04-033-17/+2Star
| | | | | | | Try a different approach: Since out initial hardware-stats service logging the poweron event is a oneshot with RemainAfterExit set, make the shutdown reporting script its ExecStop line (and hope that this works reliably on shutdown).
* [hardware-stats] Fiddle with service file againSimon Rettberg2019-02-281-1/+3
|
* [hardware-stats] Try to make shutdown hook run earlierSimon Rettberg2019-02-081-1/+2
|
* [hardware-stats] Support reporting suspend/resumeSimon Rettberg2017-11-255-1/+25
|
* [hardware-stats] Write log file about potential problemsSimon Rettberg2017-11-121-1/+1
| | | | | | This is a more generic version of what we patched into the kdm theme previously, so we can switch to lightdm at some point.
* [init, etc] Pass system-uuid when fetching config & config.tgzSimon Rettberg2017-07-121-1/+1
| | | | | Also save the system-uuid for later use in stage32+, which changed locations from /run to /etc - modules got updated accordingly
* [hardware-stats] Report screen meta dataSimon Rettberg2017-04-071-0/+39
|
* merge with latest dev version (tm-scripts commit ↵Jonathan Bauer2016-12-231-1/+1
| | | | f5a59daf8d70a9027118292cd40b18c221897408)
* merge with latest dev versionSebastian2016-04-254-0/+24