From d995405b75bc4c7983126a22288b0b7cff4fed45 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Wed, 7 Jun 2017 14:54:47 +0200 Subject: [PATCH] enhance f5 node status --- network/f5/bigip/snmp/mode/nodestatus.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/f5/bigip/snmp/mode/nodestatus.pm b/network/f5/bigip/snmp/mode/nodestatus.pm index cbf1ff8f4..818a3b831 100644 --- a/network/f5/bigip/snmp/mode/nodestatus.pm +++ b/network/f5/bigip/snmp/mode/nodestatus.pm @@ -211,7 +211,7 @@ sub manage_selection { $snmp_result = $options{snmp}->get_leef(nothing_quit => 1); foreach (keys %{$self->{node}}) { - my $result = $options{snmp}->map_instance(mapping => $mapping, results => $snmp_result, instance => $_); + my $result = $options{snmp}->map_instance(mapping => $mapping->{$map}, results => $snmp_result, instance => $_); my $result2 = $options{snmp}->map_instance(mapping => $mapping2, results => $snmp_result, instance => $_); if ($result->{EnabledState} !~ /enabled/) {