mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 16:45:04 +02:00
fix total mssql transactions
This commit is contained in:
parent
7bef85b8dd
commit
a3abf97b1e
@ -85,7 +85,7 @@ sub manage_selection {
|
|||||||
$self->{global} = {};
|
$self->{global} = {};
|
||||||
$self->{database} = {};
|
$self->{database} = {};
|
||||||
foreach my $row (@$result) {
|
foreach my $row (@$result) {
|
||||||
if ($row->[0] eq '_Total') {
|
if ($row->[0] =~ /_Total/) {
|
||||||
$self->{global}->{transactions} = $row->[1];
|
$self->{global}->{transactions} = $row->[1];
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user