Lord Hepipud
440a04659c
Fix: Possible crash on assembly fetching for third party assemblies ( #815 )
...
* Fixes possible crash on assembly fetching for third party assemblies
* Updates Changelog
2025-06-16 13:34:05 +02:00
Lord Hepipud
3cd4f0d1d6
Fixes config compiler to always use Switchparameter for switch argument
2025-04-22 15:31:40 +02:00
Lord Hepipud
aa5c06bbd6
Fixes Icinga for Windows being stuck while fetching service information if other services block CIM requests
2025-04-22 14:46:41 +02:00
Lord Hepipud
f2f935ff90
Merge pull request #799 from Icinga:fix/icinga_check_value_conversion_incorrect
...
Fix: Wrong performance data values on unit conversion
Fixes an issue with the new check handling, which did not properly convert values from checks to the correct performance data values and base values in some cases
2025-04-22 09:46:49 +02:00
Lord Hepipud
6bfab3bda1
Updates documentation
2025-04-11 12:09:21 +02:00
Lord Hepipud
63c6c8e710
Fixes input value conversion for New-IcingaCheck to properly handling different unit types
2025-04-10 10:21:03 +02:00
Lord Hepipud
295fa00b12
Reworks handling on how plugin thresholds are interpreted
2024-08-29 14:53:37 +02:00
Lord Hepipud
0ca3ed5029
Fixes service provider for brackets in service names
2024-08-15 15:07:46 +02:00
Lord Hepipud
35d61ef2d9
Adds support to check encoding of files
2024-08-14 17:00:45 +02:00
LordHepipud
a2294b3ce4
Fixes repository error handling and JSON error handling
2024-04-09 18:02:27 +02:00
Lord Hepipud
cd4bc7a01d
Adds new command to test the functionality of Icinga for Windows
2024-03-25 19:19:53 +01:00
Lord Hepipud
c6159090e5
Adds feature to use pipes and multi lines for plugin documentation
2024-03-22 12:10:42 +01:00
Alexander A. Klimov
bb435dcb58
Get-IcingaCheckCommandConfig: move -C from every single command to template
2024-03-04 17:35:07 +01:00
Lord Hepipud
f59f146bee
Fixes memory leak in EventLog fetcher
2023-11-15 14:33:46 +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
LordHepipud
a29d66dbd9
Fixes config writer publishing invalid Icinga plain config
2023-08-07 20:05:01 +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
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
LordHepipud
4c7012b8da
Fixes config generator custom variable too long message
2023-07-24 23:20:35 +02:00
Lord Hepipud
6de511c9fb
Adds new plugin data provider handling and cpu data
2023-07-24 18:44:36 +02:00
Lord Hepipud
a11e6405d3
Adds docs and adds plain config writer for ifw-api support
2023-07-24 11:16:34 +02:00
Alexander A. Klimov
e17adcce54
Get-IcingaCheckCommandConfig: provide vars.ifw_api_arguments in each command
...
to properly support just importing the ifw-api command.
That command e.g. takes DSL/JSON arrays [], not PS ones @(). Similar with strings.
Therefore set vars.ifw_api_arguments as ifw-api expects.
2023-06-06 14:52:32 +02:00
Alexander Aleksandrovič Klimov
3aab2dd83a
Get-IcingaCheckCommandConfig: fix copy&paste error
...
Pass -NoLogo and -NoProfile once, not -NoLogo twice.
2023-06-01 12:11:30 +02:00
Lord Hepipud
7942e38d8c
Fixes plugin failure for switch args with ThresholdInterval
2023-05-05 16:18:48 +02:00
Lord Hepipud
5135989169
Fixes config generator to not use set_if = true
2023-03-08 13:49:24 +01:00
Lord Hepipud
891be452c5
Fixes service exclude filter
2023-01-14 10:43:05 +01:00
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
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
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
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
8c5f9b5f21
Fixes negative thresholds interpreted as argument
2022-08-22 17:15:25 +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
f908d5b2bd
Adds function for easier include/exclude filtering
2022-07-12 13:33:02 +02:00
Lord Hepipud
9a2e793be8
Fix GC collection on every REST connection
2022-04-06 13:59:31 +02:00
Lord Hepipud
ecc11128cb
Fixes errors while dynamically compiling Add-Type
2022-02-09 12:16:18 +01:00
Lord Hepipud
c96d49551e
Fixes Get-IcingaService StartType with wildcards
2022-01-27 22:05:32 +01:00
Lord Hepipud
586b55adc0
Improves show commands and extends Show-Icinga
2022-01-27 21:06:13 +01:00
Lord Hepipud
71269705cf
Adds feature to sort arrays without ScriptBlocks
2022-01-27 19:37:40 +01:00
Lord Hepipud
cf52e6372e
Fixes progress status writer by reworking
2022-01-27 15:34:17 +01:00
Lord Hepipud
4ef55bddb4
Fixes lots of code styling, spelling and script analyzer
...
Disabling UseConsistentIndentation because it is not
properly working for multi-line commands with arguments
and array/hashtable objects
2022-01-14 22:26:53 +01:00
Lord Hepipud
5ed5f0b5e2
Fixes Icinga for Windows memory leak
2021-12-09 17:22:48 +01:00
Lord Hepipud
32c4541397
Improves testing if Add-Type is already loaded
2021-11-25 13:12:57 +01:00
Lord Hepipud
cf2125d7a2
Use alias for args name on config generation
2021-10-28 17:28:41 +02:00