Merge branch 'master' of https://github.com/centreon/centreon-plugins
This commit is contained in:
commit
e23f07d459
|
@ -124,7 +124,7 @@ sub run {
|
|||
threshold => [ { label => 'crit60', exit_litteral => 'critical' }, { label => 'warn60', exit_litteral => 'warning' } ]);
|
||||
$exit = $self->{output}->get_most_critical(status => [ $exit1, $exit2, $exit3, $exit4 ]);
|
||||
$self->{output}->output_add(severity => $exit,
|
||||
short_msg => sprintf("Averate session setup rate: %s, %s, %s, %s (1min, 10min, 30min, 60min)",
|
||||
short_msg => sprintf("Average session setup rate: %s, %s, %s, %s (1min, 10min, 30min, 60min)",
|
||||
$result->{$oid_fgSysSesRate1}, $result->{$oid_fgSysSesRate10},
|
||||
$result->{$oid_fgSysSesRate30}, $result->{$oid_fgSysSesRate60}));
|
||||
|
||||
|
@ -182,4 +182,4 @@ Threshold critical of average setup rate (1min,10min,30min,60min).
|
|||
=back
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
|
|
|
@ -160,7 +160,7 @@ sub manage_selection {
|
|||
my $oid_fwConnNumber = '.1.3.6.1.4.1.1369.5.2.1.4.0';
|
||||
$self->{results} = $self->{snmp}->get_leef(oids => [$oid_fwConnNumber],
|
||||
nothing_quit => 1);
|
||||
$self->{global} = { fwConnNumber => $self->{result}->{$oid_fwConnNumber} };
|
||||
$self->{global} = { fwConnNumber => $self->{results}->{$oid_fwConnNumber} };
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
Loading…
Reference in New Issue