Commit graph

1320 commits

Author SHA1 Message Date
Lord Hepipud
6f89f198f6
Merge pull request #207 from Icinga:feature/customize_check_label
Adds feature to customize label for checks

Adds new Argument `-LabelName` to `New-IcingaCheck`, allowing the developer to provide custom label names for checks and override the default based on the check name.
2021-02-23 13:48:03 +01:00
Lord Hepipud
b6da72b2b4 Adds feature to customize label for checks 2021-02-23 13:46:52 +01:00
Lord Hepipud
ec65665c25
Merge pull request #206 from Icinga:fix/background_service_checks_not_working
Fix: Background service check daemon data pool separation and memory leak

Improves the background daemon by separating each single configured check into an own data pool, preventing data of leaking from one thread to another which might cause a memory leak in long term with plenty of background checks defined.

This might also reduce CPU impact because lesser data has to be processed.
2021-02-23 11:02:17 +01:00
Lord Hepipud
b9eca3a259 Fix background service daemon; fix memory leak 2021-02-23 10:58:03 +01:00
Lord Hepipud
0a57bce802
Merge pull request #205 from Icinga:feature/open_config_file_as_readonly
Feature: Ensure config.json is opened as read-only

In some cases it can happen that multiple processes access our config file. By default `Get-Content` is not thread save and might result in errors while reading the file content.

In general we should use a read-only attempt for the config.json and write it only if required.
2021-02-22 17:34:14 +01:00
Lord Hepipud
80051d6732 Ensure config.json is opened as read-only 2021-02-22 17:31:58 +01:00
Lord Hepipud
9a1c187e90
Merge pull request #180 from Icinga:feature/split_thread_content_local_usage_only
Feature: Ensure thread results are separated from each other by default

In case multitple background daemons are running and executing check plugins, it can happen that results overlap from one thread to another. A CPU check might then include information from another service check for example.

We fix this by locking each check result data into an own thread, preventing other threads from accessing the data.
2021-02-22 16:56:20 +01:00
Lord Hepipud
b5d518dff9 Use non-shared globals for check results 2021-02-22 16:54:39 +01:00
Lord Hepipud
4c859cf184
Merge pull request #203 from Icinga:doc/adds_code_cache_docs
Adds code caching docs and removes experimental

Removes experimental state of the Icinga PowerShell Framework code caching and adds docs on how to use the feature
2021-02-10 16:40:51 +01:00
Lord Hepipud
27e8bca974 Adds code caching docs and removes experimental 2021-02-10 16:39:59 +01:00
Lord Hepipud
ee03d742b5
Merge pull request #198 from Icinga:feature/add_support_to_flush_api_directory_by_cmdlet
Feature: Adds Cmdlet to flush Icinga Agent API directory
2021-02-10 16:13:27 +01:00
Lord Hepipud
60043734b3 Adds support to flush API dir by Cmdlet 2021-02-10 16:12:27 +01:00
Lord Hepipud
3c06c5e12a
Merge pull request #202 from Icinga:fix/Ignore-SSL-Errors
Docs: Ignore SSL-Errors documentation
2021-02-10 16:03:13 +01:00
Lord Hepipud
61c98f7493 Docs: Ignore SSL-Errors documentation
Fixes #199
2021-02-10 16:01:44 +01:00
Lord Hepipud
eabf0008f2
Merge pull request #201 from Icinga:doc/kb_entry_for_self-service_api_errors
Doc: Adds KB entry for Self-Service API errors
2021-02-09 16:46:13 +01:00
Lord Hepipud
119eab2257 Adds KB entry for Self-Service API errors 2021-02-09 16:45:11 +01:00
Lord Hepipud
17cc5d9132 Merge branch 'support/1.3' 2021-02-03 12:18:13 +01:00
Lord Hepipud
29fa30338d Updates version to 1.3.1 2021-02-03 12:12:24 +01:00
Lord Hepipud
077179ccce Fix Icinga 2 .conf file generator
Fixes Get-IcingaCheckCommandConfig -IcingaConfig generates invalid configuration file #181
2021-02-03 11:59:39 +01:00
Lord Hepipud
c7d0a923a2 Prefer starttype of services fetching over WMI 2021-02-03 11:59:27 +01:00
Lord Hepipud
d164fae558 Disables PowerShell progress bar on init 2021-02-03 11:59:17 +01:00
Lord Hepipud
4a77fce45a Fixes Agent installer exception on file checks
Fixes #183
2021-02-03 11:59:06 +01:00
Yonas Habteab
4e6a9689ec Fix backslashes in the url path causes an error 2021-02-03 11:58:53 +01:00
Lord Hepipud
dfaa1ee31e Fixes wrong user group for Performance Counter 2021-02-03 11:58:29 +01:00
Lord Hepipud
20c28b25e0 Removes hardcoded global zones 2021-02-03 11:58:07 +01:00
Lord Hepipud
059fceac4d
Merge pull request #196 from Icinga/fix/icinga2_conf_file_generator_prints_invalid_config
Fix: Icinga 2 .conf file generator is generating invalid files
2021-02-03 11:48:10 +01:00
Lord Hepipud
bd8c241961 Fix Icinga 2 .conf file generator
Fixes Get-IcingaCheckCommandConfig -IcingaConfig generates invalid configuration file #181
2021-02-03 11:47:17 +01:00
Lord Hepipud
250e1a7eab
Merge pull request #192 from Icinga/fix/fetch_service_startup_type_over_wmi_instead_of_get_services
Fix: Prefer startup type of services fetching over WMI instead of Get-Services
2021-01-29 12:02:28 +01:00
Lord Hepipud
116e6097b8 Prefer starttype of services fetching over WMI 2021-01-29 11:54:26 +01:00
Lord Hepipud
a9cccabb37
Merge pull request #197 from Icinga:fix/disables_progressbar_while_using_Icinga_for_Windows
Fix: Disables PowerShell Progress bar while using Icinga for Windows

In some cases progress bar output for certain activities might be printed into the plugin output. The best option is to disable it entirely while using Icinga for Windows, as we have no use for it.

Fixes #185
2021-01-27 15:35:50 +01:00
Lord Hepipud
242c399da4 Disables PowerShell progress bar on init 2021-01-27 15:33:59 +01:00
Lord Hepipud
856e7624cc
Merge pull request #195 from Icinga/fix/installer_crash_on_agent_msi_installer_package_detection
Fix: Agent installer crash on package lookup with different files in directory
2021-01-26 16:29:01 +01:00
Lord Hepipud
864c9fad92 Fixes Agent installer exception on file checks
Fixes #183
2021-01-26 16:27:50 +01:00
Lord Hepipud
b614b5aaf0
Merge pull request #187 from Icinga/bugfix/fix-backslashes-in-url-path-causes-error-186
Fix backslashes in the url path causes an error
2021-01-26 16:14:00 +01:00
Yonas Habteab
0fdb3b1bf9 Fix backslashes in the url path causes an error 2021-01-26 16:02:14 +01:00
Lord Hepipud
12687bd30a
Merge pull request #193 from Icinga/feature/adds_ms_support_for_get_icinga_unix_time
Feature: Add optional support for adding milliseconds to Get-IcingaUnixTime

Adds support to add milliseconds to the result of `Get-IcingaUnixTime` which might come in handy for more time depending tasks.
2021-01-21 15:53:51 +01:00
Lord Hepipud
a1e6a780af Adds support for ms on Unix Time 2021-01-21 15:51:24 +01:00
Lord Hepipud
7448e9806e
Merge pull request #189 from Icinga:fix/wrong_user_access_group_for_performance_counter
Fix: Wrong user group for Performance Counter permissions
2021-01-15 16:52:34 +01:00
Lord Hepipud
b3f0b1cad0 Fixes wrong user group for Performance Counter 2021-01-15 16:51:52 +01:00
Lord Hepipud
0f2ea224d1
Merge pull request #188 from Icinga:fix/removes_hardcoded_global_zones
Fix: Removes hardcoded global zones
2021-01-15 16:09:42 +01:00
Lord Hepipud
94898ff893 Removes hardcoded global zones 2021-01-15 15:53:59 +01:00
Lord Hepipud
80f31cc1e6
Merge pull request #179 from Icinga:doc/update_roadmap_with_blogpost
Doc: Updates roadmap with blog post link for v1.3.0
2020-12-02 15:39:30 +01:00
Lord Hepipud
d8c48697e9 Updates roadmap with blog post link for v1.3.0 2020-12-02 15:38:31 +01:00
Lord Hepipud
bf1386bc76
Merge pull request #178 from Icinga:feature/prepare_version_1.4.0
Feature: Updates version to 1.4.0
2020-11-30 16:24:00 +01:00
Lord Hepipud
9797f406b1 Updates version to 1.4.0 2020-11-30 16:23:14 +01:00
Lord Hepipud
18f5ad8005
Merge pull request #177 from Icinga:fix/allow_domain_accounts_for_wmi_permissions
Fix: Allow usage for domain accounts for wmi permissions without being locally known
2020-11-30 15:07:57 +01:00
Lord Hepipud
17e320d3da Fixes usage for domain accounts for wmi permission 2020-11-30 15:07:05 +01:00
Lord Hepipud
0618d30d99
Merge pull request #176 from Icinga:doc/Updates-roadmap,-docs-and-release-dates
Doc: Updates Docs, Roadmap and Release Dates for v1.3.0
2020-11-30 09:57:53 +01:00
Lord Hepipud
26eedb7bd5 Updates docs/roadmap 2020-11-30 09:56:30 +01:00
Lord Hepipud
e02a2fe6e3
Merge pull request #175 from Icinga:docs/add_ui_path_configuration_to_kb
Doc: Adds UI configuration description for path environment variable
2020-11-27 17:42:45 +01:00