same unit to snmp modules when unit not correct to module type, tiquet: #2025

(cherry picked from commit 471492807d)
This commit is contained in:
m-lopez-f 2015-03-24 10:36:02 +01:00
parent 9915e22a11
commit c2dbc40155
1 changed files with 1 additions and 0 deletions

View File

@ -239,6 +239,7 @@ if ($create_modules) {
else
$module_type = 15;
$values['unit'] = "";
if (preg_match("/Octets/", $name_array[1])) {
$values['unit'] = "Bytes";
}