File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ function Invoke-IcingaCheckMSSQLHealth()
78
78
# Create a unique name for our timer
79
79
[string ]$MSSQLTimer = [string ]::Format(' MSSQL_Timer_{0}' , $Instance );
80
80
# Start the timer to store our connection time
81
- Start-IcingaTimer $MSSQLTimer ;
81
+ Start-IcingaTimer $MSSQLTimer | Out-Null ;
82
82
# Connect to MSSQL
83
83
$SqlConnection = Open-IcingaMSSQLConnection - Username $SqlUsername - Password $SqlPassword - Address $SqlHost - IntegratedSecurity:$IntegratedSecurity - Port $SqlPort - SqlDatabase $SqlDatabase - TestConnection;
84
84
# Stop the timer
@@ -128,5 +128,5 @@ function Invoke-IcingaCheckMSSQLHealth()
128
128
129
129
$MSSQLCheckPackage.AddCheck ($MSSQLConnCheck );
130
130
131
- return (New-IcingaCheckResult - Check $MSSQLCheckPackage - Compile - NoPerfData $NoPerfData )
131
+ return (New-IcingaCheckResult - Check $MSSQLCheckPackage - Compile - NoPerfData $NoPerfData );
132
132
}
You can’t perform that action at this time.
0 commit comments