Commit graph

1434 commits

Author SHA1 Message Date
Lord Hepipud
60ff633392 Fixes plain Icinga config generation 2021-06-09 13:13:31 +02:00
Lord Hepipud
375a4e70cf
Merge pull request #277 from Icinga:fix/input_conversion_decimal
Fix: Input value decimal conversion

Fixes check value conversion to decimal, which sometimes did not resolve values properly and caused conversion issues
2021-06-04 13:26:51 +02:00
Lord Hepipud
0ca98758fc Fixes input value decimal conversion 2021-06-04 13:25:27 +02:00
Lord Hepipud
d9a66f0f94
Merge pull request #283 from Icinga:fix/string_builder_initialization
Fix: String builder creation on older windows machines

Fixes issue on `System.Text.StringBuilder` which fails to initialize properly on some older Windows systems
2021-06-04 13:21:54 +02:00
Lord Hepipud
7039cec560 Fixes string build creation on old windows systems 2021-06-04 13:21:26 +02:00
Lord Hepipud
61eacf6a2d
Merge pull request #280 from jlownie/patch-3
Docs: fix typo on manual integration page 02-Manual-Integration.md
2021-06-04 10:40:46 +02:00
Lord Hepipud
cf8dee848c
Merge pull request #278 from jlownie/patch-1
Docs: Update 04-Icinga-Agent-Wizard.md
2021-06-04 10:38:03 +02:00
jlownie
226713b4bd
Fixed another typo
Meassurement - measurement
2021-06-04 14:45:41 +10:00
jlownie
51ce681f77
Docs: fix typo on manual integration page 02-Manual-Integration.md
changed "automaticly" to "automatically"
2021-06-04 12:14:00 +10:00
jlownie
2e53a50bf1
Update 04-Icinga-Agent-Wizard.md
I think this is useful (possibly essential?) information and doesn't seem to be documented anywhere, so I have submitted this change.  It would have helped me a lot.

Related forum discussion:
https://community.icinga.com/t/icinga-for-windows-self-service-api-key/7490/2
2021-06-04 11:34:48 +10:00
Lord Hepipud
56ac5f9a64 Sets version to 1.6.0 2021-06-02 13:39:26 +02:00
Lord Hepipud
4c07ecd399 Fix docs for Icinga homepage 2021-06-02 13:06:49 +02:00
Lord Hepipud
d59ef8a297
Merge pull request #275 from Icinga:doc/adds_perflib_error_kb
Docs: Adds PerfLib error IWKB000008

Adds knowledge base IWKB000008 for `Perflib`, `PerfNet` and `PerfProc` errors/warnings with EventId `1008`, `2002` and `2004`
2021-06-02 12:29:55 +02:00
Lord Hepipud
4d415e555d Adds PerfLib error IWKB 2021-06-02 12:28:36 +02:00
Lord Hepipud
72194a1f6d Updates changelog 2021-06-02 12:08:14 +02:00
Lord Hepipud
2e9158d922
Merge pull request #274 from Icinga:doc/update_docs_for_1.5.0
Docs: Update docs to 1.5.0 and add more usage exmaples
2021-06-02 11:02:51 +02:00
Lord Hepipud
f573d62f94 Updates doc for 1.5.0 2021-06-02 09:50:31 +02:00
Lord Hepipud
212a80cf24
Merge pull request #270 from Icinga:fix/framework_root_folder_lookup
Fix: Framework root folder lookup

Fixes `Icinga PowerShell Framework` root folder lookup, in case the module was installed with PowerShell gallery, which creates version folders for each installed version
2021-06-01 17:14:24 +02:00
Lord Hepipud
dfda9154e1 Fix Framework root folder lookup 2021-06-01 17:12:47 +02:00
Lord Hepipud
6edd99c432
Merge pull request #272 from Icinga:fix/exception_on_time_conversion
Fix: Exception on time conversion in case first letter matches time metric
2021-06-01 16:24:50 +02:00
Lord Hepipud
8f16291fb5 Fixes exception on time conversion 2021-06-01 16:23:15 +02:00
Lord Hepipud
bb9971c26c Updates module manifest 2021-06-01 12:07:36 +02:00
Lord Hepipud
e4dcd9f9f5
Merge pull request #271 from Icinga:fix/StackOverflowException
Fix: StackOverflowException on invalid ThresholdInterval

By using an invalid `-ThresholdInterval` argument, PowerShell will terminate itself with `StackOverflowException`, caused by a loop while creating default threshold values.
2021-05-31 18:57:09 +02:00
Lord Hepipud
2009fa9340 Fixes StackOverflowException 2021-05-31 18:55:40 +02:00
Lord Hepipud
16d2677c4f Fixes array handling for checks 2021-05-31 17:51:13 +02:00
Lord Hepipud
e21011f564
Merge pull request #269 from Icinga:fix/icinga_cache_permission_handling
Fix: Unhandled exception on Icinga Cache

Fixes unhandled exception on `Set-IcingaCacheData`, as the `-ErrorAction Stop` argument was not set and therefor the function never halted on errors.
2021-05-31 16:07:33 +02:00
Lord Hepipud
e3867ec4eb Fixes unhandled exception on Icinga Cache 2021-05-31 16:05:01 +02:00
Lord Hepipud
1ab41f1243
Merge pull request #268 from Icinga:feature/ensure_output_of_number_is_numeric
Feature: Ensure numbers are printed as numeric with . instead of ','
2021-05-31 16:01:58 +02:00
Lord Hepipud
e840d81148 Ensure numbers are printed as numeric with . 2021-05-31 15:58:42 +02:00
Lord Hepipud
955c2b31f5
Merge pull request #267 from Icinga:feature/add_colon_if_not_set
Fix: Double colon is added, even if check name already contains it
2021-05-31 15:41:56 +02:00
Lord Hepipud
eb81a12963 Fix double colon if added by check 2021-05-31 15:39:52 +02:00
Lord Hepipud
67a8908cb2
Merge pull request #266 from Icinga:fix/only_add_maximum_if_set
Fix: Perf data should only add maximum if it was set before
2021-05-31 15:26:27 +02:00
Lord Hepipud
6537277d89 Fix perf data to add maximum if set only 2021-05-31 15:24:53 +02:00
Lord Hepipud
3cce6caed1
Merge pull request #265 from Icinga:fix/negative_time_spawn_microsecond_addition_and_test_numeric_update
Fix: Test-Numeric allows no negative value and TimeSpan conversion ignores negatives and microseconds

Fixes `Test-Numeric` to now accept negative numeric values and als fixes errors, causing `.` to be allowed multiple times. `ConvertFrom-TimeSpan` now properly prints on negative values if the time provided is positive or negative and also prints microseconds as `us` in case the value is loer than `1ms`
2021-05-31 11:02:54 +02:00
Lord Hepipud
8b1441df3a Fixes Test-Numeric for negative, adds microseconds 2021-05-31 10:55:49 +02:00
Lord Hepipud
7ade142966
Merge pull request #264 from Icinga:feature/add_first_handling_for_network_speed_units
Feature: Adds first handling for Framework link speeds

Adds initial handling for handling link speeds or anything else by using new units and conversions, which were formerly used inside the Network plugin and corresponding provider.
2021-05-29 14:27:19 +02:00
Lord Hepipud
28b78c1ec1 Adds first handling for Framework link speeds 2021-05-29 14:27:03 +02:00
Lord Hepipud
411ce69223
Merge pull request #263 from Icinga:fix/remove_colon_at_package_message_without_content
Fix: Removes colon at the end of the packlage summary

Removes the `:` at the end of a package message, in case no additional text input is present on this line
2021-05-29 12:59:52 +02:00
Lord Hepipud
f9012f3094 Fixes colon at package message and on no message 2021-05-29 12:57:41 +02:00
Lord Hepipud
9b5c64eacb
Merge pull request #262 from Icinga:fix/another_input_value_to_decimal_fix
Fix: Input value from check objects was sometimes not properly converted to decimal

Fixes input value conversion to `decimal` for check input values.
2021-05-29 11:36:07 +02:00
Lord Hepipud
050461d802 Fixes an issue with input value decimal conversion 2021-05-29 11:33:44 +02:00
Lord Hepipud
d78a7a77b8
Merge pull request #261 from Icinga:fix/perfdata_for_unprocessed_checks_was_not_added
Fix: Performance Data was not written for checks which were not compared to a threshold

Fixes an issue for Performance Data, which mainly occurs for hidden packages and checks, as there was no action taking place to "use" the provided value in someway. This caused the performance data object not being generated and threfor was not added to the check output.
2021-05-29 11:22:38 +02:00
Lord Hepipud
8c48ed570b Fixes perfdata not written for unprocessed checks 2021-05-29 11:20:10 +02:00
Lord Hepipud
0a28e25ab0
Merge pull request #260 from Icinga:fix/numeric_conversion_for_comparison
Fix: Numeric converison to comparing thresholds is incorrect

Fixes values to be transformed properly to `decimal` to compare them against thresholds provided
2021-05-29 10:57:54 +02:00
Lord Hepipud
f6480e37c6 Fixes numeric converison to comparing thresholds 2021-05-29 10:55:56 +02:00
Lord Hepipud
53f75e8252
Merge pull request #259 from Icinga:fix/properly_format_time_span_string_values
Fix: Missing rounding for time span values

We should round time span values converted to string to transform `22,8934057h` to `22,89h` for example
2021-05-29 00:08:58 +02:00
Lord Hepipud
1761eedcad Fix missing rounding for time span values 2021-05-29 00:07:25 +02:00
Lord Hepipud
8288cc4833
Merge pull request #258 from Icinga:fix/header_summary_considers_hidden_packages
Fix: Header summary should not include hidden packages/elements

Fixes header summary to no longer count in hidden elements for status counts
2021-05-28 23:52:41 +02:00
Lord Hepipud
e63bf3cbea Fixes header summary, no longer counts hidden 2021-05-28 23:50:54 +02:00
Lord Hepipud
b6c699f5de
Merge pull request #257 from Icinga:fix/threshold_conversion_generic_unit_exception
Fix: Unhandled units might cause exception on maximum compare

Unhandled units like `c` are causing exceptions, in case they are used as maximum or base value.
2021-05-28 23:39:03 +02:00