diff options
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/eventlog/inc/filterruleprocessor.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules-available/eventlog/inc/filterruleprocessor.inc.php b/modules-available/eventlog/inc/filterruleprocessor.inc.php index a19180c5..bd829b26 100644 --- a/modules-available/eventlog/inc/filterruleprocessor.inc.php +++ b/modules-available/eventlog/inc/filterruleprocessor.inc.php @@ -9,6 +9,7 @@ class FilterRuleProcessor 'live_swapfree', 'live_id45free', 'live_cpuload', 'live_cputemp', 'badsectors', 'hostname', 'currentrunmode', 'currentsession', 'currentuser', 'notes', 'standbysem']; + // <device-type>, <property>, <is_global_property> const HW_QUERIES = [ 'cpu_sockets' => [HardwareInfo::MAINBOARD, 'cpu-sockets', false], 'cpu_cores' => [HardwareInfo::MAINBOARD, 'cpu-cores', false], @@ -53,6 +54,9 @@ class FilterRuleProcessor 'hdd_size' => [HardwareInfo::HDD, 'size', true], 'hdd_sata_version' => [HardwareInfo::HDD, 'sata_version', true], 'hdd_model' => [HardwareInfo::HDD, 'model', true], + + 'nic_speed' => [HardwareInfo::MAINBOARD, 'nic-speed', false], + 'nic_duplex' => [HardwareInfo::MAINBOARD, 'nic-duplex', false], ]; /* |