icinga-powershell-framework/lib/core
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
..
cache Various memory leak fixes and improvements 2024-02-02 10:48:09 +01:00
dev Fixes unintended PS path change 2022-12-19 14:06:14 +01:00
docs Adds new feature to write documents easier 2023-07-27 16:19:10 +02:00
framework Adds improved handling for Metrics over Time (#772) 2025-01-29 14:45:53 +01:00
health/interceptcounter Adds IWKB and test/manage Cmdlets for SCOM intercept counters 2023-07-26 14:50:07 +02:00
icingaagent Fixes an exception for the windowseventlog feature of the Agent, in case it is not installed 2024-09-12 11:54:49 +02:00
installer Adds new start and stop Cmdlets for Icinga 2024-09-19 12:27:06 +02:00
jea Adds new start and stop Cmdlets for Icinga 2024-09-19 12:27:06 +02:00
logging Adds support to authenticate with the Icinga for Windows certificate for the REST-Api 2024-08-14 16:56:33 +02:00
perfcounter Fixes CPU and other performance data metrics to report proper values 2024-09-19 11:13:47 +02:00
progress Supresses error messages on progress status 2022-01-27 16:23:17 +01:00
repository Adds new start and stop Cmdlets for Icinga 2024-09-19 12:27:06 +02:00
thread Adds feature to detect frozen threads 2022-03-18 22:54:43 +01:00
tools Reworks handling on how plugin thresholds are interpreted 2024-08-29 14:53:37 +02:00
windows Adds new start and stop Cmdlets for Icinga 2024-09-19 12:27:06 +02:00
wintasks Adds feature to set process priority for Icinga for Windows to BelowNormal for improved Host performance 2024-09-19 12:16:02 +02:00