Commit graph

2060 commits

Author SHA1 Message Date
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
Lord Hepipud
5210643fa6
Merge pull request #740 from Icinga:feature/use_certificate_to_authenticate_with_ifw_api
Feature: Adds support to authenticate with the Icinga for Windows certificate for the REST-Api

Adds new command `Invoke-IcingaForWindowsRESTApi` for easier API communication with Icinga for Windows
2024-08-14 16:57:15 +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
3035500a88
Merge pull request #742 from Icinga:feature/adds_100_percent_limit_option_to_cpu_provider
Feature: Adds option to CPU provider to limit thread usage to 100%

Adds support for the CPU provider to limit the CPU usage to 100% for each thread
2024-08-14 16:49:53 +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
ca3be7665a
Merge pull request #735 from Icinga:feature/extends_eventlog_provider_for_problem_and_acknowledge_events
Feature: Adds support for Acknowledgement events

Adds support to provide occuring problem event id's for the Eventlog and corresponding acknowledgement  id's, providing an indicator if certain issues are resolved or still present
2024-08-14 16:29:50 +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
15b464f78c
Merge pull request #738 from Icinga:fix/print_error_for_update_command_in_case_component_is_not_installed
Fix: Update-Icinga to print an error in case a component is not installed

Fixes `Update-Icinga` to print an error in case a component is not installed, instead of silently continue
2024-06-06 14:45:24 +02:00
Lord Hepipud
9c69c351a8 Fixes Update-Icinga to print an error in case a component is not installed 2024-06-06 14:44:07 +02:00
Lord Hepipud
1fba01e7a2 Fixes an issue on which a JEA service would become orphaned 2024-06-06 14:28:32 +02:00
Lord Hepipud
824b8a231a
Merge pull request #732 from Icinga:feature/improve_api_performance_and_enable_tls13
Feature: Adds support to TLS1.3 and improves startup response

Adds support for both, TLS 1.2 and TLS 1.3 while also improving the response of the API for initial startup, by redirecting all calls to thread 0 if not all threads are loaded
2024-05-15 13:47:45 +02:00
Lord Hepipud
f0c67d3a2b Adds support to TLS1.3 and improves startup response 2024-05-15 13:47:06 +02:00
Lord Hepipud
0c08e5f6aa
Merge pull request #728 from Icinga:doc/removes_misleading_jea_instruction
Doc: Removes misleading JEA instruction
2024-04-26 11:38:59 +02:00
Lord Hepipud
fec8dc2147 Removes misleading JEA instruction 2024-04-26 11:36:45 +02:00
Lord Hepipud
c572842303
Merge pull request #727 from Icinga:fix/leading_backslash_for_service_binary_on_first_installation
Fix: Leading backslash for service binary on initial setup

Fixes leading `\` for the service binary path and directory, which results in wrong behavior while using the same shell on which the initial installation was made
2024-04-24 13:11:47 +02:00
Lord Hepipud
2868a21660 Fixes leading backslash for service binary on initial setup 2024-04-24 13:10:32 +02:00
Lord Hepipud
baaeeebd8a
Merge pull request #726 from Icinga:fix/ensure_certutil_is_always_used_from_system32_directory
Fix: Usage of wrong certutil if present in PATH instead of system32 binary

Fixes `icingaforwindows.pfx` creation in case another `certutil` is installed on the system and being available in the `PATH` environment
2024-04-24 12:40:33 +02:00
Lord Hepipud
ee829777e9 Fixes usage of wrong certutil if present in PATH instead of system32 binary 2024-04-24 12:39:41 +02:00
Lord Hepipud
0e6c53e960
Merge pull request #725 from Icinga:fix/rework_certificate_handling_to_fix_systemside_compatibility
Fix: Certificate handling to provide systemwide compatibility

Fixes Icinga for Windows certificate handling by keeping the .pfx file on the system as created, without using the certificate store. Also fixes handling for providing thumbprints for certificates, which are now loaded directly from the certificate store by also providing a new filter mechanic to fetch the proper certificates from the store
2024-04-23 13:42:28 +02:00
Lord Hepipud
12c3790614 Fixes certificate handling to provide systemwide compatibility 2024-04-18 14:57:09 +02:00