Commit graph

992 commits

Author SHA1 Message Date
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
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
moreamazingnick
2d02ef1baf Adds support for hostname override for old installer 2022-08-27 21:02:50 +02:00
Lord Hepipud
df6c5f6efa Deprecates Start-IcingaAgentInstallWizard 2022-08-27 20:52:44 +02:00
Lord Hepipud
4fb4c6a55f Adds filtering options for EventLog parser 2022-08-27 20:40:20 +02:00
Lord Hepipud
7fb36b9386 Fixes misleading SID error during uninstallation 2022-08-27 16:10:02 +02:00
Lord Hepipud
c5c42ef572 Fixes missing permission update for certificate directory 2022-08-27 16:04:52 +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
b846402196 Improve cache file writer with more robust handling 2022-08-27 15:28:52 +02:00
Lord Hepipud
ab0d3913c8 Fixes SecureString arguments not working with REST-Api 2022-08-27 13:07:28 +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
adde8c0c81 Improves IMC update and uninstall handling for Framework 2022-08-26 15:33:32 +02:00
Lord Hepipud
72b5d3d223 Fixes byte unit Icinga threshold exception 2022-08-24 17:16:55 +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
da31757841 Fixes automated Icinga Director installation for custom hostname 2022-08-23 16:48:20 +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
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
5fad73b4e7 Fixes Remote Sync clears RemoteSource 2022-08-18 14:17:37 +02:00
Lord Hepipud
82af4f9da4 Fixes RemoteSouce being cleared during Update-IcingaRepository 2022-08-18 14:03:45 +02:00
Lord Hepipud
8107e1152e Fixes docs for wrong argument on Install-Icinga 2022-08-18 13:34:33 +02:00
Lord Hepipud
787500c452 Fixes UTF8 encoding for plugin execution 2022-08-17 17:13:00 +02:00
Lord Hepipud
f126065cad Adds DSL parser to string arguments, fixing errors 2022-08-17 17:00:36 +02:00
RincewindsHat
4e182ca8ea Fix the creation of powershell arrays in Icinga2 configuration 2022-08-17 16:04:58 +02:00
Lord Hepipud
906d616966 Fixes null-value exception on missing background daemons 2022-08-17 14:52:40 +02:00
Lord Hepipud
9d422e8c67 Fixes uninstaller by improving location handling 2022-08-17 12:38:36 +02:00
Lord Hepipud
f908d5b2bd Adds function for easier include/exclude filtering 2022-07-12 13:33:02 +02:00
Lord Hepipud
02d1e71032 Fixes errors on encapsulated PowerShell calls 2022-06-08 16:48:19 +02:00
Lord Hepipud
55be30f52d Adds feature to test/repair the agent state file 2022-06-03 14:13:39 +02:00
Lord Hepipud
8ed242ad50 Fixes package manifest reader on Win 2012 R2 2022-06-01 16:56:12 +02:00
Lord Hepipud
8df5ab35bb Adds developer mode to prevent cache overwrite 2022-05-24 14:00:59 +02:00
Lord Hepipud
b512e26715 Adds support for service recovery 2022-05-12 16:24:11 +02:00
Lord Hepipud
1648205744 Fixes missing component import func on dev tools 2022-05-12 10:36:01 +02:00
Lord Hepipud
42d45c4d7c Removes RootModule entry from Manifest template 2022-04-27 14:02:55 +02:00
Lord Hepipud
7eba933f2f Fixes console freezes on IMC install on 2012R2 2022-04-27 13:43:48 +02:00
Lord Hepipud
fa0132f13d Adds feature to improve module isolation 2022-04-27 11:20:35 +02:00
Lord Hepipud
9a2e793be8 Fix GC collection on every REST connection 2022-04-06 13:59:31 +02:00
Tobias Deiminger
d215cfd568 Use a BlockingCollection to avoid busy loop in REST API threads
The former implementation had 5 threads permanently spinning fast
(10ms sleep) while waiting for a REST connection to process.
This causes higher load in general and it breaks systems where
"Turn on PowerShell Script Block Logging policy" is enabled,
because then each PS statement including Start-Sleep is logged -
resulting in 500 event log entries per second. It's a suggested
setting in some hardening guidelines.

We can easily replace the Queue with a BlockingCollection backed
by a ConcurrentQueue, which has the built-in feature to sleep until
there are new items. Now the REST API threads consumes zero CPU time
while waiting.
2022-03-30 11:13:03 +02:00
Lord Hepipud
e4ddbea4d6 Adds feature to detect frozen threads 2022-03-18 22:54:43 +01:00
Lord Hepipud
046074d468 Increase REST-Api default timeout from 30s to 120s 2022-03-18 17:41:37 +01:00
Lord Hepipud
ffb86acab8 Fixes Rest-Api SSL lookup for custom hostname 2022-03-17 12:26:39 +01:00
Lord Hepipud
a90151493f Adds feature checking Icinga Agent cert sign state 2022-03-17 11:36:56 +01:00