Commit graph

154 commits

Author SHA1 Message Date
Lord Hepipud
25083d6360 Fixes issues on checker component for new INFO state, perf data writer for locked components and missing message output values on locked objects 2025-12-29 15:31:22 +01:00
Lord Hepipud
3bf61237f1 Fixes notice packages to not return unknown and properly report if no entries were found 2025-12-29 11:24:24 +01:00
Lord Hepipud
97f2cb8c11 Adds new [INFO] state for Icinga check and checkpage objects 2025-12-15 16:50:19 +01:00
Lord Hepipud
d68be2674c Fixes AddSummaryHeader not adding any check information to check package 2025-04-24 08:16:33 +02:00
Lord Hepipud
bbb950a3ae Fixes threshold comparison to only apply for ranged values 2025-04-22 13:47:53 +02:00
Lord Hepipud
f2f935ff90
Merge pull request #799 from Icinga:fix/icinga_check_value_conversion_incorrect
Fix: Wrong performance data values on unit conversion

Fixes an issue with the new check handling, which did not properly convert values from checks to the correct performance data values and base values in some cases
2025-04-22 09:46:49 +02:00
Lord Hepipud
f75f873a2c Fixes MetricsOverTime reporting unknown for checks which do not write performance data (like process plugin) 2025-04-10 16:37:49 +02:00
Lord Hepipud
63c6c8e710 Fixes input value conversion for New-IcingaCheck to properly handling different unit types 2025-04-10 10:21:03 +02:00
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
c70da2a2a8 Fixes performance counter results sometimes reporting null instead of 0 2024-08-30 10:36:05 +02:00
Lord Hepipud
295fa00b12 Reworks handling on how plugin thresholds are interpreted 2024-08-29 14:53:37 +02:00
Lord Hepipud
0ca3ed5029 Fixes service provider for brackets in service names 2024-08-15 15:07:46 +02:00
Lord Hepipud
307a57a5bf Adds feature to check Eventlog for problem and acknowleding events 2024-08-14 16:28:06 +02:00
Lord Hepipud
0c83f7a70b Adds support for check objects not being added to summary header 2024-03-13 17:38:42 +01:00
Lord Hepipud
96b1389943 Fixes null value exceptions on checks with units 2024-02-12 11:28:01 +01:00
Lord Hepipud
c3d3627634 Various memory leak fixes and improvements 2024-02-02 10:48:09 +01:00
Lord Hepipud
7d59af9a58 Fixes Clear-Host throwing exceptions during automation tasks 2023-08-01 13:17:11 +02:00
Lord Hepipud
438bd86985 Improves error/exception handling 2023-07-24 17:37:41 +02:00
LordHepipud
fa79477790 Fixes error and exception handling over API checks 2023-07-19 17:48:21 +02:00
Lord Hepipud
50d9110d3c Adds new exception message for Windows auth 2023-05-26 17:45:39 +02:00
Lord Hepipud
c065a0330b Fixes ThresholdInterval key detection on newer systems 2023-05-12 11:13:17 +02:00
Lord Hepipud
108dceb326 Adds feature to securely read enum provider values 2023-05-08 11:17:48 +02:00
Lord Hepipud
2d40564a52 Fixes PerfData writer in JEA context without REST-Api 2022-08-26 22:38:09 +02:00
Lord Hepipud
4c5eeaf50b
Merge pull request #550 from Icinga:fix/negative_thresholds_interpreted_as_argument
Fix: Negative thresholds interpreted as argument

Fixes negative thresholds being interpreted wrongly as argument instead of an value for an argument
2022-08-24 16:50:28 +02:00
Lord Hepipud
95be5982bd
Merge pull request #526 from Icinga:feature/new_perfdata_handling
Feature: Rewrite PerfData Labels for multi output

Performance data should be created with some more adjustments to ensure we can properly create graphcs by using InfluxDB and Grafana as example
2022-08-24 16:33:27 +02:00
Lord Hepipud
ae01dbeb0a Rewrite PerfData Labels for multi output 2022-08-24 16:26:27 +02:00
Lord Hepipud
4100e05e84 Fixes error argument does not support percent unit 2022-08-23 11:40:58 +02:00
Lord Hepipud
8c5f9b5f21 Fixes negative thresholds interpreted as argument 2022-08-22 17:15:25 +02:00
Lord Hepipud
787500c452 Fixes UTF8 encoding for plugin execution 2022-08-17 17:13:00 +02:00
Lord Hepipud
e0fc3e52e2 Adds support for check_by_icingaforwindows.ps1 2022-01-28 23:31:23 +01:00
Lord Hepipud
210862e683 Fixes JEA error on no modules installed and output 2022-01-27 21:59:38 +01:00
Lord Hepipud
a23a40b23f Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
Lord Hepipud
bfd0237256 Fixes thershold interval time conversion 2021-11-03 17:23:42 +01:00
Lord Hepipud
da9819de14 Fixes module not loaded exception 2021-10-27 11:01:00 +02:00
Lord Hepipud
d59bed6595 Fixes plain plugin cmdlet execution on shell 2021-09-06 15:32:22 +02:00
Lord Hepipud
7614944068 Fixes compare function in Windows 2012 R2 2021-09-03 21:49:29 +02:00
Lord Hepipud
eb8ea9a497 Adds support for JEA profiles 2021-09-02 09:23:10 +02:00
Lord Hepipud
037ccf86aa Improves debug output on TCP handling 2021-08-20 13:55:57 +02:00
Lord Hepipud
e3c9396c59 Fix module import on non PS folders 2021-08-17 09:30:42 +02:00
Lord Hepipud
3afbce090e Adds array thresholds and date time support 2021-08-13 16:54:32 +02:00
Lord Hepipud
77de5485a1 Removes password on secure.string exceptions 2021-07-16 13:15:21 +02:00
Lord Hepipud
2268d9658c Adds critical exception cmdlet and exit code catch 2021-07-16 11:47:00 +02:00
Lord Hepipud
0a09c4f388 Fixes null exception on GetBaseThresholdArguments 2021-07-05 17:50:37 +02:00
Lord Hepipud
9f423d060f Fixes service daemon not working with arguments 2021-07-01 15:41:15 +02:00
Lord Hepipud
0ca98758fc Fixes input value decimal conversion 2021-06-04 13:25:27 +02:00
Lord Hepipud
7039cec560 Fixes string build creation on old windows systems 2021-06-04 13:21:26 +02:00
Lord Hepipud
2009fa9340 Fixes StackOverflowException 2021-05-31 18:55:40 +02:00
Lord Hepipud
16d2677c4f Fixes array handling for checks 2021-05-31 17:51:13 +02:00
Lord Hepipud
e840d81148 Ensure numbers are printed as numeric with . 2021-05-31 15:58:42 +02:00
Lord Hepipud
eb81a12963 Fix double colon if added by check 2021-05-31 15:39:52 +02:00