Skip to content

Commit

Permalink
Fixes Invoke-IcingaCheckService to properly include summary metrics…
Browse files Browse the repository at this point in the history
… for filtered services
  • Loading branch information
LordHepipud committed Aug 9, 2024
1 parent 457a1b9 commit 67b00c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions doc/31-Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic

[Issue and PRs](https://github.com/Icinga/icinga-powershell-plugins/milestone/20)

### Bugfixes

* [#412](https://github.com/Icinga/icinga-powershell-plugins/pull/412) Fixes `Invoke-IcingaCheckService` to not add summary performance metrics in case the user filtered for specific services

# 1.12.0 (2024-03-26)

### Bugfixes
Expand Down
2 changes: 1 addition & 1 deletion plugins/Invoke-IcingaCheckService.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function Invoke-IcingaCheckService()
(New-IcingaWindowsServiceCheckObject -Status $Status -Service $services)
);

$ServiceSummary = Add-IcingaServiceSummary -ServiceStatus $StatusRaw -ServiceData $ServiceSummary;
$ServiceSummary = Add-IcingaServiceSummary -ServiceStatus $services.configuration.Status.Raw -ServiceData $ServiceSummary;
}
}

Expand Down

0 comments on commit 67b00c8

Please sign in to comment.