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