icinga-powershell-framework/lib/core/framework
Lord Hepipud f5d9ac943c
Adds improved handling for Metrics over Time (#772)
This adds new and improved handling for Metrics over Time.

The overall execution time for the background tasks has been reduced, while also the memory management is way more efficient.

In addition to the improved core handling of the feature, performance metrics for metrics over time will NO LONGER BE WRITTEN.

This will increase the performance of the graphing solutions like InfluxDB a lot, while the monitoring by using the "-ThresholdInterval" argument is still possible.

```powershell
PS> Invoke-IcingaCheckCPU -Warning '5%' -ThresholdInterval '10m';
[WARNING] CPU Load [WARNING] Overall Load, Socket #0
\_ [WARNING] Overall Load: Value 6.546175% is greater than threshold 5% (10m Avg.) 
\_ [WARNING] Socket #0 
     \_ [WARNING] Core 0: Value 18.391566% is greater than threshold 5% (10m Avg.) 
     \_ [WARNING] Core 1: Value 14.100505% is greater than threshold 5% (10m Avg.)
     \_ [WARNING] Core Total: Value 6.546175% is greater than threshold 5% (10m Avg.)
| totalload::ifw_cpu::load=5.804053;5;;0;100 0_0::ifw_cpu::load=18.03764;5;;0;100 0_1::ifw_cpu::load=9.36611;5;;0;100 0_2::ifw_cpu::load=5.830669;5;;0;100 0_3::ifw_cpu::load=0.646737;5;;0;100 0_4::ifw_cpu::load=0.926955;5;;0;100 0_5::ifw_cpu::load=0.016205;5;;0;100 0_total::ifw_cpu::load=5.804053;5;;0;100
```
2025-01-29 14:45:53 +01:00
..
Clear-IcingaCheckSchedulerCheckData.psm1 Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
Clear-IcingaCheckSchedulerEnvironment.psm1 Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
Copy-ItemSecure.psm1 Replaces Write-Host calls with custom console writes 2020-05-13 16:53:15 +02:00
Disable-IcingaFrameworkApiChecks.psm1 Remove experimental for API Checks and module note 2022-01-14 20:53:16 +01:00
Disable-IcingaFrameworkConsoleOutput.psm1 Adds experimental Feature "Management Console" 2021-03-01 11:15:21 +01:00
Disable-IcingaFrameworkDebugMode.psm1 Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
Enable-IcingaFrameworkApiChecks.psm1 Remove experimental for API Checks and module note 2022-01-14 20:53:16 +01:00
Enable-IcingaFrameworkConsoleOutput.psm1 Adds experimental Feature "Management Console" 2021-03-01 11:15:21 +01:00
Enable-IcingaFrameworkDebugMode.psm1 Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
Expand-IcingaZipArchive.psm1 Replaces Write-Host calls with custom console writes 2020-05-13 16:53:15 +02:00
Get-IcingaCheckSchedulerCheckData.psm1 Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
Get-IcingaCheckSchedulerPerfData.psm1 Reworks handling on how plugin thresholds are interpreted 2024-08-29 14:53:37 +02:00
Get-IcingaCheckSchedulerPluginOutput.psm1 Rewrite PerfData Labels for multi output 2022-08-24 16:26:27 +02:00
Get-IcingaFrameworkApiChecks.psm1 Remove experimental for API Checks and module note 2022-01-14 20:53:16 +01:00
Get-IcingaFrameworkDebugMode.psm1 Fixes various code stylings, whitespaces, line handling, and so on 2020-08-04 14:48:32 +02:00
Get-IcingaFrameworkServiceBinary.psm1 Adds experimental Feature "Management Console" 2021-03-01 11:15:21 +01:00
Get-IcingaPowerShellModuleArchive.psm1 Fixes exceptions while removing tmp repo download 2022-02-15 14:40:48 +01:00
Get-IcingaPowerShellModuleVersion.psm1 Fixes version fetching for unloaded modules 2020-11-02 12:58:54 +01:00
Get-IcingaPrivateEnvironmentVariable.psm1 Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
Get-IcingaTimer.psm1 Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
Install-IcingaForWindowsService.psm1 Adds new start and stop Cmdlets for Icinga 2024-09-19 12:27:06 +02:00
Install-IcingaFrameworkComponent.psm1 Fixes errors on encapsulated PowerShell calls 2022-06-08 16:48:19 +02:00
Install-IcingaFrameworkPlugins.psm1 Fixes various code stylings, whitespaces, line handling, and so on 2020-08-04 14:48:32 +02:00
Install-IcingaFrameworkUpdate.psm1 Adds new start and stop Cmdlets for Icinga 2024-09-19 12:27:06 +02:00
Invoke-IcingaForWindowsMigration.psm1 Adds new start and stop Cmdlets for Icinga 2024-09-19 12:27:06 +02:00
Invoke-IcingaInternalServiceCall.psm1 Reworks handling on how plugin thresholds are interpreted 2024-08-29 14:53:37 +02:00
Invoke-IcingaNamespaceCmdlets.psm1 Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
New-IcingaEnvironmentVariable.psm1 Adds improved handling for Metrics over Time (#772) 2025-01-29 14:45:53 +01:00
Publish-IcingaPluginConfiguration.psm1 Fixes lots of code styling, spelling and script analyzer 2022-01-14 22:26:53 +01:00
Publish-IcingaPluginDocumentation.psm1 Adds feature to use pipes and multi lines for plugin documentation 2024-03-22 12:10:42 +01:00
Read-IcingaForWindowsLog.psm1 Adds filtering options for EventLog parser 2022-08-27 20:40:20 +02:00
Read-IcingaWindowsEventLog.psm1 Fixes memory leak in EventLog fetcher 2023-11-15 14:33:46 +01:00
Remove-ItemSecure.psm1 Fixes exceptions while removing tmp repo download 2022-02-15 14:40:48 +01:00
Restart-IcingaService.psm1 Fixes errors on encapsulated PowerShell calls 2022-06-08 16:48:19 +02:00
Set-IcingaForWindowsMigration.psm1 Moves IfW EventLog out of Application log 2022-01-21 18:40:32 +01:00
Set-IcingaPrivateEnvironmentVariable.psm1 Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
Show-IcingaTimer.psm1 Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
Start-IcingaService.psm1 Fixes errors on encapsulated PowerShell calls 2022-06-08 16:48:19 +02:00
Start-IcingaTimer.psm1 Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
Stop-IcingaService.psm1 Fixes errors on encapsulated PowerShell calls 2022-06-08 16:48:19 +02:00
Stop-IcingaTimer.psm1 Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
Test-IcingaForWindowsMigration.psm1 Fixes the framework migration error on multi framework installation 2023-05-26 14:09:31 +02:00
Test-IcingaForWindowsService.psm1 Fixes scheduled task user to use LocalSystem instead of anything else 2024-04-02 21:55:39 +02:00
Test-IcingaFrameworkConsoleOutput.psm1 Adds experimental Feature "Management Console" 2021-03-01 11:15:21 +01:00
Test-IcingaTimer.psm1 Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
Test-IcingaZipBinaryChecksum.psm1 Adds support for JEA profiles 2021-09-02 09:23:10 +02:00
Unblock-IcingaPowerShellFiles.psm1 Fixes various code stylings, whitespaces, line handling, and so on 2020-08-04 14:48:32 +02:00
Uninstall-IcingaForWindows.psm1 Adds new command to test the functionality of Icinga for Windows 2024-03-25 19:19:53 +01:00
Uninstall-IcingaForWindowsService.psm1 Adds new start and stop Cmdlets for Icinga 2024-09-19 12:27:06 +02:00
Uninstall-IcingaFrameworkComponent.psm1 Fix Framework root folder lookup 2021-06-01 17:12:47 +02:00