Commit graph

2116 commits

Author SHA1 Message Date
Lord Hepipud
ff4a0b2bbc
Merge pull request #841 from Icinga:feature/adds_new_type_info_for_checks_and_packages
Feature: Adds new [INFO] state for notice and un-checked monitoring objects

Adds new [INFO] state for `New-IcingaCheck` and `New-IcingaCheckPackage`, to allow the printing of simple informational objects as well as telling the user, which objects are currently actively checked by the plugin engine.

```powershell
icinga> Invoke-IcingaCheckCPU -Verbosity 3;

[INFO] CPU Load (All must be [OK])
\_ [INFO] Overall Load: 8.714580%
\_ [INFO] Socket #0 (All must be [OK])
   \_ [INFO] Core 0: 22.63846%
   \_ [INFO] Core 1: 11.04723%
   \_ [INFO] Core 2: 0.672020%
   \_ [INFO] Core 3: 0.500612%
   \_ [INFO] Core Total: 8.714580%
| totalload::ifw_cpu::load=8.714580%;;;0;100 0_0::ifw_cpu::load=22.63846%;;;0;100 0_1::ifw_cpu::load=11.04723%;;;0;100 0_2::ifw_cpu::load=0.672020%;;;0;100 0_3::ifw_cpu::load=0.500612%;;;0;100 0_total::ifw_cpu::load=8.714580%;;;0;100
```


```powershell
icinga> Invoke-IcingaCheckProcess -Verbosity 3 -Process  WmiApSrv -MemoryWarning '1MB' -PageFileWarning '1KiB';

[WARNING] Process Overview: 1 Warning [WARNING] WmiApSrv (All must be [OK])
\_ [WARNING] WmiApSrv (All must be [OK])
   \_ [WARNING] WmiApSrv [16476] (All must be [OK])
      \_ [INFO] CPU Usage: 0%
      \_ [WARNING] Memory Usage: Value 1.67MiB is greater than threshold 976.56KiB
      \_ [INFO] Page File Usage: 2.30KiB
      \_ [INFO] Thread Count: 5c
   \_ [INFO] WmiApSrv Summary (All must be [OK])
      \_ [INFO] CPU Usage: 0%
      \_ [INFO] Memory Usage: 1.67MiB
      \_ [INFO] Page File Usage: 2.30KiB
      \_ [INFO] Process Count: 1c
      \_ [INFO] Thread Count: 5c
| wmiapsrv::ifw_process::cpu=0%;;;0;100 wmiapsrv::ifw_process::memory=1748992B;;;0;8583315000 wmiapsrv::ifw_process::pagefile=2352B;;;0;34359740000 wmiapsrv::ifw_process::count=1c;;;; wmiapsrv::ifw_process::threads=5c;;;;
```
2025-12-15 16:54:32 +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
ad59bb9a3a
Merge pull request #828 from Icinga:feature/adds_cache_update_for_performance_counters
Feature: Adds caching update for added/removed performance counter instances

Adds feature to update the cache for performance counter instances to keep track of system changes.

This will ensure that while we are running as a daemon with Icinga for Windows, newly added or removed information for performance counters will be updated whenever required.
2025-11-20 15:52:31 +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
93ac71922f
Merge pull request #839 from Icinga:fix/agent_installation_lookup_for_missing_attribute
Fix: Icinga Agent installation lookup on missing registry attributes

Fixes registry lookup for Icinga Agent installation to check if the required `DisplayName` attribute is defined before checking
2025-11-20 15:48:30 +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
72be26f129
Merge pull request #838 from Icinga:fix/ensure_ifw_never_loads_user_profiles
Fix: Never load user PowerShell profiles

To enhance compatibility and reduce the overall impact during certain tasks run by Icinga for Windows, ensure we never load any user PowerShell profiles
2025-11-19 09:57:47 +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
0c72fdafdd
Merge pull request #837 from Icinga:fix/metrics_over_time_on_windows_2012
Fix: Metrics over Time on Windows 2012 R2 and older

Fixes Metrics over Time on Windows 2012 R2 and older caused by thread pooling issues
2025-11-19 09:39:47 +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
7276d43ac2
Merge pull request #835 from Icinga:fix/ensure_jea_always_rebuild_framework
Fix: JEA compiler to always force a framework rebuild on update

Fixes JEA compiler to always enforce a rebuild of the Framework to ensure integrity of JEA profiles
2025-11-13 18:32:49 +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
507575c5a9 Sets release date for v1.13.3 2025-05-08 14:19:44 +02:00
Lord Hepipud
7ae4fb40ad
Merge pull request #812 from Icinga:feature/ensure_icinga_services_are_set_to_delayed_auto_start
Feauture: Adds support to ensure Icinga services are always set to delayed auto start

Adds new Cmdlet `Set-IcingaForWindowsServicesDelayedStart` which will update the Icinga Agent and Icinga for Windows service to run with delayed autostart
2025-04-25 16:19:16 +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
0ff9286d0c
Merge pull request #811 from Icinga:fix/add_summary_header_for_check_compiler_not_adding_check_details
Fix: AddSummaryHeader not adding any check information to check package

Fixes plugin compiler not handling `AddSummaryHeader` properly for nested check packages, not adding any check information

```powershell
[WARNING] CPU Load [WARNING] Socket #0 (All must be [OK])
\_ [OK] Overall Load: 8.283808%
\_ [WARNING] Socket #0: 2 Warning 3 Ok [WARNING] Core 0, Core 2 (All must be [OK])
   \_ [WARNING] Core 0: Value 18.86168% is greater than threshold 9%
   \_ [OK] Core 1: 4.852731%
   \_ [WARNING] Core 2: Value 9.340026% is greater than threshold 9%
   \_ [OK] Core 3: 0.080795%
   \_ [OK] Core Total: 8.283808%
| totalload::ifw_cpu::load=8.283808%;9;;0;100 0_0::ifw_cpu::load=18.86168%;9;;0;100 0_1::ifw_cpu::load=4.852731%;9;;0;100 0_2::ifw_cpu::load=9.340026%;9;;0;100 0_3::ifw_cpu::load=0.080795%;9;;0;100 0_total::ifw_cpu::load=8.283808%;9;;0;100
```
2025-04-24 08:17:51 +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
647cedbdf4
Merge pull request #810 from Icinga:feature/adds_supress_messages_to_disable_untrusted_certificates
Feature: Adds support to suppress messages for Disable-IcingaUntrustedCertificateValidation

Adds support to suppress messages for Disable-IcingaUntrustedCertificateValidation
2025-04-23 12:38:55 +02:00
Lord Hepipud
650db57496 Adds support to suppress messages for Disable-IcingaUntrustedCertificateValidation 2025-04-23 12:38:29 +02:00
Lord Hepipud
c39ea59986
Merge pull request #808 from Icinga:fix/config_compiler_always_using_switchparameter
Fix: Config compiler to always use Switchparameter for switch argument

Fixes Icinga for Windows config compiler to always use `Switchparameter` for `switch` data types, in case the documentation is not written properly for the plugin
2025-04-22 15:32:31 +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
6c5a439808 Fixes broken Framework cache 2025-04-22 14:51:34 +02:00
Lord Hepipud
9beba0e854
Merge pull request #807 from Icinga:fix/ifw_freezes_for_services_blocking_cim_requests
Fix: Icinga for Windows being stuck while fetching service information if other services block CIM requests

Fixes Icinga for Windows being stuck during installation while fetching service information over CIM-Instances, if other services are frozen, blocking the CIM-Request
2025-04-22 14:47:30 +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
fa7e729308
Merge pull request #806 from Icinga:fix/threshold_comparison_for_non-range_arguments
Fix: Threshold comparison to only apply for ranged values

Fixes Icinga for Windows threshold comparison which wrongly compared warning/critical thresholds for non-range values (like Match)
2025-04-22 13:48:36 +02:00
Lord Hepipud
bbb950a3ae Fixes threshold comparison to only apply for ranged values 2025-04-22 13:47:53 +02:00
Lord Hepipud
bf30c1a9ed
Merge pull request #805 from Icinga:fix/force_service_install_on_wizard
Fix: Icinga for Windows installer to always force service installation

Fixes Icinga for Windows installer to always force the installation of the service, to ensure it is present
2025-04-22 13:22:26 +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
b127f5ced3
Merge pull request #804 from Icinga:fix/ifw_free_on_empty_config
Fix: Icinga for Windows freezing on empty config.json

Fixes Icinga for Windows freezing during loading in case the `config.json` is empty
2025-04-22 12:05:33 +02:00
Lord Hepipud
98de20725e Fixes Icinga for Windows freezing on empty config.json 2025-04-22 12:04:41 +02:00
Lord Hepipud
6169f1170d
Merge pull request #803 from Icinga:fix/unknown_on_new_mot_checks
Fix: UNKNOWN on checks using MoT thresholds if they are newly registered

Fixes plugins throwing `UNKNOWN` in case `-TresholdInterval` is used for Metrics over Time, when checks are newly registered and checked, before the first MoT is executed and collected
2025-04-22 11:38:24 +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
94c4288fc0
Merge pull request #802 from theFeu/patch-1
Change broken icinga.com/blog links to GitHub release links
2025-04-14 15:30:54 +02:00
Feu Mourek
b346368814
Change broken icinga.com/blog links to GitHub release links 2025-04-11 15:32:37 +02:00
Lord Hepipud
8cc5cc645c
Merge pull request #801 from Icinga:docs/update_documentation
Docs: Updates documentation
2025-04-11 12:09:48 +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
b35f0a77b9
Merge pull request #787 from Icinga:fix/return_value_on_agent_install_failure
Fix: Return value for "Agent" component installation failure

Fixes the return value in case the `Agent` component could not be installed from `$FALSE` to `null`
2025-02-07 17:33:59 +01:00
Lord Hepipud
6b61ab15a9 Updates changelog 2025-02-07 17:33:30 +01:00
Lord Hepipud
eed1efad21 Fixes return value for "Agent" component installation failure 2025-02-07 17:31:44 +01:00
Lord Hepipud
deeec5b91b
Merge pull request #782 from Icinga:fix/ifw_service_installation_failure
Fix: IfW service installation on certain Windows environment

Fixes Icinga for Windows service installation not working properly on certain Windows environments
2025-02-03 12:39:27 +01:00
Lord Hepipud
2263c817dd Fixes IfW service installation on certain Windows environment 2025-02-03 12:37:37 +01:00
Lord Hepipud
fe10fe3755
Merge pull request #779 from Icinga:fix/test_commands_fails_because_of_missing_service_data
Fix: Test commands failing because wrong assigned service data

Fixes test commands like `Test-IcingaForWindows` failing because of wrong assigned ServiceData information.
2025-01-31 15:06:44 +01:00