Commit graph

2071 commits

Author SHA1 Message Date
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
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