mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 23:54:18 +02:00
fix total mssql transactions
This commit is contained in:
parent
7ed391086d
commit
e503cd37ce
@ -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