mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
same unit to snmp modules when unit not correct to module type, tiquet: #2025
(cherry picked from commit 471492807df2a3fb3653f8d9d5abc4af6a00636a)
This commit is contained in:
parent
9915e22a11
commit
c2dbc40155
@ -239,6 +239,7 @@ if ($create_modules) {
|
||||
else
|
||||
$module_type = 15;
|
||||
|
||||
$values['unit'] = "";
|
||||
if (preg_match("/Octets/", $name_array[1])) {
|
||||
$values['unit'] = "Bytes";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user