From d46a39f3768e84da98a1b0d6cc8632bdb56c164e Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Wed, 30 Dec 2020 16:18:01 +0100 Subject: [PATCH] use mssql databases-size good value --- centreon-plugins/database/mssql/mode/databasessize.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/database/mssql/mode/databasessize.pm b/centreon-plugins/database/mssql/mode/databasessize.pm index a6a1a2c77..68b46311d 100644 --- a/centreon-plugins/database/mssql/mode/databasessize.pm +++ b/centreon-plugins/database/mssql/mode/databasessize.pm @@ -320,7 +320,7 @@ sub manage_selection { $self->{databases}->{ $row->[0] }->{$row->[3] . 'files'}->{limit} = 'unlimited'; if (defined($self->{option_results}->{add_unlimited_disk}) && !defined($unlimited_disk->{ $row->[0] . '_' . $row->[3] . 'files_' . $row->[8] })) { - $size += $row->[9]; + $size += $row->[10]; $unlimited_disk->{ $row->[0] . '_' . $row->[3] . 'files_' . $row->[8] } = 1; } } elsif ($row->[7] > 0) {