diff --git a/network/f5/bigip/mode/nodestatus.pm b/network/f5/bigip/mode/nodestatus.pm index f7f09a6b4..4b557951d 100644 --- a/network/f5/bigip/mode/nodestatus.pm +++ b/network/f5/bigip/mode/nodestatus.pm @@ -265,7 +265,7 @@ sub manage_selection { , nothing_quit => 1); my ($branch, $map) = ($oid_ltmNodeAddrStatusEntry, 'new'); - if (!defined($self->{results}->{$oid_ltmNodeAddrStatusEntry})) { + if (!defined($self->{results}->{$oid_ltmNodeAddrStatusEntry}) || scalar(keys %{$self->{results}->{$oid_ltmNodeAddrStatusEntry}}) == 0) { ($branch, $map) = ($oid_ltmNodeAddrEntry, 'old'); } diff --git a/network/f5/bigip/mode/poolstatus.pm b/network/f5/bigip/mode/poolstatus.pm index dd56f474a..049e35633 100644 --- a/network/f5/bigip/mode/poolstatus.pm +++ b/network/f5/bigip/mode/poolstatus.pm @@ -264,7 +264,7 @@ sub manage_selection { , nothing_quit => 1); my ($branch, $map) = ($oid_ltmPoolStatusEntry, 'new'); - if (!defined($self->{results}->{$oid_ltmPoolStatusEntry})) { + if (!defined($self->{results}->{$oid_ltmPoolStatusEntry}) || scalar(keys %{$self->{results}->{$oid_ltmPoolStatusEntry}}) == 0) { ($branch, $map) = ($oid_ltmPoolEntry, 'old'); } diff --git a/network/f5/bigip/mode/virtualserverstatus.pm b/network/f5/bigip/mode/virtualserverstatus.pm index 32c3001e7..5929ac3a6 100644 --- a/network/f5/bigip/mode/virtualserverstatus.pm +++ b/network/f5/bigip/mode/virtualserverstatus.pm @@ -265,7 +265,7 @@ sub manage_selection { , nothing_quit => 1); my ($branch, $map) = ($oid_ltmVsStatusEntry, 'new'); - if (!defined($self->{results}->{$oid_ltmVsStatusEntry})) { + if (!defined($self->{results}->{$oid_ltmVsStatusEntry}) || scalar(keys %{$self->{results}->{$oid_ltmVsStatusEntry}}) == 0) { ($branch, $map) = ($oid_ltmVirtualServEntry, 'old'); }