+ fix kemp warn message with snmpv1
This commit is contained in:
parent
0f87eb849d
commit
ff3c9bf02c
|
@ -196,7 +196,9 @@ sub manage_selection {
|
|||
|
||||
$self->{rs}->{$instance} = { display => $display_name,
|
||||
status => $result->{rSstate},
|
||||
rSInBytes => $result->{rSInBytes} * 8, rSOutBytes => $result->{rSOutBytes} * 8, rSActiveConns => $result->{rSActiveConns} };
|
||||
rSInBytes => defined($result->{rSInBytes}) ? $result->{rSInBytes} * 8 : undef,
|
||||
rSOutBytes => defined($result->{rSOutBytes}) ? $result->{rSOutBytes} * 8 : undef,
|
||||
rSActiveConns => $result->{rSActiveConns} };
|
||||
}
|
||||
|
||||
if (scalar(keys %{$self->{rs}}) <= 0) {
|
||||
|
|
|
@ -194,7 +194,9 @@ sub manage_selection {
|
|||
|
||||
$self->{vs}->{$instance} = { display => $result->{vSname},
|
||||
status => $result->{vSstate},
|
||||
vSInBytes => $result->{vSInBytes} * 8, vSOutBytes => $result->{vSOutBytes} * 8, vSActivConns => $result->{vSActivConns} };
|
||||
vSInBytes => defined($result->{vSInBytes}) ? $result->{vSInBytes} * 8 : undef,
|
||||
vSOutBytes => defined($result->{vSOutBytes}) ? $result->{vSOutBytes} * 8 : undef,
|
||||
vSActivConns => $result->{vSActivConns} };
|
||||
}
|
||||
|
||||
if (scalar(keys %{$self->{vs}}) <= 0) {
|
||||
|
|
Loading…
Reference in New Issue