Commit graph

1937 commits

Author SHA1 Message Date
Lord Hepipud
36e81985b2 Updates changelog 2023-11-07 15:08:22 +01:00
Lord Hepipud
d024542081
Merge pull request #671 from Icinga:fix/ensure_update_compatibility_with_version_1.11.0
Fix: Update compatibility with Icinga for Windows v1.11.0

Ensures the backwards compatibility with Icinga for Windows v1.11.0, which broke the update mechanism for version checks.
2023-11-03 17:21:18 +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
4a6a8ed99c
Merge pull request #667 from Icinga:fix/jea_profile_not_including_rest_api_on_first_installation
Fix: JEA installer not including REST-Api on first run

Fixes JEA profile compiler not including REST-Api configuration during first installation
2023-11-03 16:48:42 +01:00
Lord Hepipud
721ceee463 Fixes JEA installer not including REST-Api on first run 2023-11-03 16:27:41 +01:00
Lord Hepipud
ce54dd2250
Merge pull request #661 from Icinga:fix/prevent_msiexec_from_rebooting_the_host
Fix: MsiExec should not cause automatic host reboot

Fixes Icinga Agent installation and uninstallation, which could cause unintended automatic reboots
2023-11-03 16:24:27 +01:00
LordHepipud
3c7eed70c1 Fixes MsiExec calls to longer cause reboots of the host 2023-11-03 16:23:22 +01:00
Lord Hepipud
262f0c432f
Merge pull request #662 from Icinga:fix/update_components_always_forces_jea_update
Fix: JEA profile always modified during update process

Fixes JEA-Profiles always being updated during `Update-Icinga` calls, even when no component or non JEA related components were updated
2023-08-25 14:33:24 +02:00
Lord Hepipud
03bf60df5e Fixes JEA profile always modified during update process 2023-08-25 14:32:50 +02:00
Lord Hepipud
df0d24b8c5
Merge pull request #660 from Icinga:fix/broken_update_icinga_command
Fix: Update-Icinga not updating to latest or specified version

Fixes `Update-Icinga` not updating to the latest available version for a component and specifying `-Version` is updating to the latest one instead of the given one instead
2023-08-11 16:24:40 +02:00
Lord Hepipud
17d884d87e Fixes Update-Icinga not updating to latest or specified version 2023-08-11 16:23:52 +02:00
Lord Hepipud
093c5e7935
Merge pull request #659 from Icinga:fix/icinga_plain_config_writer_publishes_invalid_configuration
Fix: Config writer publishing invalid Icinga plain config
2023-08-07 20:05:38 +02:00
LordHepipud
a29d66dbd9 Fixes config writer publishing invalid Icinga plain config 2023-08-07 20:05:01 +02:00
Lord Hepipud
e2bd207a69 Updates master to v1.12.0 2023-08-01 13:23:09 +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
3f6d589978
Merge pull request #634 from Icinga:fix/clear-host_can_cause_exceptions_during_automation
Fix: Clear-Host throwing exceptions during automation tasks

Fixes an issue with `Clear-Host` which could cause an exception during certain automation tasks, causing it to fail
2023-08-01 13:17:39 +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
f028ade6c3
Merge pull request #656 from Icinga:feature/add_improved_document_writer
Feature: Adds new feature to write documents easier

Adds new feature to write document content easier by storing it in memory first and then allowing to write it to disk at once with proper UTF8 encoding

New cmdlets:
* New-IcingaDocumentObject
* Add-IcingaDocumentContent
* Write-IcingaDocumentFile
2023-07-27 16:20:16 +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
Lord Hepipud
94c6d992fa
Merge pull request #585 from ChrLau/patch-1
Fix typo in 01-JEA-Profiles.md
2023-07-25 15:25:09 +02:00
Lord Hepipud
3651927820
Merge pull request #630 from Al2Klimov/patch-3
Get-IcingaCheckCommandConfig: set vars.ifw_api_command in all commands
2023-07-25 15:21:21 +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
Lord Hepipud
351f7586db
Merge pull request #654 from Icinga:fix/sync_repo_not_saving_ssh_settings
Fix: Sync-IcingaRepository not saving SSH settings

Fixes `Sync-IcingaRepository` which did not save the SSH user and host inside the repository configuration, preventing `Update-IcingaRepository` to work properly and added missing scp progress
2023-07-25 00:36:51 +02:00
LordHepipud
0b2fa0d256 Fixes Sync-IcingaRepository not saving SSH settings 2023-07-25 00:35:20 +02:00
Lord Hepipud
eb87a5aff5
Merge pull request #653 from Icinga:doc/improves_api_forwarded_docs
Docs: Improves API forwarder documentation
2023-07-24 23:37:17 +02:00
LordHepipud
183f8dc0e8 Improves API forwarder docs 2023-07-24 23:36:37 +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
Lord Hepipud
538750633c
Merge pull request #652 from Icinga:fix/improve_custom_variable_too_long_error_message
Fix: Config generator custom variable too long error message

Fixes error message during config generation with `Get-IcingaCheckCommandConfig` to make it more clear, in case the custom variables generated are too long for the Icinga Director import
2023-07-24 23:21:40 +02:00
LordHepipud
4c7012b8da Fixes config generator custom variable too long message 2023-07-24 23:20:35 +02:00
Lord Hepipud
ff5618f957
Merge pull request #651 from Icinga:feature/write_repository_name_into_json_file
Feature: Adds support to write the name of the repo inside the json file

Adds support to write the name of the repository synced/created into the local `ifw.repo.json` file
2023-07-24 23:10:00 +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
64c3b46b94
Merge pull request #650 from Icinga:feature/adds_support_to_run_icinga_while_creating_no_new_instance
Feature: Adds support to not load a new PowerShell instance for command icinga

Adds support to run command `icinga` with new argument `-NoNewInstance`, to use `-RebuildCache` as example to update the current PowerShell instance with all applied changes, instead of create a new shell instance.

Does not support the argument `-DeveloperMode` in the same call, as Icinga for Window is dependent on these files for the current session.
2023-07-24 22:25:57 +02:00
LordHepipud
7f07811a63 Adds feature to not load a new PowerShell instance for command icinga 2023-07-24 22:23:28 +02:00
Lord Hepipud
fbd286f369
Merge pull request #637 from Icinga:feature/new_plugin_provider_handling
Feature: Adds new plugin data provider handling and cpu data

Adds new base handling for future data providers with first metrics for `CPU` information
2023-07-24 18:48:49 +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
7ed21189c0
Merge pull request #647 from Icinga:fix/improve_exception_and_error_handling
Feature: Improves error/exception handling
2023-07-24 17:37:38 +02:00
Lord Hepipud
438bd86985 Improves error/exception handling 2023-07-24 17:37:41 +02:00
Lord Hepipud
87a9d126d2 Sets copyright 2023 2023-07-24 12:29:51 +02:00
Lord Hepipud
b5e5995e0c
Merge pull request #646 from Icinga:fix/allow_rest_api_to_handle_args_with_and_without_leading_-
Fix: REST-Api to allow args with and without leading -

Fixes REST-Api to allow arguments for check execution with and without leading `-`
2023-07-24 12:04:25 +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
57b21ef0ce
Merge pull request #633 from Al2Klimov/ifw_api_arguments
Get-IcingaCheckCommandConfig: provide vars.ifw_api_arguments in each command

Adds support for Icinga 2.14.0 native Icinga for Windows API communication
2023-07-24 11:19:04 +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