Commit graph

14 commits

Author SHA1 Message Date
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
Lord Hepipud
295fa00b12 Reworks handling on how plugin thresholds are interpreted 2024-08-29 14:53:37 +02:00
LordHepipud
a2294b3ce4 Fixes repository error handling and JSON error handling 2024-04-09 18:02:27 +02:00
Lord Hepipud
807fd285e0 Fixes missing environment service information on some systems 2024-04-02 20:51:56 +02:00
Lord Hepipud
cd4bc7a01d Adds new command to test the functionality of Icinga for Windows 2024-03-25 19:19:53 +01:00
Lord Hepipud
867c1cb995 Adds new feature to write documents easier 2023-07-27 16:19:10 +02:00
Lord Hepipud
ada2b4ce0e Fixes recursive loop on first loading of Framework 2023-05-09 12:57:40 +02:00
Lord Hepipud
8df5ab35bb Adds developer mode to prevent cache overwrite 2022-05-24 14:00:59 +02:00
Lord Hepipud
9a2e793be8 Fix GC collection on every REST connection 2022-04-06 13:59:31 +02:00
Lord Hepipud
e4ddbea4d6 Adds feature to detect frozen threads 2022-03-18 22:54:43 +01:00
Lord Hepipud
cf52e6372e Fixes progress status writer by reworking 2022-01-27 15:34:17 +01:00
Lord Hepipud
f6cf9492e5 Moves PerformanceCounter to private space 2022-01-25 11:26:51 +01:00
Lord Hepipud
a23a40b23f Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
Lord Hepipud
32c4541397 Improves testing if Add-Type is already loaded 2021-11-25 13:12:57 +01:00