Commit graph

171 commits

Author SHA1 Message Date
Lord Hepipud
01b39ea514 Supress other messages then plugin output 2021-05-19 09:19:43 +02:00
Lord Hepipud
527b3951ba
Merge pull request #238 from Icinga:fix/Exit-IcingaExecutePlugin-throws-exception-for-localized-PerfCounters
Fix: Exit-IcingaExecutePlugin throws exception for localized PerfCounters

Encoding for REST-Api check calls was wrong during queue and while reading the result. We will now enfore UTF8 in both ways.

Fixes #232
2021-05-11 09:50:13 +02:00
Lord Hepipud
41f8b2a7e5 Adds stacktrace for plugin runtime error 2021-05-07 14:34:39 +02:00
Lord Hepipud
0b6e2235ed Exit-IcingaExecutePlugin throws exception for localized PerfCounters
Fixes #232
2021-05-04 17:36:31 +02:00
Lord Hepipud
bcb24e088a Force new TLS version for REST 2021-05-04 17:33:39 +02:00
Lord Hepipud
7bd8dccff8 Fixes missing attributes for services 2021-05-04 15:05:24 +02:00
Lord Hepipud
c9f657a413 Adds feature to hide SecureString in Director 2021-05-04 10:38:54 +02:00
Lord Hepipud
89764e5ba5 Adds Cmdlet for analysing EventLog content 2021-04-28 15:23:30 +02:00
Lord Hepipud
48d2249605 Adds support to allow custom exception lists 2021-04-28 09:44:40 +02:00
Lord Hepipud
8eb8467dad Updates changelog 2021-03-10 08:36:35 +01:00
Lord Hepipud
4909f87708 Fixes ConvertTo-IcingaSecureString exceptions 2021-03-10 08:32:55 +01:00
Lord Hepipud
87f7fec085 Updates version to v1.5.0 2021-03-10 08:31:12 +01:00
Lord Hepipud
637d06e05d Fix memory leak on background service daemon 2021-03-10 07:52:55 +01:00
Lord Hepipud
20a4c8d4d3 Fixes ConvertTo-IcingaSecureString exceptions 2021-03-10 07:52:35 +01:00
Lord Hepipud
ccf00b5fff Updates changelog and upgrading docs 2021-03-01 14:19:29 +01:00
Lord Hepipud
33aca914b4 Fixes wrong variable used for API check request 2021-03-01 12:38:35 +01:00
Lord Hepipud
e7c341e30a Fix wrong plugin not installed unknown checkresult 2021-03-01 12:07:57 +01:00
Lord Hepipud
ed43260bec Changelog update 2021-03-01 11:17:53 +01:00
Lord Hepipud
c4f6fcc1fd Adds experimental Feature "Management Console" 2021-03-01 11:15:21 +01:00
Lord Hepipud
1638465b06 Adds feature to uninstall Icinga for Windows 2021-02-24 14:21:40 +01:00
Lord Hepipud
7b847bdb78 Adds experimental feature for internal API checks 2021-02-24 12:49:37 +01:00
Lord Hepipud
742d7e06ce Fixes DSL for building array elements escaped 2021-02-24 09:33:04 +01:00
Lord Hepipud
e7c33d225f Fixes plugin threshold conversion and adds % unit 2021-02-23 17:25:47 +01:00
Lord Hepipud
b6da72b2b4 Adds feature to customize label for checks 2021-02-23 13:46:52 +01:00
Lord Hepipud
b9eca3a259 Fix background service daemon; fix memory leak 2021-02-23 10:58:03 +01:00
Lord Hepipud
80051d6732 Ensure config.json is opened as read-only 2021-02-22 17:31:58 +01:00
Lord Hepipud
b5d518dff9 Use non-shared globals for check results 2021-02-22 16:54:39 +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
17cc5d9132 Merge branch 'support/1.3' 2021-02-03 12:18:13 +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
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
116e6097b8 Prefer starttype of services fetching over WMI 2021-01-29 11:54:26 +01:00
Lord Hepipud
242c399da4 Disables PowerShell progress bar on init 2021-01-27 15:33:59 +01:00
Lord Hepipud
864c9fad92 Fixes Agent installer exception on file checks
Fixes #183
2021-01-26 16:27:50 +01:00
Yonas Habteab
0fdb3b1bf9 Fix backslashes in the url path causes an error 2021-01-26 16:02:14 +01:00
Lord Hepipud
a1e6a780af Adds support for ms on Unix Time 2021-01-21 15:51:24 +01:00
Lord Hepipud
b3f0b1cad0 Fixes wrong user group for Performance Counter 2021-01-15 16:51:52 +01:00
Lord Hepipud
94898ff893 Removes hardcoded global zones 2021-01-15 15:53:59 +01:00
Lord Hepipud
9797f406b1 Updates version to 1.4.0 2020-11-30 16:23:14 +01:00
Lord Hepipud
17e320d3da Fixes usage for domain accounts for wmi permission 2020-11-30 15:07:05 +01:00
Lord Hepipud
26eedb7bd5 Updates docs/roadmap 2020-11-30 09:56:30 +01:00
Lord Hepipud
0257ace1ee Adds support for new Director SelfService config 2020-11-25 10:20:01 +01:00
Lord Hepipud
4c628c737e Fixes error while writing too large eventlog msges 2020-11-25 10:02:36 +01:00
Lord Hepipud
0456da29fa Fixes release fetching of Agent; Support local src 2020-11-24 16:43:11 +01:00
Lord Hepipud
0aa1d57745 Fix Agent certificate fetching for REST-Api 2020-11-24 14:01:13 +01:00
Lord Hepipud
2f281b8fe0
Merge branch 'master' into feature/icinga2_plain_config_generator 2020-11-24 12:38:51 +01:00
Lord Hepipud
3c82757f1f Adds native Icinga config support, publish cmdlet
Adds native support for writing Icinga 2 configuration for plugins and allows to easy publish new configurations for modules with the new Cmdlet Publish-IcingaPluginConfiguration
2020-11-24 12:34:28 +01:00
Lord Hepipud
8a0cddccc2
Merge branch 'master' into feature/support_knowledgebase_id_on_exception 2020-11-24 12:13:32 +01:00
Lord Hepipud
3e5fe3d4f5 Adds support for knowledge base id on exceptions 2020-11-24 12:09:34 +01:00
Lord Hepipud
5dd1167549 Adds exit to Windows Terminal integration 2020-11-23 16:41:25 +01:00
Lord Hepipud
ba131e7bef Adds error on config generator for 64 digit args 2020-11-20 15:13:32 +01:00
Lord Hepipud
7f86e2691a Fixes crash during update due to code cache 2020-11-20 08:23:29 +01:00
Lord Hepipud
c38930c2de
Merge branch 'master' into feature/Feature-Requests-Add-Proxy-Server-support 2020-11-19 17:21:58 +01:00
Lord Hepipud
3d875639e4 Feature Requests: Add Proxy Server support
Also re-arranges web content by using old content from lib/web into lib/webserver, while new lib/web contains the proxy configuration.
Fixes #19
2020-11-19 17:16:33 +01:00
Lord Hepipud
33caeb7ce6 Feature: Allow sharing of local variables with Icinga Shell
Fixes #121
2020-11-19 13:44:56 +01:00
Lord Hepipud
3ae042b3c4 Adds debug output to eventlog for Wmi calls 2020-11-19 13:03:41 +01:00
Lord Hepipud
8d4e66f1c6
Merge branch 'master' into feature/add_code_cache_for_faster_framework_loading 2020-11-18 18:58:05 +01:00
Lord Hepipud
5060dec97a Fixes array handling for ValidateSet
Empty arrays will now properly be rendered as empty array with @()
instead of $null. In addition the config renderer now also supports
ValidateSet for array entries
2020-11-18 18:18:16 +01:00
Lord Hepipud
f9f095e16b Adds support to add/remove/test Wmi permissions
You can now use 'Add-IcingaWmiPermissions' to add permissions for a
specific user and namespace and remove them with
'Remove-IcingaWmiPermissions'
2020-11-18 14:48:31 +01:00
Lord Hepipud
a5e7e2b0dc Fix error on SSL reconfigure for name changes 2020-11-12 15:50:00 +01:00
Lord Hepipud
ee4e890d2e Fixes Icinga API being disabled after cert install 2020-11-12 14:33:42 +01:00
Lord Hepipud
37c0824be5 Experimental: Adds code caching for faster loading 2020-11-06 16:06:38 +01:00
Lord Hepipud
67c7d3c8e0
Merge pull request #60 from Icinga/feature/network_routes
Bugfix: Handle multiple network interfaces on discovery and add support for Windows 2008 R2

* Fixes issue on hosts with mulitple interfaces that provide virtual interfaces, causing problems on Director Self-Service creation
* Adds support for Windows 2008 R2
2020-11-06 15:23:27 +01:00
Lord Hepipud
162f8102fb Fixes multi interface support on interface discover
* Fixes issue on hosts with mulitple interfaces that provide virtual
interfaces, causing problems on Director Self-Service creation
* Adds support for Windows 2008 R2
2020-11-06 15:21:10 +01:00
Yonas Habteab
9a42c9efa1 Check whether or not a specific wmi class exists
Tests if a specific WMI class including the Namespace can be accessed
and returns status codes for possible errors/exceptions taht might
occure. Returns binary operator values for easier comparison. In case
no errors occured it will return $TestIcingaWindowsInfoEnums.TestIcingaWindowsInfo.Ok
2020-11-05 15:53:44 +01:00
Yonas Habteab
98603071ab Disable OnSameLine & don't check space before open brace
Because the script analyzer often complains that we can always use the
function open brace on the same line as the function name, which is not
the case, I finally decided to correct this today. I set the attribute
OnSameLine to False and disabled the check for space before open Brace.
2020-11-05 13:34:14 +01:00
Lord Hepipud
49d9c6000d Adds generic Cmdlet to convert Icinga Thresholds 2020-11-03 13:39:13 +01:00
Lord Hepipud
70def91d9d Fixes version fetching for unloaded modules 2020-11-02 12:58:54 +01:00
Lord Hepipud
5e0ca2e8ad Adds feature to open an Icinga Shell as other user 2020-10-30 15:11:01 +01:00
Lord Hepipud
4bc03b6bfa Fixing value overflow for Convert-Bytes 2020-10-30 09:56:33 +01:00
Yonas Habteab
06aad754a7 Compare current time with DateTime object 2020-10-29 15:33:55 +01:00
Lord Hepipud
082fc18555 Adds support to ignore empty check packages 2020-10-15 15:19:55 +02:00
Lord Hepipud
744e21b2c7 Fix crash on background checks on perf data cache 2020-10-01 16:49:58 +02:00
Lord Hepipud
854b7fd997 Fixes uncatched invisible output 2020-09-15 15:46:33 +02:00
Lord Hepipud
d2a51495b2 Fixes MSSQL error handling on Integrated Security 2020-09-15 15:41:20 +02:00
Lord Hepipud
f676e51ade Sets next version to v1.3.0 2020-08-29 08:01:21 +02:00
Lord Hepipud
dc863d7f09 Updates release date for v.1.2.0 2020-08-28 22:31:11 +02:00
Lord Hepipud
e2d58ba182 Adds Windows Terminal integration 2020-08-28 15:24:48 +02:00
Lord Hepipud
000ab6e12e Improves msg for permssion error on CIM/WMI access 2020-08-26 13:38:05 +02:00
Lord Hepipud
88048dc0a0 Adds function to fetch help of Performance Counter 2020-08-22 15:11:54 +02:00
Lord Hepipud
2e2cc3e604
Merge pull request #104 from Icinga:fix/perfdata_values_output
Fix perf data output on variable overflow

This will resolve the issue on performance data being printed like "6.3E-05" and causing wrong metrics and errors within the log files
2020-08-21 11:16:14 +02:00
Lord Hepipud
edee954cf4 Improves Performance Counter docs and features 2020-08-20 14:28:11 +02:00
Lord Hepipud
044ba4bf03 Fix perfdata value output on variable overflow 2020-08-20 10:13:09 +02:00
Lord Hepipud
564711c1b6 Improves plugin output on verbosity levels
Fixes #99
2020-08-13 17:54:00 +02:00
Lord Hepipud
8076a373f5 Adds support for SecureString handling on plugins
Fixes #98
2020-08-13 15:45:13 +02:00
Lord Hepipud
8f8a5f7b95 Updates changelog 2020-08-13 11:39:15 +02:00
Lord Hepipud
4f2e60b287 Updates changelog 2020-08-13 10:25:53 +02:00
Christian Stein
f496aa7184 Adds changelog for Performance Counter cache and bugfixing
Fixes #96
2020-08-07 16:07:09 +02:00
Christian Stein
47272bd243 Fixes permission error on EventLog registration by printing proper error message
Fixes #81
2020-08-06 19:06:59 +02:00
Christian Stein
22f341bd26 Adds additional notes for new check configuration handling
#95
2020-08-06 18:40:38 +02:00
Christian Stein
da5ee1b8b7 Improves error handling for Framework initialising and plugin execution
Fixes #95
2020-08-06 17:46:29 +02:00
Lord Hepipud
00be110554 Adds Namespace argument for Get-IcingaWindowsInformation for additional filtering
Fixes #94
2020-08-05 19:48:18 +02:00