Commit graph

1812 commits

Author SHA1 Message Date
Lord Hepipud
e6efba649f Fixes wrong graphic for overview screenshot on Grafana installation 2022-08-25 14:30:30 +02:00
Lord Hepipud
0153a49381 Updates docs 2022-08-25 14:23:56 +02:00
Lord Hepipud
20ffce493c Updates grafana docs 2022-08-25 12:57:28 +02:00
Lord Hepipud
edf9d27f39
Merge pull request #558 from Icinga:docs/grafana_dashboard_installation
Docs: Adds docs for grafana dashboard installation
2022-08-25 09:59:10 +02:00
Lord Hepipud
289f64ca93 Adds docs for grafana dashboard installation 2022-08-25 09:58:42 +02:00
Lord Hepipud
4c246d1dc5
Merge pull request #557 from Icinga:fix/unit_byte_thresholds_formatting_error
Fix: Byte unit Icinga threshold exception

Fixes byte unit Icinga threshold exception
2022-08-24 17:19:52 +02:00
Lord Hepipud
72b5d3d223 Fixes byte unit Icinga threshold exception 2022-08-24 17:16:55 +02:00
Lord Hepipud
7534a55949
Merge pull request #556 from Icinga:fix/certificate_folder_not_present_on_first_installation
Fix: Certificate folder not present on first installation

Fixes the certificate folder not present during first installation, preventing permissions properly set from the start which might cause issues once required
2022-08-24 16:59:19 +02:00
Lord Hepipud
11a9a3f0f3 Fixes certificate folder not present on first installation 2022-08-24 16:59:02 +02:00
Lord Hepipud
4c5eeaf50b
Merge pull request #550 from Icinga:fix/negative_thresholds_interpreted_as_argument
Fix: Negative thresholds interpreted as argument

Fixes negative thresholds being interpreted wrongly as argument instead of an value for an argument
2022-08-24 16:50:28 +02:00
Lord Hepipud
786fa9f411
Merge pull request #555 from Icinga:fix/plugin_thresholds_invalid_conversion
Fix: Wrong conversion of certain threshold values

Fixes wrong conversion of values for `Convert-IcingaPluginThresholds`, which did not properly handle string values containing certain units inside the string itself
2022-08-24 16:50:04 +02:00
Lord Hepipud
95be5982bd
Merge pull request #526 from Icinga:feature/new_perfdata_handling
Feature: Rewrite PerfData Labels for multi output

Performance data should be created with some more adjustments to ensure we can properly create graphcs by using InfluxDB and Grafana as example
2022-08-24 16:33:27 +02:00
Lord Hepipud
ae01dbeb0a Rewrite PerfData Labels for multi output 2022-08-24 16:26:27 +02:00
Lord Hepipud
116eaa02f3 Fixes wrong conversion of certain threshold values 2022-08-24 09:57:30 +02:00
Lord Hepipud
5d661581e9
Merge pull request #554 from Icinga:fix/custom_hostname_automated_installation_director
Fix: Automated Icinga Director installation for custom hostname

Fixes certificate generation and host registration, in case a custom hostname was set during usage of `Install-Icinga` automation
2022-08-23 17:15:58 +02:00
Lord Hepipud
da31757841 Fixes automated Icinga Director installation for custom hostname 2022-08-23 16:48:20 +02:00
Lord Hepipud
0756b47128
Merge pull request #553 from Icinga:fix/exception_for_service_recovery_for_uninstalled_services
Fix: Exception for service recovery if service was not installed

Fixes an exception caused by service recovery setting, if the required service was not installed before.
2022-08-23 16:39:02 +02:00
Lord Hepipud
5daccac374 Fixes exception for service recovery if service was not installed 2022-08-23 16:38:25 +02:00
Lord Hepipud
eae4c38f33
Merge pull request #552 from Icinga:fix/cache_file_encoding_read_write
Fix: Cache file encoding read/write

Fixes file encoding for Icinga for Windows v1.10.0 to ensure the cache is always properly created with the correct encoding
2022-08-23 15:44:50 +02:00
Lord Hepipud
8c2b63399b Fixes cache file encoding read/write 2022-08-23 15:43:25 +02:00
Lord Hepipud
456cc26293
Merge pull request #551 from Icinga/fix/argument_does_not_support_percent_unit
Fix: Argument does not support percent unit error messagae

Fixes error message `This argument does not support the % unit` in case a `BaseValue` is set, but the actual value is `0`
2022-08-23 11:46:04 +02:00
Lord Hepipud
4100e05e84 Fixes error argument does not support percent unit 2022-08-23 11:40:58 +02:00
Lord Hepipud
8c5f9b5f21 Fixes negative thresholds interpreted as argument 2022-08-22 17:15:25 +02:00
Lord Hepipud
11deff3403
Merge pull request #549 from Icinga:fix/remote_repo_sync_remote_path_reset
Fix: Remote Sync clears RemoteSource
2022-08-18 14:18:41 +02:00
Lord Hepipud
5fad73b4e7 Fixes Remote Sync clears RemoteSource 2022-08-18 14:17:37 +02:00
Lord Hepipud
a4d1971114
Merge pull request #548 from Icinga:fix/update_repository_resets_remote_path
Fix: RemoteSouce being cleared during Update-IcingaRepository

Fixes `RemoteSource` being cleared within repository `.json` files during `Update-IcingaRepository` tasks
2022-08-18 14:04:30 +02:00
Lord Hepipud
82af4f9da4 Fixes RemoteSouce being cleared during Update-IcingaRepository 2022-08-18 14:03:45 +02:00
Lord Hepipud
df4759fee3
Merge pull request #547 from Icinga:docs/wrong_install-icinga_arguments
Docs: Fixes wrong argument on Install-Icinga from file
2022-08-18 13:35:47 +02:00
Lord Hepipud
8107e1152e Fixes docs for wrong argument on Install-Icinga 2022-08-18 13:34:33 +02:00
Lord Hepipud
2c8a92fab5
Merge pull request #482 from Icinga:fix/utf8_encoding_errors
Fix: Encoding problems with special chars or German umlauts

Fixes Icinga for Windows plugin execution, by converting all parsed arguments and values from Icinga 2 from the `Default` of the PowerShell to `UTF8`.

This resolves issues during plugin execution on which arguments like `-Path`, `-TaskName` or anything else contained characters like `äöüß`.

In addition, we created an internal `StringBuilder` to resolve current issues on which unescaped strings within the Icinga configuration like `Icinga for Windows` instead of `'Icinga for Windows'`, are interpreted as `Icinga` instead of `Icinga for Windows` because of the whitespaces.

The new argument parser will test for this and create a proper string output value.
2022-08-17 17:36:42 +02:00
Lord Hepipud
787500c452 Fixes UTF8 encoding for plugin execution 2022-08-17 17:13:00 +02:00
Lord Hepipud
fd3ddd1538
Merge pull request #473 from Icinga:fix/icinga_config_string_dsl
Fix: Adds DSL parser to string arguments to fix whitespace and $ escaping

Fixes an issue with current implementation, as string values containing whitespaces or `$` are rendered wrong by default, if not set in single quotes `''`

Example:

Using `My Service`

will output

`My`
`Service`

This issue is already fixed for arrays, but plain string values on arguments require this workaround.

As Icinga 2 will always set arguments if a DSL is specified, regardless if a value is present or not, we have to use a `set_if` expression for this, but can't as the Icinga Director baskets currently ignore `set_if_format` which requires to be an expression instead of a string.
2022-08-17 17:02:16 +02:00
Lord Hepipud
f126065cad Adds DSL parser to string arguments, fixing errors 2022-08-17 17:00:36 +02:00
Lord Hepipud
a83d35e60e
Merge pull request #534 from Icinga:Fix_powershell_array_creation_in_icinga_config
Fix the creation of powershell arrays in Icinga2 configuration

Improves Icinga and Director configuration generator, by wrapping PowerShell arrays inside `@()` instead of simply writing them comma separated
2022-08-17 16:06:11 +02:00
RincewindsHat
4e182ca8ea Fix the creation of powershell arrays in Icinga2 configuration 2022-08-17 16:04:58 +02:00
Lord Hepipud
c200cc6f11
Merge pull request #543 from Icinga:fix/developer_mode_option_causes_always_cache_reset_while_using_icinga
Fix: icinga command always resetting cache

Fixes the `icinga` command which always resets the Framework cache, caused by newly introduced `Developer Mode`
2022-08-17 15:30:18 +02:00
Lord Hepipud
6d86c0fe28 Fixes icinga command always resetting cache 2022-08-17 15:26:52 +02:00
Lord Hepipud
b7a0d3892d
Merge pull request #542 from Icinga:fix/null-value_exception_for_no_background_daemons_configured
Fix: Null-value exception on missing background daemons

Fixes `You cannot call a method on va null-valued expression` during installation or while enabling JEA, in case no background daemons have been configured.
2022-08-17 14:59:12 +02:00
Lord Hepipud
906d616966 Fixes null-value exception on missing background daemons 2022-08-17 14:52:40 +02:00
Lord Hepipud
8af403de55
Merge pull request #541 from Icinga:fix/improve_location_handling_for_uninstaller
Fix: Uninstaller removal errors by improving location handling

Improves internal component uninstaller and Icinga for Windows uninstaller to ensure folders are not locked during uninstallation with the current PowerShell sessions
2022-08-17 12:39:54 +02:00
Lord Hepipud
9d422e8c67 Fixes uninstaller by improving location handling 2022-08-17 12:38:36 +02:00
Lord Hepipud
d1734f7daa
Merge pull request #540 from Icinga:doc/improve_custom_repo_installation_example
Docs: Fixes doc for custom repo example installation

Makes installation example for using custom repositories and director automation more clear and fixes missing `IfW-StableRepository` installation command entry.
2022-08-16 15:40:35 +02:00
Lord Hepipud
2511257b0f Fixes docs for custom repo example installation 2022-08-16 15:38:13 +02:00
Lord Hepipud
6dbe210337
Merge pull request #536 from Icinga/feature/easier_include_exclude_filtering
Feature: Adds function for easier include/exclude filtering

Adds generic function for easier managing include/exclude filtering for plugins and for cleaning arrays with not wanted content.
2022-08-05 09:36:50 +02:00
Lord Hepipud
5f8b59e4da
Merge pull request #537 from Icinga/doku_fix
Fix missing file name in URL
2022-07-13 20:15:58 +02:00
RincewindsHat
b5493eee69 Fix missing file name in URL 2022-07-13 14:02:41 +02:00
Lord Hepipud
f908d5b2bd Adds function for easier include/exclude filtering 2022-07-12 13:33:02 +02:00
Lord Hepipud
5263f0cddc
Merge pull request #532 from Icinga:fix/exceptions_for_missing_Cmdlets_on_encapsulated_calls
Fix: Exceptions on encapsulated PowerShell calls for missing Cmdlets

Fixes errors on encapsulated PowerShell calls for missing Cmdlets `Write-IcingaConsoleError` and `Optimize-IcingaForWindowsMemory`, while trying to restart services or appling configurations which require a new PowerShell session.
2022-06-08 16:50:54 +02:00
Lord Hepipud
02d1e71032 Fixes errors on encapsulated PowerShell calls 2022-06-08 16:48:19 +02:00
Lord Hepipud
b85f282f0b Updates changelog for v1.9.2 2022-06-03 17:12:58 +02:00