Commit graph

2095 commits

Author SHA1 Message Date
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
Lord Hepipud
a9d79019ae Fixes test commands failing because wrong assigned service data 2025-01-31 15:04:42 +01:00
Lord Hepipud
aec0bc7c49
Merge pull request #777 from Icinga:fix/fixes_link_to_mot_for_plugin_documentation
Fix: Docs creation for MoT handling with -ThresholdInterval argument
2025-01-30 17:33:28 +01:00
Lord Hepipud
ac78932d77 Fixes doc creation for MoT handling 2025-01-30 17:32:24 +01:00
Lord Hepipud
a2858f173e Updates master to v1.14.0 2025-01-30 17:26:50 +01:00
Lord Hepipud
d0fc13a8f0 Updates changelog 2025-01-30 17:24:37 +01:00
Angel Roman
9907cc8e8e
Update GetWindowsService.ps1 (#751)
* Update GetWindowsService.ps1

Instead of repeatedly accessing $SvcData."$ServiceName", store the object in a local variable for better readability.

* Update GetWindowsService.ps1

Fixes code styling

---------

Co-authored-by: Lord Hepipud <contact@lordhepipud.de>
2025-01-30 16:48:34 +01:00
Lord Hepipud
af1e5b7293 Adds Windows 2025 support and updates copyright year 2025-01-30 16:31:28 +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
0fc5d5e4c9
Merge pull request #757 from Icinga:feature/adds_new_cmdlets_for_start_stop_icinga
Feature: Adds new start and stop Cmdlets for Icinga

Adds new Cmdlets `Start-Icinga`, `Stop-Icinga`, `Start-IcingaForWindows` and `Stop-IcingaForWindows` in addition to the existing Cmdlets `Restart-Icinga` and `Restart-IcingaForWindows`
2024-09-19 12:27:54 +02:00
Lord Hepipud
7aebc65b49 Adds new start and stop Cmdlets for Icinga 2024-09-19 12:27:06 +02:00
Lord Hepipud
f735362282
Merge pull request #756 from Icinga:feature/set_ifw_process_to_below_normal
Feature: Sets Icinga for Windows processes to BelowNormal

Adds feature to set process priority for Icinga for Windows to BelowNormal for improved Host performance
2024-09-19 12:16:31 +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
4f811bc4d3
Merge pull request #755 from Icinga:fix/cpu_values_exceeding_proper_range
Fix: CPU performance data exceeding 150%

Fixes CPU and other performance data metrics to report proper values
2024-09-19 11:14:26 +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
935e5ddf6f
Merge pull request #752 from Icinga:fix/windowseventlog_writer_exception_for_no_agent
Fix: Icinga Agent exception for windowseventlog feature
2024-09-12 11:56:26 +02:00