+ Fix memory value

This commit is contained in:
garnier-quentin 2017-02-06 11:25:19 +01:00
parent d5f1aaaadf
commit c07e164769
1 changed files with 3 additions and 5 deletions

View File

@ -155,8 +155,8 @@ my $mapping = {
sysTmmStatClientCurConns => { oid => '.1.3.6.1.4.1.3375.2.1.8.2.3.1.12' },
sysTmmStatServerTotConns => { oid => '.1.3.6.1.4.1.3375.2.1.8.2.3.1.18' },
sysTmmStatServerCurConns => { oid => '.1.3.6.1.4.1.3375.2.1.8.2.3.1.19' },
sysTmmStatMemoryTotal => { oid => '.1.3.6.1.4.1.3375.2.1.8.2.3.1.31' }, # KB
sysTmmStatMemoryUsed => { oid => '.1.3.6.1.4.1.3375.2.1.8.2.3.1.32' }, # KB
sysTmmStatMemoryTotal => { oid => '.1.3.6.1.4.1.3375.2.1.8.2.3.1.31' }, # B
sysTmmStatMemoryUsed => { oid => '.1.3.6.1.4.1.3375.2.1.8.2.3.1.32' }, # B
};
my $oid_sysTmmStatEntry = '.1.3.6.1.4.1.3375.2.1.8.2.3.1';
@ -183,8 +183,6 @@ sub manage_selection {
next;
}
$result->{sysTmmStatMemoryTotal} *= 1024;
$result->{sysTmmStatMemoryUsed} *= 1024;
$self->{tmm}->{$result->{sysTmmStatTmmId}} = {
display => $result->{sysTmmStatTmmId},
%$result