mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2026-03-22 02:20:04 -04:00
Fixes process provider which could throw an exception for integer overflow on memory usage
This commit is contained in:
parent
7148bbc063
commit
9b979bb589
2 changed files with 2 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
|
|||
### Bugfixes
|
||||
|
||||
* [#861](https://github.com/Icinga/icinga-powershell-framework/pull/861) Fixes `Update-IcingaWindowsUserPermission` to ensure permissions for logon as service are granted for non-managed users, while the removal process and any logon deny rights are never touched to not break possible third-party software and manually user configuration for those users
|
||||
* [#864](https://github.com/Icinga/icinga-powershell-framework/pull/864) Fixes process provider which could throw an exception for integer overflow on memory usage
|
||||
|
||||
## 1.14.1 (2026-02-11)
|
||||
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ function Get-IcingaProviderDataValuesProcess()
|
|||
} else {
|
||||
[string]$MEMProcessName = $TopMEMUsage.Key.Split('|')[0];
|
||||
[int]$MEPProcessId = $TopMEMUsage.Key.Split('|')[1];
|
||||
[int]$MemoryUsage = $TopMEMUsage.Value;
|
||||
[decimal]$MemoryUsage = $TopMEMUsage.Value;
|
||||
}
|
||||
|
||||
if ($TopMEMUsage.Value[$IterationIndex] -gt 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue