From c481f00618898fe58a34d92ef853a46e37d4df00 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 23 Oct 2019 17:59:43 +0200 Subject: [PATCH] fix query for mssql instance --- database/mssql/mode/pagelifeexpectancy.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/mssql/mode/pagelifeexpectancy.pm b/database/mssql/mode/pagelifeexpectancy.pm index 300fed534..9cacf358f 100644 --- a/database/mssql/mode/pagelifeexpectancy.pm +++ b/database/mssql/mode/pagelifeexpectancy.pm @@ -65,7 +65,7 @@ sub manage_selection { WHERE counter_name = 'Page life expectancy' AND - object_name = 'SQLServer:Buffer Manager' + object_name LIKE '%Manager%' }); $self->{global}->{page_life_expectancy} = $options{sql}->fetchrow_array();