From 44bde6878921376ab0e045bb595a5a78a2e0eed3 Mon Sep 17 00:00:00 2001 From: Quentin Garnier Date: Mon, 4 Aug 2014 16:20:07 +0200 Subject: [PATCH] + Some minor fix --- network/f5/mode/connections.pm | 2 +- network/fortinet/fortigate/common/mode/clusterstatus.pm | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/network/f5/mode/connections.pm b/network/f5/mode/connections.pm index 299df8c56..dc62123d4 100644 --- a/network/f5/mode/connections.pm +++ b/network/f5/mode/connections.pm @@ -96,7 +96,7 @@ sub run { my $oid_sysClientsslStatCurConns = '.1.3.6.1.4.1.3375.2.1.1.2.9.2.0'; my $oid_sysServersslStatCurConns = '.1.3.6.1.4.1.3375.2.1.1.2.10.2.0'; - my $result = $self->{snmp}->get_leef(oids => [$oid_sysStatClientCurConns, $oid_sysStatServerCurConns, $oid_sysClientsslStatCurConns, $oid_sysServersslStatCurConns], nothing_quit => 0); + my $result = $self->{snmp}->get_leef(oids => [$oid_sysStatClientCurConns, $oid_sysStatServerCurConns, $oid_sysClientsslStatCurConns, $oid_sysServersslStatCurConns], nothing_quit => 1); my $sysStatClientCurConns = $result->{$oid_sysStatClientCurConns}; my $sysStatServerCurConns = $result->{$oid_sysStatServerCurConns}; diff --git a/network/fortinet/fortigate/common/mode/clusterstatus.pm b/network/fortinet/fortigate/common/mode/clusterstatus.pm index 569854a0e..5bfb35fb4 100644 --- a/network/fortinet/fortigate/common/mode/clusterstatus.pm +++ b/network/fortinet/fortigate/common/mode/clusterstatus.pm @@ -79,8 +79,6 @@ sub run { # $options{snmp} = snmp object $self->{snmp} = $options{snmp}; - - $self->{result} = $self->{snmp}->get_multiple_table(oids => [ { oid => $oid_fgHaSystemMode }, { oid => $oid_fgHaStatsMasterSerial },