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
Copy file name to clipboardExpand all lines: doc/100-General/10-Changelog.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
15
15
16
16
### Bugfixes
17
17
18
+
*[#753](https://github.com/Icinga/icinga-powershell-framework/issues/753) Fixes Icinga for Windows config compiler to always use `Switchparameter` for `switch` data types, in case the documentation is not written properly for the plugin
18
19
*[#781](https://github.com/Icinga/icinga-powershell-framework/issues/781) Fixes Icinga for Windows being stuck during installation while fetching service information over CIM-Instances, if other services are frozen, blocking the CIM-Request
19
20
*[#784](https://github.com/Icinga/icinga-powershell-framework/issues/784) Fixes Icinga for Windows threshold comparison which wrongly compared warning/critical thresholds for non-range values (like Match)
20
21
*[#785](https://github.com/Icinga/icinga-powershell-framework/issues/785) Fixes Icinga for Windows freezing during loading in case the `config.json` is empty
Write-IcingaConsoleError'The generated custom variable name for the argument "{0}" and plugin "{1}" is too long. Custom variables are generated by combining the check function name, the datatype of the argument as well as the argument name itself. Please shorten your argument name and/or the check function name. The maximum size of generated custom variables is 64 digits. Current argument size: "{2}", generated custom variable name: "{3}"'-Objects $parameter.Name,$check, ($IcingaCustomVariable.Length-2),$IcingaCustomVariable.Replace('$','');
@@ -245,7 +251,7 @@ function Get-IcingaCheckCommandConfig()
245
251
}
246
252
247
253
# Add arguments to a given command
248
-
if ($parameter.type.name-eq'SwitchParameter') {
254
+
if ($parameter.type.name-eq'SwitchParameter'-Or$parameter.type.name-eq'Switch') {
249
255
$Basket.Command[$check].arguments.Add(
250
256
[string]::Format('-{0}',$parameter.Name),@{
251
257
'set_if'=$IcingaCustomVariable;
@@ -317,7 +323,7 @@ function Get-IcingaCheckCommandConfig()
317
323
);
318
324
}
319
325
320
-
if ($parameter.type.name-eq'SwitchParameter') {
326
+
if ($parameter.type.name-eq'SwitchParameter'-Or$parameter.type.name-eq'Switch') {
0 commit comments