Commit graph

1130 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
f24483c4b2 Adds migration tasks for v1.14 for updating permissions 2025-12-23 17:31:27 +01:00
Lord Hepipud
aa62b66fd8 Fixes security catalog compilation on non-english Windows versions 2025-12-23 17:25:23 +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
4051239d0f Adds feature to update the cache for performance counter instances to keep track of system changes 2025-11-20 15:51:21 +01:00
Lord Hepipud
a19728f736 Fixes Icinga Agent installation lookup on missing registiyr attributes 2025-11-20 15:47:32 +01:00
Lord Hepipud
c92c0eb410
Merge pull request #829 from Icinga:fix/clearcache
Fix(lib/core): Allow Cache-Key deletion with NULL

Allows to delete Cache Entries. Usage `Set-IcingaCacheData -KeyName Key -Value $NULL`
2025-11-20 08:35:22 +01:00
Lord Hepipud
44d66a9a54 Fixes Icinga for Windows to never load custom user profiles 2025-11-19 09:49:29 +01:00
Lord Hepipud
80b8d7e2f8 Fixes Metrics over Time on Windows 2012 R2 and older 2025-11-14 14:11:50 +01:00
Lord Hepipud
d2bc75c6f4 Fixes JEA compiler to always force a framework rebuild on update 2025-11-13 18:31:16 +01:00
Fabian Thomys
44700e4bd2 fix(lib/core): Allow Cache-Key deletion with NULL 2025-09-16 13:58:01 +02:00
Lord Hepipud
854ef78f91
Fix: Improved security for random character generator (#814)
Fixes random chars function to truly generate unpredictable character sequences and to replace `Get-Random` which is not entirely secure
2025-06-16 14:14:05 +02:00
Lord Hepipud
440a04659c
Fix: Possible crash on assembly fetching for third party assemblies (#815)
* Fixes possible crash on assembly fetching for third party assemblies

* Updates Changelog
2025-06-16 13:34:05 +02:00
Lord Hepipud
2c76237409 Adds support to ensure Icinga services are always set to delayed auto start 2025-04-25 16:14:49 +02:00
Lord Hepipud
d68be2674c Fixes AddSummaryHeader not adding any check information to check package 2025-04-24 08:16:33 +02:00
Lord Hepipud
650db57496 Adds support to suppress messages for Disable-IcingaUntrustedCertificateValidation 2025-04-23 12:38:29 +02:00
Lord Hepipud
3cd4f0d1d6 Fixes config compiler to always use Switchparameter for switch argument 2025-04-22 15:31:40 +02:00
Lord Hepipud
aa5c06bbd6 Fixes Icinga for Windows being stuck while fetching service information if other services block CIM requests 2025-04-22 14:46:41 +02:00
Lord Hepipud
bbb950a3ae Fixes threshold comparison to only apply for ranged values 2025-04-22 13:47:53 +02:00
Lord Hepipud
f404131228 Fixes Icinga for Windows installer to always force service installation 2025-04-22 13:21:35 +02:00
Lord Hepipud
98de20725e Fixes Icinga for Windows freezing on empty config.json 2025-04-22 12:04:41 +02:00
Lord Hepipud
38461f755a Fixes UNKNOWN on checks using MoT thresholds if they are newly registered 2025-04-22 11:34:04 +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
10c7bd507c
Merge pull request #800 from Icinga:fix/fixes_metrics_over_time_unknown_for_noperfdata_checks
Fix MetricsOverTime reporting unknown for checks which do not write performance data

Fixes an issue for certain plugins, like `Invoke-IcingaCheckProcess`, which reports unknown if MetricsOverTime is used for checks that do not write performance data
2025-04-22 09:42:13 +02:00
Lord Hepipud
6bfab3bda1 Updates documentation 2025-04-11 12:09:21 +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
eed1efad21 Fixes return value for "Agent" component installation failure 2025-02-07 17:31:44 +01:00
Lord Hepipud
ac78932d77 Fixes doc creation for MoT handling 2025-01-30 17:32:24 +01:00
Lord Hepipud
2668e35436
Feature: Allow JEA-Session to update IfW process priority (#776)
* Improves JEA-Sessions by allowing the daemon to update the IfW process priority

* Adds changelog
2025-01-30 14:15:21 +01:00
Lord Hepipud
1c993bae1d
Improves service recover by adjustable restart time interval argument (#775)
Adds argument `-IntervalInSeconds` for `Enable-IcingaServiceRecovery` to allow setting a custom time interval for the service to restart, while setting the default to 120 seconds (2 minutes)
2025-01-29 15:45:01 +01:00
Lord Hepipud
ed0770e8ff
Fixes Ifw writing passwords to EventLog for failed command execution (#774)
Fixes EventLog error handling by no longer parsing command arguments to ensure passwords are not stored on the EventLog, unless the debug mode of Icinga for Windows is enable
2025-01-29 15:19:26 +01:00
Lord Hepipud
336b38dddd
Fix: REST-Api invoke command by removing CA certificate check (#773)
* Fixes REST-Api invoke command by removing CA certificate check

* Updates changelog
2025-01-29 15:10:35 +01: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
08bea53a76 Fixes broken provider filter 2025-01-27 09:38:45 +01:00
Lorenz Kästle
5c1f477926
Set maximum cache duration for service daemons to the right value (#759)
* Set maximum cache duration for service daemons to the right value

This commit sets the maximum duration for cached data for service
daemons to the proper amount.

Previously it was multiplied by 60, probably a typo from a time
when the assigned value was in minutes and not in seconds directly.

Therefore the value was 60 times to high which leads to a massive amount
of cached data which drags down the performance significantly.

* Updates changelog

---------

Co-authored-by: Lord Hepipud <contact@lordhepipud.de>
2025-01-24 16:48:22 +01:00
Lord Hepipud
7aebc65b49 Adds new start and stop Cmdlets for Icinga 2024-09-19 12:27:06 +02:00
Lord Hepipud
ea325acc00 Adds feature to set process priority for Icinga for Windows to BelowNormal for improved Host performance 2024-09-19 12:16:02 +02:00
Lord Hepipud
7ed60463a0 Fixes CPU and other performance data metrics to report proper values 2024-09-19 11:13:47 +02:00
Lord Hepipud
7077742709 Fixes an exception for the windowseventlog feature of the Agent, in case it is not installed 2024-09-12 11:54:49 +02: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
Alexander A. Klimov
4dbb128b2b REST API: in the Server header, identify the software, not the machine 2024-08-16 17:04:08 +02:00
Lord Hepipud
0ca3ed5029 Fixes service provider for brackets in service names 2024-08-15 15:07:46 +02:00
Lord Hepipud
e84b511912 Adds cmdlet Write-IcingaAgentEventLogConfig to update eventlog severity and defaults to warningduring installation and migration 2024-08-14 17:29:14 +02:00
Lord Hepipud
35d61ef2d9 Adds support to check encoding of files 2024-08-14 17:00:45 +02:00
Lord Hepipud
c95d7baa5e Adds support to authenticate with the Icinga for Windows certificate for the REST-Api 2024-08-14 16:56:33 +02:00
Lord Hepipud
f2343fb35d Adds option to CPU provider to limit thread usage to 100% 2024-08-14 16:49:22 +02:00
Lord Hepipud
307a57a5bf Adds feature to check Eventlog for problem and acknowleding events 2024-08-14 16:28:06 +02:00