Commit graph

1866 commits

Author SHA1 Message Date
Lord Hepipud
df034a7e3e
Merge pull request #625 from Icinga:feature/add_support_for_user_with_at_sign
Feature: Adds support to provide user and domain with @ separated

Adds support to provide the Icinga service user written as user@domain
2023-05-26 14:21:46 +02:00
Lord Hepipud
00c3d67967 Adds support to provide user and domain with @ separated 2023-05-26 14:17:26 +02:00
Lord Hepipud
389db1bb6c
Merge pull request #624 from Icinga:fix/migration_fails_on_multiple_framework_installations
Fix: Framework migration error on multi framework installation

Fixes the framework migration tasks which fails in case multiple versions of the framework are installed, printing warnings in case there is
2023-05-26 14:10:03 +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
65488a1696
Merge pull request #622 from Icinga:doc/fix_metric_over_time_docs
Doc: Updates metric over time docs for intervals

Icinga for Windows changed the behavior on how metrics over time `-TimeIndexes` argument works, as you now have to add the unit for the time to build the average for.
2023-05-12 11:33:29 +02:00
Lord Hepipud
33062facf4 Updates metric over time docs for intervals 2023-05-12 11:32:29 +02:00
Lord Hepipud
3d4a74e29d
Merge pull request #621 from Icinga:fix/threshold_interval_key_detection
Fix: ThresholdInterval key detection on newer systems

On the latest Windows versions, the behavior for the dynamic detection of the argument `-ThresholdInterval` changed, as the name has been updated from `-ThresholdInterval` to `-ThresholdInterval:`.

This fix will now allow both versions of the naming, to support old and new environments.
2023-05-12 11:14:01 +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
2772c888cc
Merge pull request #619 from Icinga:feature/adds_function_to_securely_read_enums
Feature: Adds function to securely read enum provider values

Adds feature to securely read enum provider values

```powershell
Get-IcingaProviderEnumData -Enum $ProviderEnums -Key 'DiskBusType' -Index 6;

Fibre Channel
```
2023-05-08 11:19:13 +02:00
Lord Hepipud
108dceb326 Adds feature to securely read enum provider values 2023-05-08 11:17:48 +02:00
Lord Hepipud
34d07f02db
Merge pull request #618 from Icinga:fix/plugin_fails_for_switch_args_followed_by_threshold_interval
Fix: Plugin failure for switch args with ThresholdInterval

Fixes failing calls for plugins which use a switch argument like `-NoPerfData`, which is followed directly by the `-ThresholdInterval` argument
2023-05-05 16:20:24 +02:00
Lord Hepipud
7942e38d8c Fixes plugin failure for switch args with ThresholdInterval 2023-05-05 16:18:48 +02:00
Lord Hepipud
b7de62069c
Merge pull request #609 from Icinga:fix/do_not_use_set_if_true_on_icinga_config
Fix: Config generator should not use set_if = true

We should nbever use `set_if` = true inside the Icinga Configuration or Director Baskets. This will result in the Icinga Director always flagging a certain object as modified.
2023-03-08 13:50:05 +01:00
Lord Hepipud
5135989169 Fixes config generator to not use set_if = true 2023-03-08 13:49:24 +01:00
Lord Hepipud
a71223f7d8
Merge pull request #604 from Icinga:fix/service_exclude_filter_for_wildcards
Fix: Service exclude filter for wildcards

Fixes service filter to handle exclude with wildcards instead of requiring the full service name (not applying to the display name)
2023-01-14 10:45:27 +01:00
Lord Hepipud
891be452c5 Fixes service exclude filter 2023-01-14 10:43:05 +01:00
Lord Hepipud
d80ea57bf8
Merge pull request #601 from Icinga:fix/unintended_ps_location_change
Fix: Unintended PS path change

Fixes installation and uninstallation commands changing PowerShell location even when not necessary
2022-12-19 14:14:13 +01:00
Lord Hepipud
6b4263d440 Fixes unintended PS path change 2022-12-19 14:06:14 +01:00
Lord Hepipud
b3d4a2cdcc
Merge pull request #600 from Icinga:fix/cmd_aliases_are_ignored_on_plugin_execution
Fix: Command aliases not evaluated on plugin run

Fixes plugin argument parser to proceed with real argument names and possible provided aliases
2022-12-19 13:18:37 +01:00
Lord Hepipud
c199fb594a Fixes cmd aliases not evaluated on plugin run 2022-12-19 13:17:36 +01:00
Lord Hepipud
1b00253747
Merge pull request #589 from Icinga:fix/regex_unit_detection_for_thresholds
Fix: Wrong regex for threshold detection

Fixes threshold values causing an error because of too aggressive regex expression
2022-12-19 09:31:00 +01:00
Lord Hepipud
b1ee7bc30a Fixes wrong regex for threshold detection 2022-11-21 11:57:04 +01:00
Lord Hepipud
9f91290e23
Merge pull request #590 from Icinga:fix/background_service_registration_not_working
Fix: Background service registration

Fixes background service registration caused by migration task for v1.10.0 being executed even when no services were defined before
2022-10-18 14:44:56 +02:00
Lord Hepipud
d8f2a9ab55 Fixes background service registration 2022-10-18 12:21:05 +02:00
Lord Hepipud
19e422e7ac Updates master to v1.11 2022-08-30 08:24:06 +02:00
Lord Hepipud
1ef7120201
Merge pull request #571 from Icinga:fix/get-help_for_plugin_not_installed_causes_stacktraces_in_icinga_output
Fix: StackTrace in plugin output, when plugin is not installed

Caused by newly introduced `Get-Help` check to fetch argument types
2022-08-28 11:31:23 +02:00
Lord Hepipud
73dd3648d3 Fixes stacktrace in plugin output, when pkugin is not installed
Caused by newly introduces Get-Help check to fetch arguments
2022-08-28 11:29:59 +02:00
Lord Hepipud
6d127a8082
Merge pull request #502 from moreamazingnick:fix/hostname-override-for-old-installer
Fix/hostname override for old installer

Adds support for hostname override for old installer function `Start-IcingaAgentInstallWizard` [moreamazingnick]
2022-08-27 21:03:37 +02:00
moreamazingnick
2d02ef1baf Adds support for hostname override for old installer 2022-08-27 21:02:50 +02:00
Lord Hepipud
86f9e27a94
Merge pull request #570 from Icinga:deprecate/old_installation_method_wizard
Deprecated: Start-IcingaAgentInstallWizard installation method

We have decided to now officially deprecate the previous installation method `Start-IcingaAgentInstallWizard`. It hasn't been updated or promoted in a long time and all new features have been moved to the [Icinga Management Console](https://icinga.com/docs/icinga-for-windows/latest/doc/110-Installation/02-Icinga-Management-Console/). Please update your installation method to the new solution. The old method will be removed in a future release.
2022-08-27 20:54:18 +02:00
Lord Hepipud
df6c5f6efa Deprecates Start-IcingaAgentInstallWizard 2022-08-27 20:52:44 +02:00
Lord Hepipud
aac9caba2c
Merge pull request #569 from Icinga:feature/allow_filtering_for_messages_with_eventlog_parser
Feature: Adds filtering options for EventLog parser

Adds `-Include` and `-Exclude` filter for EventLog CLI parser, to only contain certain messages or exclude them from the output.
2022-08-27 20:41:15 +02:00
Lord Hepipud
4fb4c6a55f Adds filtering options for EventLog parser 2022-08-27 20:40:20 +02:00
Lord Hepipud
0291f5a8a8
Merge pull request #568 from Icinga:fix/misleading_error_message_for_empty_SID_on_uninstallation_process
Fix: Misleading SID error during uninstallation

Fixes misleading SID error during uninstallation of Icinga for Windows or the Agent component
2022-08-27 16:10:32 +02:00
Lord Hepipud
7fb36b9386 Fixes misleading SID error during uninstallation 2022-08-27 16:10:02 +02:00
Lord Hepipud
136376418c
Merge pull request #567 from Icinga:fix/always_set_certificate_folder_permission
Fix: Missing permission update for certificate directory

Fixes missing certificate folder permission update on every change for the Icinga Agent user, as the folder wasn't present by default before, which changed with v1.10.0
2022-08-27 16:06:02 +02:00
Lord Hepipud
c5c42ef572 Fixes missing permission update for certificate directory 2022-08-27 16:04:52 +02:00
Lord Hepipud
08b1d69b8a
Merge pull request #566 from Icinga:fix/do_not_continue_testing_for_directories_in_case_agent_not_installed
Fix: Useless testing for directories if agent is not installed

Fixes useless testing and printing of error messages, in case the Icinga Agent is not installed during installation and Icinga for Windows printing plenty of errors, because the ACL checks cannot be completed.
2022-08-27 15:58:18 +02:00
Lord Hepipud
8008ccafc6 Fixes useless testing for directories if agent is not installed 2022-08-27 15:57:54 +02:00
Lord Hepipud
da33eb0068
Merge pull request #565 from Icinga:fix/more_secure_handling_to_wrote_cache_files
Feature: Improve cache file writer with more robust handling

Ensures that new cache files will always be written inside a `.tmp` file at the same location and tested for validation before applied to the regular file via copy.

This should prevent files becoming corrupt in the future during write operations.
2022-08-27 15:30:52 +02:00
Lord Hepipud
b846402196 Improve cache file writer with more robust handling 2022-08-27 15:28:52 +02:00
Lord Hepipud
fa66de09d7
Merge pull request #564 from Icinga:fix/securestring_argument_not_working_with_rest-api
Fix: SecureString arguments not working with REST-Api

Fixes checks like MSSQL using arguments of type `SecureString` not being usable with the Icinga for Windows REST-Api
2022-08-27 13:08:41 +02:00
Lord Hepipud
ab0d3913c8 Fixes SecureString arguments not working with REST-Api 2022-08-27 13:07:28 +02:00
Lord Hepipud
8dff45cbf5
Merge pull request #562 from Icinga:fix/fixes_perfdata_writer_in_jea_context
Fix: PerfData writer in JEA context without REST-Api

Fixes corrupt Performance Data, in case plugins were executed inside a JEA context without the REST-Api.
2022-08-26 22:38:39 +02:00
Lord Hepipud
2d40564a52 Fixes PerfData writer in JEA context without REST-Api 2022-08-26 22:38:09 +02:00
Lord Hepipud
72157d3a7f Fixes exception on update file removal 2022-08-26 15:36:52 +02:00
Lord Hepipud
1b3a12597a
Merge pull request #560 from Icinga:feature/improve_imc_update_uninstall_handling
Feature: Improves IMC update and uninstall handling for Framework

Improves handling for Icinga Management Console which will now terminate itself during full uninstallation and restarts after updating the Icinga PowerShell Framework, to apply changes directly
2022-08-26 15:34:08 +02:00
Lord Hepipud
adde8c0c81 Improves IMC update and uninstall handling for Framework 2022-08-26 15:33:32 +02:00