+ Some minor fix

This commit is contained in:
Quentin Garnier 2014-08-04 16:20:07 +02:00
parent 528efcadc1
commit 44bde68789
2 changed files with 1 additions and 3 deletions

View File

@ -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};

View File

@ -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 },