mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Changes Performance Counter category output
This commit is contained in:
parent
401d08f66f
commit
f899c6f010
2 changed files with 2 additions and 2 deletions
|
|
@ -53,5 +53,5 @@ function Show-IcingaPerformanceCounters()
|
|||
$counters.Add('error', $_.Exception.Message);
|
||||
}
|
||||
|
||||
return $counters;
|
||||
return $counters.Keys;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
function Get-IcingaMemoryPerformanceCounter()
|
||||
{
|
||||
$MemoryStart = (Show-IcingaPerformanceCounters -CounterCategory 'Memory').Keys;
|
||||
$MemoryStart = (Show-IcingaPerformanceCounters -CounterCategory 'Memory');
|
||||
$MemoryCounter = New-IcingaPerformanceCounterArray -Counter $MemoryStart;
|
||||
[hashtable]$Result = @{};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue