Commit graph

539 commits

Author SHA1 Message Date
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
6b61ab15a9 Updates changelog 2025-02-07 17:33:30 +01:00
Lord Hepipud
2263c817dd Fixes IfW service installation on certain Windows environment 2025-02-03 12:37:37 +01:00
Lord Hepipud
a9d79019ae Fixes test commands failing because wrong assigned service data 2025-01-31 15:04:42 +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
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
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
7aebc65b49 Adds new start and stop Cmdlets for Icinga 2024-09-19 12:27:06 +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
7ed60463a0 Fixes CPU and other performance data metrics to report proper values 2024-09-19 11:13:47 +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
c70da2a2a8 Fixes performance counter results sometimes reporting null instead of 0 2024-08-30 10:36:05 +02:00
Lord Hepipud
295fa00b12 Reworks handling on how plugin thresholds are interpreted 2024-08-29 14:53:37 +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
45514f66af Doc: Adds IWKB000019 for RegexErrors 2024-08-16 11:38:25 +02:00
Lord Hepipud
0ca3ed5029 Fixes service provider for brackets in service names 2024-08-15 15:07:46 +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
35d61ef2d9 Adds support to check encoding of files 2024-08-14 17:00:45 +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
f2343fb35d Adds option to CPU provider to limit thread usage to 100% 2024-08-14 16:49:22 +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
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
f0c67d3a2b Adds support to TLS1.3 and improves startup response 2024-05-15 13:47:06 +02:00
Lord Hepipud
fec8dc2147 Removes misleading JEA instruction 2024-04-26 11:36:45 +02:00
Lord Hepipud
2868a21660 Fixes leading backslash for service binary on initial setup 2024-04-24 13:10:32 +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
12c3790614 Fixes certificate handling to provide systemwide compatibility 2024-04-18 14:57:09 +02:00
Lord Hepipud
9d1a9e87c4 Fixes JSON validator to always return False on unhandled errors 2024-04-10 18:06:53 +02:00
Lord Hepipud
5f6ad95fec Fixes Icinga for Windows certificate handling for all Windows environments 2024-04-10 16:40:59 +02:00
Lord Hepipud
bd85896091 Updates Changelog 2024-04-09 18:09:38 +02:00
LordHepipud
a2294b3ce4 Fixes repository error handling and JSON error handling 2024-04-09 18:02:27 +02:00
LordHepipud
b280ccffc4 Fixes update order for components to always update the framework first 2024-04-09 18:00:32 +02:00
Lord Hepipud
c691cb25e5 Fixes IfW API to properly read client streams complete, even when not fully send 2024-04-09 17:57:53 +02:00
Lord Hepipud
9d47bf1bec Fixes REST-Api while running as NT Authority\NetworkService 2024-04-03 14:44:54 +02:00
Lord Hepipud
3967283b2a Fix icingaforwindows.pfx creation over WinRM and SSH 2024-04-02 22:08:01 +02:00
Lord Hepipud
6b2f4838f9 Fixes scheduled task user to use LocalSystem instead of anything else 2024-04-02 21:55:39 +02:00
Lord Hepipud
807fd285e0 Fixes missing environment service information on some systems 2024-04-02 20:51:56 +02:00
Lord Hepipud
1667485d75 Fixes errors for non-admin shells introduced with v1.12.0 2024-04-02 10:43:53 +02:00
Lord Hepipud
9fc543d255 Fixes size of Icinga for Windows eventlog, by setting it to 20 MiB 2024-03-29 15:38:08 +01:00
Lord Hepipud
ca8e5bda7a Updates version to v1.13.0 2024-03-26 11:49:15 +01:00
Lord Hepipud
877d2366dc Fixes Icinga for Windows managed user password handling 2024-03-25 20:47:09 +01:00
Lord Hepipud
f636b98dff
Merge pull request #701 from Icinga:feature/add_icinga_for_windows_test_command
Feature: Adds new command to test the functionality of Icinga for Windows

Adds new command `Test-IcingaForWindows`to check the current environment health by also improving internal handlings on how service information are fetched, preventing a lock on those
2024-03-25 19:57:23 +01:00