Commit graph

2079 commits

Author SHA1 Message Date
Lord Hepipud
f328837db8 Fixes config compiler to always use Switchparameter for switch argument 2025-04-22 15:32:47 +02:00
Lord Hepipud
702cf87076 Fixes broken Framework cache 2025-04-22 14:53:02 +02:00
Lord Hepipud
05e64dcbdd Fixes Icinga for Windows being stuck while fetching service information if other services block CIM requests 2025-04-22 14:52:56 +02:00
Lord Hepipud
824f21e62c Fixes threshold comparison to only apply for ranged values 2025-04-22 13:48:53 +02:00
Lord Hepipud
515cdb7ac9 Fixes Icinga for Windows installer to always force service installation 2025-04-22 13:22:43 +02:00
Lord Hepipud
4694d266aa Fixes Icinga for Windows freezing on empty config.json 2025-04-22 12:05:49 +02:00
Lord Hepipud
85ba898773 Fixes UNKNOWN on checks using MoT thresholds if they are newly registered 2025-04-22 11:38:42 +02:00
Lord Hepipud
78a17c7c03 Fixes input value conversion for New-IcingaCheck to properly handling different unit types 2025-04-22 09:48:56 +02:00
Lord Hepipud
098fac55bf Fixes MetricsOverTime reporting unknown for checks which do not write performance data (like process plugin) 2025-04-22 09:48:20 +02:00
Lord Hepipud
7c0d71c5ad Updates documentation 2025-04-11 12:10:12 +02:00
Lord Hepipud
cd60d12f15 Updates changelog 2025-02-07 17:37:03 +01:00
Lord Hepipud
32fbed7946 Fixes return value for "Agent" component installation failure 2025-02-07 17:35:25 +01:00
Lord Hepipud
f0b83a123f Sets version to v1.13.3 2025-02-03 12:42:09 +01:00
Lord Hepipud
8ed2c48d45 Fixes IfW service installation on certain Windows environment 2025-02-03 12:40:44 +01:00
Lord Hepipud
517c19e012 Updates branch to v1.13.2 2025-01-31 15:13:29 +01:00
Lord Hepipud
d9c1adc126 Sets version to 1.13.1 2025-01-31 15:10:01 +01:00
Lord Hepipud
3c46019bf4 Fixes test commands failing because wrong assigned service data 2025-01-31 15:08:06 +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
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
14193afa0b Updates changelog 2024-08-30 11:01:46 +02:00
Lord Hepipud
88ee35d159
Merge pull request #747 from Icinga:fix/performance_counter_null_values
Fix: Performance counter results sometimes reporting null instead of 0

Fixes an issue with performance counters, sometimes reporting empty values instead of at least 0
2024-08-30 10:39:16 +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
6b459185a7
Merge pull request #750 from Icinga:feature/rework_handling_for_processing_checks
Rework: Plugin and checker core handling for plugin evaluation

Reworks the internal handling on how plugin thresholds are evaluated and the internal checker core, including on how performance metrics are generated
2024-08-29 15:02:40 +02:00
Lord Hepipud
295fa00b12 Reworks handling on how plugin thresholds are interpreted 2024-08-29 14:53:37 +02:00
Lord Hepipud
5bbba96215
Merge pull request #743 from Al2Klimov/REST-Server-header
REST API: in the Server header, identify the software, not the machine
2024-08-19 10:16:20 +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
fa88a224d7
Merge pull request #748 from Icinga:doc/ikwb19
Doc: Adds IWKB000019 for RegexErrors
2024-08-16 11:38:50 +02:00
Lord Hepipud
45514f66af Doc: Adds IWKB000019 for RegexErrors 2024-08-16 11:38:25 +02:00
Lord Hepipud
7dce5547db
Merge pull request #745 from Icinga:fix/service_checks_not_possible_with_brackets_in_name
Fix: Service provider for brackets in service names

Fixes an issue for service provider with service names not interpreted correctly in case it contains `[]`
2024-08-15 15:16:15 +02:00
Lord Hepipud
0ca3ed5029 Fixes service provider for brackets in service names 2024-08-15 15:07:46 +02:00
Lord Hepipud
fad86f9493
Merge pull request #744 from Icinga:feature/allows_setting_windowseventlog_config_for_agent
Feature: Adds cmdlet `Write-IcingaAgentEventLogConfig` to update eventlog severity and defaults to `warning`during installation and migration

Adds cmdlet `Write-IcingaAgentEventLogConfig` to update eventlog severity and defaults to `warning`during installation and migration tasks while updating to Icinga for Windows v1.13.0
2024-08-14 17:35:15 +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
6ffc7b71f5
Merge pull request #739 from Icinga:fearture/adds_support_to_check_file_encoding
Feature: Adds support to check encoding of files

Adds support to check the encoding of files to ensure we can properly load them and throw errors for unsupported encoding
2024-08-14 17:01:18 +02:00
Lord Hepipud
35d61ef2d9 Adds support to check encoding of files 2024-08-14 17:00:45 +02:00