Commit graph

1133 commits

Author SHA1 Message Date
Lord Hepipud
167aa4f215 Fixes link to metrics over time docs 2022-02-07 13:23:03 +01:00
Lord Hepipud
6b38f27338 Fixes ifw uninstaller to remove service binary 2022-02-06 17:12:17 +01:00
Lord Hepipud
f923a9e6e3
Merge pull request #453 from Icinga:feature/optimize_imc
Feature: Rework IMC menu and extend feature set

Reworks the menu structure of the Icinga for Windows Management Console and makes it the default when running the command `icinga`.

For developers you can use `icinga -Shell` to receive the Icinga shell as before. In addition improves error handling of IMC, by caching all `Errors` and `Warnings` during action execution, printing them afterwards.
2022-02-04 16:13:08 +01:00
Lord Hepipud
c129bb627c Optimizes IMC and centralizes data 2022-02-04 16:11:02 +01:00
Lord Hepipud
58ed9292c6 Fixes repository order/config override on force 2022-02-03 13:36:43 +01:00
Lord Hepipud
251ff8d4e3 Fixes Icinga Agent broken state before IMC install 2022-02-03 13:04:34 +01:00
Lord Hepipud
9d388fd684 Fixes Update-Icinga between snapshot/stable 2022-01-30 14:02:00 +01:00
Lord Hepipud
6598eb0bb8 Fixes install icinga security for admin shell 2022-01-29 00:42:40 +01:00
Lord Hepipud
051ac452b3 Fixes JEA service errors not resetting themself 2022-01-29 00:27:52 +01:00
Lord Hepipud
e0fc3e52e2 Adds support for check_by_icingaforwindows.ps1 2022-01-28 23:31:23 +01:00
Lord Hepipud
954e69fde1 Reworks background daemon for JEA context 2022-01-28 21:06:18 +01:00
Lord Hepipud
c82ab620bc Fixes unhanded true output during installation 2022-01-28 09:01:38 +01:00
Lord Hepipud
c96d49551e Fixes Get-IcingaService StartType with wildcards 2022-01-27 22:05:32 +01:00
Lord Hepipud
210862e683 Fixes JEA error on no modules installed and output 2022-01-27 21:59:38 +01:00
Lord Hepipud
586b55adc0 Improves show commands and extends Show-Icinga 2022-01-27 21:06:13 +01:00
Lord Hepipud
3eac2b3080 Fixes error handling for failed module import 2022-01-27 19:53:10 +01:00
Lord Hepipud
71269705cf Adds feature to sort arrays without ScriptBlocks 2022-01-27 19:37:40 +01:00
Lord Hepipud
df9f3c890e Supresses error messages on progress status 2022-01-27 16:23:17 +01:00
Lord Hepipud
cf52e6372e Fixes progress status writer by reworking 2022-01-27 15:34:17 +01:00
Lord Hepipud
b97aca7d25 Adds command to repair Icinga Agent service 2022-01-27 13:37:13 +01:00
Lord Hepipud
fe000c020f Adds upgrade notification to service binary 2022-01-25 11:54:18 +01:00
Lord Hepipud
f6cf9492e5 Moves PerformanceCounter to private space 2022-01-25 11:26:51 +01:00
Lord Hepipud
a23a40b23f Rewrite IfW service check daemon 2022-01-25 10:00:19 +01:00
Lord Hepipud
4d4d9caf2e Adds feature to enable Api-Checks over IMC install 2022-01-24 15:16:23 +01:00
Lord Hepipud
2b61c297ea Fixes plugin doc generator file lookup 2022-01-23 13:11:21 +01:00
Lord Hepipud
8244c2d440 Moves IfW EventLog out of Application log 2022-01-21 18:40:32 +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
dd2d71ee07 Remove experimental for API Checks and module note 2022-01-14 20:53:16 +01:00
Lord Hepipud
bf8d6479a9
Merge pull request #419 from Icinga:fix/managed_user_lookup_time
Fix: Icinga Managed User lookup time

Fixes the lookup time if a user is managed by Icinga for Windows or not in large Active Directory environments, by using \`Get\-LocalUser\` instead.

This Cmdlet is available starting with PowerShell 5.0 and later and only required in general for running Icinga for Windows in JEA context. As JEA is only supported starting with PowerShell 5.0 or later, this will not cause any problems.

In case the command is executed on an older system without the \`Get\-LocalUser\` Cmdlet available, Icinga for Windows will handle all users tested with the new implementation as \`not\` managed by Icinga for Windows.
2022-01-14 20:00:57 +01:00
Lord Hepipud
008b4920f1 Adds exeception detail reporting 2022-01-13 00:03:10 +01:00
Lord Hepipud
46bcb914fc Adds support for cert force creation over IMC 2022-01-04 21:53:28 +01:00
Lord Hepipud
55a0ce4987 Fixes repo sync by properly checking result 2022-01-04 20:55:34 +01:00
Lord Hepipud
63f24399b8 Fixes version splitting by returning major object 2022-01-04 20:25:21 +01:00
Lord Hepipud
327bb13d32 Fixes maximum user length for JEA profiles 2022-01-04 20:14:59 +01:00
Lord Hepipud
7dc1ffc3c5 Fixes lookup time for Icinga managed user 2022-01-04 02:11:39 +01:00
Lord Hepipud
0ad5031e60 Fixes crash on wrong variable usage 2022-01-04 01:28:09 +01:00
Lord Hepipud
2bbea22648
Merge pull request #405 from Icinga:fix/garbage_collector_memory_leak
Fix: Icinga for Windows memory leak

In some scenarios, Icinga for Windows can contain a memory leak, caused by a bug of the Garbage Collector in older PowerShell versions.

We resolve this by enforcing a more aggressive approach on memory cleanup and by collecting all objects being used.
2021-12-09 17:24:37 +01:00
Lord Hepipud
5ed5f0b5e2 Fixes Icinga for Windows memory leak 2021-12-09 17:22:48 +01:00
RincewindsHat
b1e2ef2052 Add missing parameters for format string 2021-12-08 17:22:50 +01:00
Lord Hepipud
32c4541397 Improves testing if Add-Type is already loaded 2021-11-25 13:12:57 +01:00
Lord Hepipud
f602b242b1 Removes unnecessary module import from namespace 2021-11-18 15:42:47 +01:00
Lord Hepipud
79d22ef127 Fixes Rest-Api address argument not being used 2021-11-16 16:28:00 +01:00
Lord Hepipud
ba2c075982 Fixes memory leak on EventLog reader 2021-11-15 12:09:14 +01:00
Lord Hepipud
83d1bbae8a Fixes repo hash generator to only include zip/msi 2021-11-11 15:56:20 +01:00
Lord Hepipud
737a8fe80c Fix web requests for repos not using icinga Cmdlet 2021-11-11 10:21:53 +01:00
Lord Hepipud
96476dbf41 Fixes object output of string builder 2021-11-10 10:29:22 +01:00
Lord Hepipud
22a6a72568 Fixes thresholdinterval data type in docs 2021-11-08 16:49:33 +01:00
Lord Hepipud
4a4c49d886 Adds function to create plugin documentation 2021-11-08 16:36:40 +01:00
Lord Hepipud
495e0d05c3 Adds developer utilities 2021-11-07 12:10:05 +01:00
Lord Hepipud
f4dd59461c Adds generic EventLog reader and IfW reader 2021-11-05 13:37:06 +01:00
Lord Hepipud
a1fdb854ec Adds support to read EventLog for logs 2021-11-04 18:51:02 +01:00
Lord Hepipud
bfd0237256 Fixes thershold interval time conversion 2021-11-03 17:23:42 +01:00
Lord Hepipud
cf2125d7a2 Use alias for args name on config generation 2021-10-28 17:28:41 +02:00
Lord Hepipud
6cb7743954 Fixes check command generator for aliases 2021-10-28 16:13:35 +02:00
Lord Hepipud
da9819de14 Fixes module not loaded exception 2021-10-27 11:01:00 +02:00
Lord Hepipud
253cb7f4dd Adds Rest-Api and Api-Checks into framework 2021-10-27 10:06:13 +02:00
Lord Hepipud
234b771fd6 Fixes repo hashes, which always had the same hash 2021-10-26 09:04:50 +02:00
Lord Hepipud
d88e61d33d Fixes error handling on IMC for invalid JSON 2021-09-24 10:24:32 +02:00
Lord Hepipud
0b544f9be7 Fixes error on last uninstall message print 2021-09-15 13:41:02 +02:00
Lord Hepipud
0b4db2ba70 Fixes config parser with dot in keys 2021-09-14 10:07:48 +02:00
Lord Hepipud
435e686127 Fixes wrong IMC indention on host address summary 2021-09-13 16:03:27 +02:00
Lord Hepipud
40cced71f2 Fixes IMC summary header from misleading title 2021-09-13 15:47:20 +02:00
Lord Hepipud
f67a5ce6dc Removes experimental warning for api check feature 2021-09-13 13:42:58 +02:00
Lord Hepipud
e29ba83778 Fixes repo lookup on local path for ifw.repo.json 2021-09-13 12:21:35 +02:00
Lord Hepipud
de0e58720b Fixes Director state not being saved on overview 2021-09-10 14:22:11 +02:00
Lord Hepipud
9de78c6222 Improves error handling on IMC for Diretor 2021-09-10 11:40:58 +02:00
Lord Hepipud
8492a39009 Fixes Icinga env corruption on Agent failure 2021-09-09 18:27:40 +02:00
Lord Hepipud
34b5d2a249 Fixes long lookups for users on large AD 2021-09-09 15:48:01 +02:00
Lord Hepipud
cc3f750956 Fixes unneeded continue on no JEA pid 2021-09-09 15:23:09 +02:00
Lord Hepipud
8a5995603a Fixes repository install from fileshare 2021-09-09 12:04:40 +02:00
Lord Hepipud
824c4f2da2 Fixes Director Self-Service no Agent install 2021-09-09 11:04:36 +02:00
Lord Hepipud
d59bed6595 Fixes plain plugin cmdlet execution on shell 2021-09-06 15:32:22 +02:00
Lord Hepipud
7614944068 Fixes compare function in Windows 2012 R2 2021-09-03 21:49:29 +02:00
Lord Hepipud
c8afe4ed4c Adds various IMC improvements 2021-09-02 13:44:17 +02:00
Lord Hepipud
c3aea7b76b Fixes component filtering for snapshots 2021-09-02 13:18:30 +02:00
Lord Hepipud
eb8ea9a497 Adds support for JEA profiles 2021-09-02 09:23:10 +02:00
Lord Hepipud
82bd5f1059 Adds extended repo management to IMC 2021-08-26 15:14:10 +02:00
Lord Hepipud
c7ff7f14ad Fixes non string values for file writer 2021-08-21 14:13:49 +02:00
Lord Hepipud
ce35afe19b Fixes file writer, which did not create files 2021-08-21 13:44:24 +02:00
Lord Hepipud
59830d9b01 Fixes config and file writer corruption 2021-08-21 13:29:13 +02:00
Lord Hepipud
8924f77c58 Adds switch to skip mkdir on scp repo sync 2021-08-20 18:26:53 +02:00
Lord Hepipud
037ccf86aa Improves debug output on TCP handling 2021-08-20 13:55:57 +02:00
Lord Hepipud
0feef9e41a Fixes repository resolving and validation 2021-08-20 13:46:47 +02:00
Lord Hepipud
c91b23d4a7 Adds support for version names for snapshots 2021-08-20 13:40:35 +02:00
Lord Hepipud
b649e2a25d Fixes freeze on IMC in case cmds are not found 2021-08-19 17:46:34 +02:00
Lord Hepipud
63be379368 Adds improvements to IMC including cmd preview 2021-08-19 17:23:07 +02:00
Lord Hepipud
4b7b86785f Fixies various Icinga Director IMC issues 2021-08-19 14:19:22 +02:00
Lord Hepipud
7861ebf565 Adds repo management to mmc 2021-08-19 09:24:46 +02:00
Lord Hepipud
8d83d81c75 Highlights advanced/help toogle in mmc 2021-08-18 22:55:26 +02:00
Lord Hepipud
15f0090c8b Adds mmc list view, kickstart filter, spelling fix 2021-08-18 18:42:47 +02:00
Lord Hepipud
6ef964bcf3 Fixes zones and CA config for Director SelfService 2021-08-17 22:59:04 +02:00
Lord Hepipud
32109f0b2b Fixes missing architecture check on installation 2021-08-17 21:48:06 +02:00
Lord Hepipud
a13567fffc Fixes Director Self-Service ticket handling 2021-08-17 17:54:44 +02:00
Lord Hepipud
78a71815b3 Adds feature to test Icinga for Windows service 2021-08-17 17:50:32 +02:00
Lord Hepipud
ae04b8013d Fixes Icinga Director on mmc 2021-08-17 15:00:23 +02:00
Lord Hepipud
d626d4fef4 Fixes remove item secure to use all args 2021-08-17 13:31:23 +02:00
Lord Hepipud
f70fc51ee3 Adds feature to force adding of repo 2021-08-17 12:08:27 +02:00
Lord Hepipud
004a6dffdf Fix installer to overwrite on automation tasks 2021-08-17 11:26:05 +02:00
Lord Hepipud
4e4281918c Fix cache 2021-08-17 10:25:37 +02:00
Lord Hepipud
e3c9396c59 Fix module import on non PS folders 2021-08-17 09:30:42 +02:00
Lord Hepipud
ed8e109fad Fixes MSI package reader on Windows 2012 R2 2021-08-13 22:46:56 +02:00
Lord Hepipud
db2b7a745b Adds repository management 2021-08-13 22:06:22 +02:00
Lord Hepipud
3afbce090e Adds array thresholds and date time support 2021-08-13 16:54:32 +02:00
Lord Hepipud
e9ba8747f8 Remove legacy import from files 2021-08-07 14:27:17 +02:00
Lord Hepipud
40aecbd6a9 Enforces Framework code caching 2021-08-06 16:08:24 +02:00
Lord Hepipud
9b371a01dc Fix long file names on Windows copy 2021-08-06 15:08:53 +02:00
Lord Hepipud
351848dc6f Relocating reconfigure menu entry 2021-08-06 13:59:02 +02:00
Lord Hepipud
cb31fe1f29 Adds feature to set listen ip, defaults localhost 2021-08-04 10:07:08 +02:00
Lord Hepipud
57e55ecada Fix exception on negative values 2021-07-27 14:56:37 +02:00
Lord Hepipud
77de5485a1 Removes password on secure.string exceptions 2021-07-16 13:15:21 +02:00
Lord Hepipud
2268d9658c Adds critical exception cmdlet and exit code catch 2021-07-16 11:47:00 +02:00
Lord Hepipud
23041ef59f Add test function for add type 2021-07-16 11:04:13 +02:00
Lord Hepipud
584e3b2eeb Fix possible security issue in service register 2021-07-09 09:24:54 +02:00
Lord Hepipud
0a09c4f388 Fixes null exception on GetBaseThresholdArguments 2021-07-05 17:50:37 +02:00
Lord Hepipud
9f423d060f Fixes service daemon not working with arguments 2021-07-01 15:41:15 +02:00
Lord Hepipud
4d161676ec Fixes NULL exception on REST message 2021-06-28 11:29:14 +02:00
Lord Hepipud
8be9bf00a7 Fixes creation of default threshold values 2021-06-09 16:04:16 +02:00
Lord Hepipud
60ff633392 Fixes plain Icinga config generation 2021-06-09 13:13:31 +02:00
Lord Hepipud
0ca98758fc Fixes input value decimal conversion 2021-06-04 13:25:27 +02:00
Lord Hepipud
7039cec560 Fixes string build creation on old windows systems 2021-06-04 13:21:26 +02:00
Lord Hepipud
dfda9154e1 Fix Framework root folder lookup 2021-06-01 17:12:47 +02:00
Lord Hepipud
8f16291fb5 Fixes exception on time conversion 2021-06-01 16:23:15 +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
e3867ec4eb Fixes unhandled exception on Icinga Cache 2021-05-31 16:05:01 +02:00
Lord Hepipud
e840d81148 Ensure numbers are printed as numeric with . 2021-05-31 15:58:42 +02:00
Lord Hepipud
eb81a12963 Fix double colon if added by check 2021-05-31 15:39:52 +02:00
Lord Hepipud
6537277d89 Fix perf data to add maximum if set only 2021-05-31 15:24:53 +02:00
Lord Hepipud
8b1441df3a Fixes Test-Numeric for negative, adds microseconds 2021-05-31 10:55:49 +02:00
Lord Hepipud
28b78c1ec1 Adds first handling for Framework link speeds 2021-05-29 14:27:03 +02:00
Lord Hepipud
f9012f3094 Fixes colon at package message and on no message 2021-05-29 12:57:41 +02:00
Lord Hepipud
050461d802 Fixes an issue with input value decimal conversion 2021-05-29 11:33:44 +02:00
Lord Hepipud
8c48ed570b Fixes perfdata not written for unprocessed checks 2021-05-29 11:20:10 +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
6b3f27fae1 Fixes unhandled units might cause exception 2021-05-28 23:36:57 +02:00
Lord Hepipud
37596459ab Fix array handling on log analyser; Adds timestamp 2021-05-28 21:09:16 +02:00
Lord Hepipud
71f54b29e7
Merge branch 'master' into feature/rewrite_exception_handler 2021-05-28 21:08:17 +02:00
Lord Hepipud
42626dab45 Rewrite exception handler 2021-05-28 21:06:33 +02:00
Lord Hepipud
a9126ce402 Re-Write execution of checks 2021-05-28 20:08:23 +02:00
Lord Hepipud
7f10d34ff0 Fixes self service for removed hosts/keys 2021-05-27 14:13:25 +02:00
Lord Hepipud
221973a964
Merge pull request #245 from haxtibal/bugfix/find_pfx_cert
Fix loading certificate from .pfx file
2021-05-25 13:08:55 +02:00
Lord Hepipud
acb8cbaf5c Stops Icinga Agent during Framework upgrade 2021-05-25 10:09:14 +02:00
Lord Hepipud
476de7d9cc
Merge pull request #254 from Icinga/bugfix/make-exception-enums-not-plugin-specific
Bugfix: Make exception enums not plugin specific
2021-05-22 10:41:39 +02:00
Yonas Habteab
581e0d1a56 Make exception enums not plugin specific 2021-05-21 17:51:59 +02:00
Lord Hepipud
47203d39c5 Feature: Inform the user if plugins are executed which are not meeting dependency requirements
Fixes #250
2021-05-21 11:02:51 +02:00
Lord Hepipud
19a6952cee Improve test if perf counter category exist 2021-05-19 15:24:48 +02:00
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
Tobias Deiminger
91e37ea16c Fix loading certificate from .pfx file
If you tried this
 Use-Icinga; Get-IcingaSSLCertForSocket -CertFile "C:/my/cert.pfx"

the former code expanded like
 $FileType = Get-Item -Path "C:/my/cert.pfx";
 if ("cert.pfx" -eq '.pfx') { ... not reached ... }

and thus did not load the certificate file.

Now use GetExtension instead of Get-Item to make the .pfx check work.
2021-05-10 09:17:46 +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
637d06e05d Fix memory leak on background service daemon 2021-03-10 07:52:55 +01:00
bieba
c69a6baf4e
fixes new-item asking for input type 2021-03-01 13:07:24 +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
c4f6fcc1fd Adds experimental Feature "Management Console" 2021-03-01 11:15:21 +01:00
Lord Hepipud
22fdf18a5d Adds Api checks docs; Removes cmdlets 2021-02-24 18:30:05 +01:00
Lord Hepipud
433511597e Renames uninstaller arg Component to Name 2021-02-24 15:12:14 +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
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
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
17e320d3da Fixes usage for domain accounts for wmi permission 2020-11-30 15:07:05 +01:00
Lord Hepipud
478d8f3566 Fixes exception output not properly constructed 2020-11-27 16:52:24 +01:00
Lord Hepipud
157e387324 Fixes Windows Updates permission exception; Add KB 2020-11-27 16:40:36 +01:00
Lord Hepipud
59e542df89 Adds installation wizard guide and overview 2020-11-27 13:58:21 +01:00
Lord Hepipud
a9e089fc44 Small fix for Icinga .conf generation 2020-11-25 12:29:52 +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
ba131e7bef Adds error on config generator for 64 digit args 2020-11-20 15:13:32 +01:00
Lord Hepipud
6606e73226 Fix invalid check if web response has errors 2020-11-20 12:03:42 +01:00
Lord Hepipud
7f86e2691a Fixes crash during update due to code cache 2020-11-20 08:23:29 +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
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
c7a7172191 Updates help for certificate installation 2020-11-10 11:02:16 +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
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
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
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
e2d58ba182 Adds Windows Terminal integration 2020-08-28 15:24:48 +02:00
Lord Hepipud
161fbb58bc Fixes MSSQL connection string on empty DB 2020-08-28 14:06:47 +02:00
Lord Hepipud
10d94690a8 Adds support to test MSSQL connections 2020-08-28 13:17:04 +02:00
Lord Hepipud
e0fc750867 Adds fetching for MSSQL instance name 2020-08-28 13:11:01 +02:00
Philipp Dorschner
bab67784fa Adds MSSQL connector 2020-08-28 09:10:23 +02:00
Lord Hepipud
eb34f2a880 Adds exception message for Windows Updates 2020-08-27 23:52:34 +02:00
Lord Hepipud
a7c0c53ba0 Adds exception for missing Perf Counter category 2020-08-27 23:02: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
cdab7f0b5a Fix error on basket render forillegal ValidateSet
Fixes #83
2020-08-12 10:38:07 +02:00
Lord Hepipud
c2ad2b6564 Fix value digit count for Performance Counters
Fixes #97
2020-08-08 14:43:49 +02:00
Christian Stein
4ada0d69f9 Adds Performance Counter cache
Implements #96
2020-08-07 15:17:19 +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
Christian Stein
01badf1c6d Merge branch 'master' of https://github.com/LordHepipud/icinga-module-windows 2020-08-06 09:02:42 +02:00
Lord Hepipud
4898009e86 Fixes issue on show timer while no default timer was started on ShowAll 2020-08-06 00:17:17 +02:00
Lord Hepipud
dcafde1ea7 Adds support to show all timers with Show-IcingaTimers 2020-08-06 00:03:17 +02:00
Lord Hepipud
f3bebdbdbc Fixes missing Name argument for Test-IcingaTimer 2020-08-06 00:02:26 +02:00
Lord Hepipud
00be110554 Adds Namespace argument for Get-IcingaWindowsInformation for additional filtering
Fixes #94
2020-08-05 19:48:18 +02:00
Christian Stein
9ece8d805f Fixes code styling for New-IcingaPerformanceCounterArray 2020-08-04 15:37:35 +02:00
Christian Stein
3e5a97d52b Fix assignment indentation for variables/objects 2020-08-04 15:13:04 +02:00
Christian Stein
ac02ec7e3e Fixes various code stylings, whitespaces, line handling, and so on 2020-08-04 14:48:32 +02:00
Lord Hepipud
3bf87c2f2a Adds timer functionality for performance analysis
Implements #88
2020-08-03 20:56:16 +02:00
Lord Hepipud
7d2cfc64dc Fixes Set-IcingaAcl errors on older Windows systems
Fixes #92
2020-08-03 19:37:19 +02:00