Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitae9eee0

Browse files
committed
Fixes backup status plugin for MSSQL which ignored NoPerfData flag
1 parent818049c commitae9eee0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

‎doc/31-Changelog.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
1313

1414
##Bugfixes
1515

16-
*[#61](https://github.com/Icinga/icinga-powershell-mssql/pull#61) Update queries for performance counters to allow (and use) wildcards. Fixes#50
16+
*[#54](https://github.com/Icinga/icinga-powershell-mssql/issues/54) Fixes`Invoke-IcingaCheckMSSQLBackupStatus` which ignored the`-NoPerfData` flag
17+
*[#61](https://github.com/Icinga/icinga-powershell-mssql/pull/61) Update queries for performance counters to allow (and use) wildcards. Fixes#50
1718

1819
###Enhancements
1920

‎plugins/Invoke-IcingaCheckMSSQLBackupStatus.psm1‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function Invoke-IcingaCheckMSSQLBackupStatus
119119
[string]$SqlHost="localhost",
120120
[int]$SqlPort=1433,
121121
[switch]$IntegratedSecurity=$FALSE,
122-
[switch]$NoPerfData,
122+
[switch]$NoPerfData=$FALSE,
123123
$IncludeDays=$null,
124124
[ValidateSet(0,1,2,3)]
125125
$Verbosity=0
@@ -174,5 +174,5 @@ function Invoke-IcingaCheckMSSQLBackupStatus
174174
$CheckPackage.AddCheck($DBPackage);
175175
}
176176

177-
return (New-IcingaCheckResult-Check$CheckPackage-Compile);
177+
return (New-IcingaCheckResult-Check$CheckPackage-Compile-NoPerfData$NoPerfData);
178178
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp