summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/api.inc.php
Commit message (Collapse)AuthorAgeFilesLines
* [serversetup-bwlp-ipxe/statistics] Sanitize strings from clientsSimon Rettberg2020-07-311-10/+14
| | | | | | Some string from the clients might not be well suited for utf-8 representation. Add wrapper functions that clean utf-8 strings, or convert ANSI strings to UTF-8 while removing problematic chars.
* [statistics] Keep track of client runmodeSimon Rettberg2020-07-071-0/+8
|
* [rebootcontrol/statistics] Move subnet size handling to hookSimon Rettberg2020-04-271-24/+0Star
|
* [statistics] Track CPU temperature as wellSimon Rettberg2020-04-271-3/+3
|
* Fix typo in last commitSimon Rettberg2020-04-251-1/+1
|
* [statistics] Track CPU-load and standby failures of clientsSimon Rettberg2020-04-251-5/+12
|
* Minor tweaks and cleanupsSimon Rettberg2020-04-251-8/+11
|
* [statistics] Add hook for client machine eventsSimon Rettberg2020-04-161-0/+3
| | | | Now other modules can react to poweron/off etc.
* [statistics/rebootcontrol] Implement editing subnetSimon Rettberg2019-11-271-0/+24
|
* [statistics] api: Update DB on client ipaddr changeSimon Rettberg2019-11-191-7/+12
| | | | | Just logging and ignoring the event spams the event log, also it's more likely that the address actually legitimately changed.
* Fix UUID handling; refactor constraints for machineuuidSimon Rettberg2019-02-211-16/+13Star
|
* [statistics] Fix RAM change warning to handle increase tooSimon Rettberg2019-02-191-1/+2
|
* [statistics] Fix copypastaSimon Rettberg2019-01-281-1/+1
|
* [statistics] Track and display memory/tmp usage of clientsSimon Rettberg2019-01-281-2/+11
|
* [statistics] Handling of standby state in statistics, log crashesSimon Rettberg2019-01-241-61/+41Star
| | | | | | | Or rather, not really crashes, but log whenever a client reports a poweron event without reporting a proper shutdown first. This isn't neccessarily a crash but could also be due to power loss, hard poweroff, or network failures.
* [statistics] Log if client seems to have crashedSimon Rettberg2019-01-211-0/+17
| | | | | | Log when we reset a client's state in the cron job, as well as if we receive a poweron event even though the state in the DB is still IDLE or OCCUPIED.
* [statistics] Filter malformed screen namesSimon Rettberg2018-12-041-0/+4
|
* [statistics] Cleaner version for screen connection state handling by using ↵Simon Rettberg2017-12-211-16/+6Star
| | | | nested array feature for queries
* [statistics] Properly mark disconnected sceens as such if the output name ↵Simon Rettberg2017-12-211-17/+29
| | | | changed
* [statistics, roomplanner, locationinfo] Ignore machines with runmode:isclient==0Simon Rettberg2017-12-011-1/+0Star
|
* [statistics] Reset session name on login to vmchooserSimon Rettberg2017-11-301-1/+1
|
* [statistics] Introduce state column to get rid of complicated state ↵Simon Rettberg2017-11-281-56/+134
| | | | | | determination This also adds support for the STANDBY state
* [statistics] Warn about suspicious hardware changes (RAM, CPU)Simon Rettberg2017-11-241-18/+42
| | | | | | If the CPU model changes or the amount of RAM decreases we issue a warning message to the server log, since at least in the RAM case it might not have been an authorized access.... :/
* [statistics] Also adapt MAC-UUID fixing code to mltk changesSimon Rettberg2017-11-211-1/+1
| | | | Refs #3227
* [statistics] api: Allow specifying client typeSimon Rettberg2017-11-031-27/+42
|
* [statistics] Handle client screens, manage projectorsSimon Rettberg2017-04-061-0/+73
|
* [statistics/locations/..] Cache calculated locationid of machine in machine ↵Simon Rettberg2016-12-061-4/+20
| | | | | | | | | | | | | | | table We now have three columns for the locationid: - subnetlocationid Updated whenever the clientip of a client changes on bootup, or when locations/subnets are edited in the locations module. - fixedlocationid Takes the role of the old locationid field - set when a machine is placed in a room via roomplanner, set to NULL otherwise. - locationid Set to fixedlocationid if it's not NULL, to subnetlocationid otherwise. The field is updated by a BEFORE UPDATE trigger.
* [statistics] Show current lecture, use new logging format/columns if possibleSimon Rettberg2016-09-011-13/+31
|
* [statistics] Allow larger RAM...Simon Rettberg2016-07-141-2/+2
|
* Modularized baseconfig fetching (api)Simon Rettberg2016-05-171-0/+217