Commit graph

1138 commits

Author SHA1 Message Date
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
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
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
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
3a3d66fc0a Fixes -Force flag for environment service updater 2024-04-02 21:01:44 +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
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
Lord Hepipud
94ec30ab8a Fixes an issue with Icinga Director Self-Service API, which ignored the defined service user 2024-03-25 19:55:33 +01:00
Lord Hepipud
cd4bc7a01d Adds new command to test the functionality of Icinga for Windows 2024-03-25 19:19:53 +01:00
Lord Hepipud
c6159090e5 Adds feature to use pipes and multi lines for plugin documentation 2024-03-22 12:10:42 +01:00
Lord Hepipud
5e0b3a6113 Adds security hardening to JEA profiles by always prohibit certain cmdlets 2024-03-19 10:38:25 +01:00
Lord Hepipud
fcd2d52736 Adds new Eventlog data provider 2024-03-13 17:39:34 +01:00
Lord Hepipud
0c83f7a70b Adds support for check objects not being added to summary header 2024-03-13 17:38:42 +01:00
Lord Hepipud
364a01047e Adds new command Restart-Icinga to restart both, the Icinga Agent and Icinga for Windows 2024-03-13 16:56:56 +01:00
Lord Hepipud
b5ffdd10be Renames "Restart-IcingaWindowsService" to "Restart-IcingaForWindows" and adds alias for backwards compatibility 2024-03-13 16:53:25 +01:00
Lord Hepipud
520b03fdc3
Merge pull request #691 from Icinga:features/adds_support_to_create_snapshot_repositories
Feature: Adds support to create snapshot repositories with "New-IcingaRepository"

Adds support to create own snapshot repositories with `New-IcingaRepository`
2024-03-13 16:41:32 +01:00
Lord Hepipud
01a4a806f3 Adds support to create snapshot repositories with "New-IcingaRepository" 2024-03-13 16:34:09 +01:00
Lorenz Kästle
97134d7721 Fixes default total load on CPU provider by using the average and reports sum as a different metric 2024-03-13 10:59:05 +01:00
Lord Hepipud
6a4b067a77
Merge pull request #690 from Icinga:features/adds_api_certificate_renewal
Feature: Adds renewal handling for Icinga for Windows certificate

Adds automatic renewal of the `icingaforwindows.pfx` certificate for the REST-Api daemon in case the certificate is not yet present, valid or changed during the runtime of the daemon while also making the `icingaforwindows.pfx` mandatory for all installations, regardless of JEA being used or not
2024-03-13 10:47:53 +01:00
Lord Hepipud
03e60d4ca4 Adds renewal handling for Icinga for Windows certificate 2024-03-13 10:44:20 +01:00
Lord Hepipud
c7eeab8dea
Merge pull request #631 from Al2Klimov/central-C
Get-IcingaCheckCommandConfig: move -C from every single command to template
2024-03-12 17:18:11 +01:00
Lord Hepipud
959fac6d32
Merge pull request #688 from Icinga:feature/adds_scheduled_task_offloader
Feature: Adds handling to add scheduled task background task

Adds new handling to add scheduled tasks in Windows for interacting with Icinga for Windows core functionality as well as an auto renewal task for the Icinga for Windows certificate generation
2024-03-12 15:17:10 +01:00
Lord Hepipud
ed3e8dc8fd Adds handling to add scheduled task background task 2024-03-12 15:13:34 +01:00
Lord Hepipud
0f0980db4f Fixes Icinga CA port handling on installation 2024-03-06 16:44:17 +01:00
Alexander A. Klimov
bb435dcb58 Get-IcingaCheckCommandConfig: move -C from every single command to template 2024-03-04 17:35:07 +01:00
Lord Hepipud
e7356a71ac Fixes exceptions in certain cases while trying to stop the JEA process 2024-02-28 17:26:53 +01:00
Lord Hepipud
324aea052a Fixes certutil error handling and message output in case the icingaforwindows.pfx could not be created 2024-02-28 15:41:58 +01:00
Lord Hepipud
36015f4fc2 Fixes JEA installer to exclude domain from user name length check 2024-02-20 14:14:39 +01:00
Lord Hepipud
4903ac5916 Adds new provider for fetching process information 2024-02-14 11:16:03 +01:00
Lord Hepipud
96b1389943 Fixes null value exceptions on checks with units 2024-02-12 11:28:01 +01:00
Lord Hepipud
c3d3627634 Various memory leak fixes and improvements 2024-02-02 10:48:09 +01:00
Lord Hepipud
f59f146bee Fixes memory leak in EventLog fetcher 2023-11-15 14:33:46 +01:00
Lord Hepipud
e60a494ab3 Fixes update path for v1.11.0 2023-11-03 17:05:24 +01:00
Alvar Penning
3262530d13 Get-IcingaCheckCommandConfig: improve -IcingaConfig documentation
The old Cmdlet's documentation implied that just by passing the
-IcingaConfig switch, an Icinga 2 configuration would be generated.
However, the first two examples does not work as intended, as
-IcingaConfig only works together with the -OutDirectory parameter.

The documentation was updated to reflect as Get-IcingaCheckCommandConfig
behaves and how one can generate Icinga 2 configurations. In addition,
a note was added to the Cmdlet's API documentation to handle
expectations of the switch.
2023-11-03 16:52:13 +01:00
Lord Hepipud
721ceee463 Fixes JEA installer not including REST-Api on first run 2023-11-03 16:27:41 +01:00
LordHepipud
3c7eed70c1 Fixes MsiExec calls to longer cause reboots of the host 2023-11-03 16:23:22 +01:00
Lord Hepipud
03bf60df5e Fixes JEA profile always modified during update process 2023-08-25 14:32:50 +02:00
Lord Hepipud
17d884d87e Fixes Update-Icinga not updating to latest or specified version 2023-08-11 16:23:52 +02:00
LordHepipud
a29d66dbd9 Fixes config writer publishing invalid Icinga plain config 2023-08-07 20:05:01 +02:00
Lord Hepipud
6ee60125b0
Merge pull request #649 from Icinga:feature/adds_hyperv_provider
Feature: Adds new Hyper-V data provider

Adds new basic data provider base for Hyper-V information
2023-08-01 13:18:33 +02:00
Lord Hepipud
7d59af9a58 Fixes Clear-Host throwing exceptions during automation tasks 2023-08-01 13:17:11 +02:00
Lord Hepipud
7d156f6ed8 Adds new Hyper-V data provider 2023-07-27 17:27:08 +02:00
Lord Hepipud
867c1cb995 Adds new feature to write documents easier 2023-07-27 16:19:10 +02:00
Lord Hepipud
e7dc4fe500
Merge pull request #655 from Icinga:feature/ikwb_and_test_for_intercept_counter
Feature: Adds IWKB and test/manage Cmdlets for SCOM intercept counters

Adds IWKB and test/manage Cmdlets for SCOM intercept counters

* Test-IcingaInterceptCounter
* Disable-IcingaInterceptCounter
* Enable-IcingaInterceptCounter
2023-07-26 14:50:41 +02:00
Lord Hepipud
c77349af9d Adds IWKB and test/manage Cmdlets for SCOM intercept counters 2023-07-26 14:50:07 +02:00
log1-c
5898ee9dcb
added -Version parameter to the Update-Icinga` command (#613)
* Adds -Version parameter to Update-Icinga for direct update to a specific version
2023-07-25 15:32:31 +02:00
Alexander Aleksandrovič Klimov
d4ddf6734c Get-IcingaCheckCommandConfig: set vars.ifw_api_command in all commands
Useful in case someone renames the commands in Director.

Otherwise, in this case, all commands would be broken with ifw-api as vars.ifw_api_command defaults to $command.name$.
2023-07-25 15:15:25 +02:00
LordHepipud
0b2fa0d256 Fixes Sync-IcingaRepository not saving SSH settings 2023-07-25 00:35:20 +02:00
xGitJojo
be29d7dbd5
Feature: Adds option for formatted, colored console prints (#638)
* Adds feature for colored console prints
2023-07-24 23:28:22 +02:00
LordHepipud
4c7012b8da Fixes config generator custom variable too long message 2023-07-24 23:20:35 +02:00
LordHepipud
0541fccc85 Adds support to write the name of the repo inside the json file 2023-07-24 23:09:23 +02:00
Lord Hepipud
6de511c9fb Adds new plugin data provider handling and cpu data 2023-07-24 18:44:36 +02:00
Lord Hepipud
e436bd9284
Merge pull request #648 from Icinga:fix/improves_rest_api_memory_management
Fix: Improves REST-Api memory management

Fixes some memory management while using the REST-Api to clear connection objects once they are no longer required
2023-07-24 17:53:39 +02:00
Lord Hepipud
e96711efba Improves REST-Api memory management 2023-07-24 17:53:59 +02:00
Lord Hepipud
438bd86985 Improves error/exception handling 2023-07-24 17:37:41 +02:00
Lord Hepipud
014aae1985 Fixes REST-Api to allow args with and without leading - 2023-07-24 12:04:11 +02:00
Lord Hepipud
aa6d324108
Merge branch 'master' into ifw_api_arguments 2023-07-24 11:17:52 +02:00
Lord Hepipud
a11e6405d3 Adds docs and adds plain config writer for ifw-api support 2023-07-24 11:16:34 +02:00
LordHepipud
fa79477790 Fixes error and exception handling over API checks 2023-07-19 17:48:21 +02:00
LordHepipud
188f3caed5 Adds progress bar to repository interaction instead of text output 2023-07-14 20:15:14 +02:00
LordHepipud
100a666e09 Adds support to configure Director Self-Service config string 2023-07-14 13:37:38 +02:00
Lord Hepipud
05653fea5a Adds support to ignore SSL errors on IMC, Shell and Installer 2023-07-12 13:24:52 +02:00
LordHepipud
5a5f08c120 Adds argument to allow Agent cipher list configuration 2023-06-27 16:01:43 +02:00
Alexander A. Klimov
e17adcce54 Get-IcingaCheckCommandConfig: provide vars.ifw_api_arguments in each command
to properly support just importing the ifw-api command.
That command e.g. takes DSL/JSON arrays [], not PS ones @(). Similar with strings.
Therefore set vars.ifw_api_arguments as ifw-api expects.
2023-06-06 14:52:32 +02:00
Alexander Aleksandrovič Klimov
3aab2dd83a
Get-IcingaCheckCommandConfig: fix copy&paste error
Pass -NoLogo and -NoProfile once, not -NoLogo twice.
2023-06-01 12:11:30 +02:00
Lord Hepipud
50d9110d3c Adds new exception message for Windows auth 2023-05-26 17:45:39 +02:00
Lord Hepipud
00c3d67967 Adds support to provide user and domain with @ separated 2023-05-26 14:17:26 +02:00
Lord Hepipud
cb6aee0975 Fixes the framework migration error on multi framework installation 2023-05-26 14:09:31 +02:00
Lord Hepipud
d91500fa4b
Merge pull request #620 from Icinga:fix/prevent_recursive_looping_on_first_framework_initialisation
Fix: Recursive loop on first loading of Framework

Prevents the Icinga for Windows framework to recursively import itself on first startup or after reseting the cache file.
2023-05-23 16:12:41 +02:00
Lord Hepipud
c065a0330b Fixes ThresholdInterval key detection on newer systems 2023-05-12 11:13:17 +02:00
Lord Hepipud
ada2b4ce0e Fixes recursive loop on first loading of Framework 2023-05-09 12:57:40 +02:00
Lord Hepipud
108dceb326 Adds feature to securely read enum provider values 2023-05-08 11:17:48 +02:00
Lord Hepipud
7942e38d8c Fixes plugin failure for switch args with ThresholdInterval 2023-05-05 16:18:48 +02:00
Lord Hepipud
5135989169 Fixes config generator to not use set_if = true 2023-03-08 13:49:24 +01:00
Lord Hepipud
891be452c5 Fixes service exclude filter 2023-01-14 10:43:05 +01:00
Lord Hepipud
6b4263d440 Fixes unintended PS path change 2022-12-19 14:06:14 +01:00
Lord Hepipud
c199fb594a Fixes cmd aliases not evaluated on plugin run 2022-12-19 13:17:36 +01:00
Lord Hepipud
b1ee7bc30a Fixes wrong regex for threshold detection 2022-11-21 11:57:04 +01:00
Lord Hepipud
d8f2a9ab55 Fixes background service registration 2022-10-18 12:21:05 +02:00