summaryrefslogtreecommitdiffstats
path: root/modules-available/eventlog
diff options
context:
space:
mode:
authorSimon Rettberg2021-11-24 22:37:03 +0100
committerSimon Rettberg2022-03-09 15:06:54 +0100
commit1a490a96a4682f559de9477a8fa96529647c3171 (patch)
treecc732ac0c625bd2dfc2d06c67326073e9688470b /modules-available/eventlog
parent[passthrough] Make buttonbar fixed at bottom of screen (diff)
downloadslx-admin-1a490a96a4682f559de9477a8fa96529647c3171.tar.gz
slx-admin-1a490a96a4682f559de9477a8fa96529647c3171.tar.xz
slx-admin-1a490a96a4682f559de9477a8fa96529647c3171.zip
[eventlog] Add id45mb, add comment
Diffstat (limited to 'modules-available/eventlog')
-rw-r--r--modules-available/eventlog/inc/filterruleprocessor.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/eventlog/inc/filterruleprocessor.inc.php b/modules-available/eventlog/inc/filterruleprocessor.inc.php
index f4a84ce1..c49c0d01 100644
--- a/modules-available/eventlog/inc/filterruleprocessor.inc.php
+++ b/modules-available/eventlog/inc/filterruleprocessor.inc.php
@@ -4,7 +4,7 @@ class FilterRuleProcessor
{
const MACHINE_COLUMNS = ['machineuuid', 'clientip', 'locationid', 'macaddr', 'firstseen', 'lastseen', 'logintime',
- 'lastboot', 'state', 'realcores', 'mbram', 'kvmstate', 'cpumodel', 'systemmodel', 'id44mb',
+ 'lastboot', 'state', 'realcores', 'mbram', 'kvmstate', 'cpumodel', 'systemmodel', 'id44mb', 'id45mb',
'live_memsize', 'live_tmpsize', 'live_swapsize', 'live_id45size', 'live_memfree', 'live_tmpfree',
'live_swapfree', 'live_id45free', 'live_cpuload', 'live_cputemp', 'badsectors', 'hostname', 'currentrunmode',
'currentsession', 'currentuser', 'notes', 'standbysem'];
@@ -26,6 +26,7 @@ class FilterRuleProcessor
*/
/**
+ * Called from anywhere within slx-admin when some form of event happens.
* @param string $type the event. Will either be client state like ~poweron, ~runstate etc. or a client log type
* @param array $data A structured array containing event specific data that can be matched.
*/