You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #750 from Icinga:feature/rework_handling_for_processing_checks
Rework: Plugin and checker core handling for plugin evaluation
Reworks the internal handling on how plugin thresholds are evaluated and the internal checker core, including on how performance metrics are generated
Copy file name to clipboardExpand all lines: doc/100-General/10-Changelog.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,14 @@ documentation before upgrading to a new release.
7
7
8
8
Released closed milestones can be found on [GitHub](https://github.com/Icinga/icinga-powershell-framework/milestones?state=closed).
9
9
10
-
## 1.13.0 (tbd)
10
+
## 1.13.0 Beta-1 (2024-08-30)
11
11
12
12
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/32)
13
13
14
+
### Notes
15
+
16
+
This beta release has reworked the entire handling on how thresholds and the checker core operate. For that reason, the `Beta-1` release will **not** include the `Metrics over Time` feature. The goal of this beta is to get an idea if the threshold handling is working as expected and evaluate the performance gains for the new check handling. The `Metrics over Time` feature will be re-implemented with an entire new background task and configurations in `Beta-2`.
17
+
14
18
### Bugfixes
15
19
16
20
*[#729](https://github.com/Icinga/icinga-powershell-framework/issues/729) Fixes `Update-Icinga` to print an error in case a component is not installed, instead of silently continue
@@ -27,6 +31,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
27
31
*[#739](https://github.com/Icinga/icinga-powershell-framework/pull/739) Adds support to check the encoding of files to ensure we can properly load them and throw errors for unsupported encoding
28
32
*[#740](https://github.com/Icinga/icinga-powershell-framework/pull/740) Adds new command `Invoke-IcingaForWindowsRESTApi` for easier API communication
29
33
*[#742](https://github.com/Icinga/icinga-powershell-framework/pull/742) Adds support for the CPU provider to limit the CPU usage to 100% for each thread
34
+
*[#750](https://github.com/Icinga/icinga-powershell-framework/pull/750) Reworks the internal handling on how plugin thresholds are evaluated and the internal checker core, including on how performance metrics are generated
Exit-IcingaThrowException-CustomMessage ([string]::Format('Could not convert the provided threshold value {0} to a valid Icinga for Windows range',$RetValue.Raw)) -ExceptionType 'Input'-ExceptionThrown $IcingaExceptions.Inputs.InvalidThresholdValue-Force;
Exit-IcingaThrowException-CustomMessage ([string]::Format('Could not convert the provided threshold value {0} to a valid Icinga for Windows range',$RetValue.Raw)) -ExceptionType 'Input'-ExceptionThrown $IcingaExceptions.Inputs.InvalidThresholdValue-Force;
311
+
return$RetValue;
312
+
}
313
+
break;
314
+
};
315
+
$IcingaEnums.IcingaThresholdMethod.Lower {
316
+
$RetValue.Value=$ConvertedValue[0];
317
+
318
+
if ([string]::IsNullOrEmpty($RetValue.Value)) {
319
+
Exit-IcingaThrowException-CustomMessage ([string]::Format('Could not convert the provided threshold value {0} to a valid Icinga for Windows range',$RetValue.Raw)) -ExceptionType 'Input'-ExceptionThrown $IcingaExceptions.Inputs.InvalidThresholdValue-Force;
320
+
return$RetValue;
321
+
}
322
+
break;
323
+
};
324
+
$IcingaEnums.IcingaThresholdMethod.Greater {
325
+
$RetValue.Value=$ConvertedValue[1];
326
+
327
+
if ([string]::IsNullOrEmpty($RetValue.Value)) {
328
+
Exit-IcingaThrowException-CustomMessage ([string]::Format('Could not convert the provided threshold value {0} to a valid Icinga for Windows range',$RetValue.Raw)) -ExceptionType 'Input'-ExceptionThrown $IcingaExceptions.Inputs.InvalidThresholdValue-Force;
if ([string]::IsNullOrEmpty($RetValue.StartRange) -Or [string]::IsNullOrEmpty($RetValue.EndRange)) {
338
+
Exit-IcingaThrowException-CustomMessage ([string]::Format('Could not convert the provided threshold value {0} to a valid Icinga for Windows range',$RetValue.Raw)) -ExceptionType 'Input'-ExceptionThrown $IcingaExceptions.Inputs.InvalidThresholdValue-Force;
if ([string]::IsNullOrEmpty($RetValue.StartRange) -Or [string]::IsNullOrEmpty($RetValue.EndRange)) {
348
+
Exit-IcingaThrowException-CustomMessage ([string]::Format('Could not convert the provided threshold value {0} to a valid Icinga for Windows range', ($RetValue.Raw))) -ExceptionType 'Input'-ExceptionThrown $IcingaExceptions.Inputs.InvalidThresholdValue-Force;
349
+
return$RetValue;
350
+
}
351
+
break;
352
+
};
353
+
}
354
+
204
355
if ([string]::IsNullOrEmpty($Value) -eq$FALSE-And$Value.Contains(':') -eq$FALSE) {
0 commit comments