Lord Hepipud
57e55ecada
Fix exception on negative values
2021-07-27 14:56:37 +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
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
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
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
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
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
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
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
acb8cbaf5c
Stops Icinga Agent during Framework upgrade
2021-05-25 10:09:14 +02:00
Lord Hepipud
19a6952cee
Improve test if perf counter category exist
2021-05-19 15:24:48 +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
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
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
94898ff893
Removes hardcoded global zones
2021-01-15 15:53:59 +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
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
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
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
854b7fd997
Fixes uncatched invisible output
2020-09-15 15:46:33 +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
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
Lord Hepipud
7d5986c504
Fixes wrong argument defaults set by Icinga Director Self-Service
...
Fixes #91
2020-08-03 19:21:55 +02:00
Lord Hepipud
6a36a8ba5e
Fixes type question during Agent installation on Windows 2012 R2
...
Fixes #90
2020-08-03 19:13:29 +02:00
Lord Hepipud
8798ad890d
Fix type inpurt question duing Get-IcingaCheckCommandConfig
...
Fixes #89
2020-08-03 17:50:19 +02:00
Christian Stein
39df724157
Merge branch 'master' of https://github.com/LordHepipud/icinga-module-windows
2020-07-31 10:20:56 +02:00
Christian Stein
0ba6fd35f4
Fixes TLS error on WebRequests for endpoints using TLS 1.2
...
Fixes #86
2020-07-31 10:20:53 +02:00
Lord Hepipud
a3074739c0
Adds debug output for performance counter initialising
2020-07-29 15:35:10 +02:00
Lord Hepipud
b282bcfa3a
Fix incorrect SecureString handling for empty service user password
...
Fixes #85
2020-07-29 14:36:59 +02:00
Lord Hepipud
15e5e1efef
Adds support to check for required .NET Framework 4.6.0 version
...
Fixes #76
2020-07-29 14:28:28 +02:00
Lord Hepipud
5a064078b2
Adds new Cmdlet Show-IcingaPerformanceCounterInstances
2020-07-29 11:03:19 +02:00
Christian Stein
aa8d712152
Fix conversion error on ConvertTo-Seconds while input is $null
...
Fixes #84
2020-07-28 17:53:40 +02:00
Christian Stein
f26acf1e7a
Fixes another issue with MSI package fetching for 'release' argument
...
Fixes #78
2020-07-28 17:04:26 +02:00
Christian Stein
d346dcb09d
Fix exception on unregistered 'Icinga for Windows' EventLog on first run
...
Fixes #81
Fixes #82
2020-07-28 12:13:41 +02:00
Christian Stein
2d7cb5ea34
Adds attempt to provide proper error handling for WMI exceptions
...
Implements #80
2020-07-28 09:26:12 +02:00
Lord Hepipud
dce7789d91
Adds WMI/CIM wrapper permission error and WMI code handling
...
Implements #80
2020-07-27 12:38:57 +02:00
Lord Hepipud
b2ee1d9315
Adds switch to force WMI usage over CIM
...
Implements #80
2020-07-27 11:47:22 +02:00
Lord Hepipud
5ba5261c8b
Updates framework to use new WMI/Cim wrapper
...
Implements #80
2020-07-27 11:45:02 +02:00
Lord Hepipud
64a7724340
Adds wrapper for WMI and CIM fetching with error handling
...
Implements #80
2020-07-27 11:32:36 +02:00
Christian Stein
c7a2660969
Fixes ConvertTo-SecondsFromIcingaThreshold on default int values
...
Fixes #79
2020-07-23 15:32:05 +02:00
Christian Stein
1cfb15166b
Fix Icinga Agent package fetching for x86 architecture
...
Fixes #78
2020-07-23 11:24:19 +02:00
Lord Hepipud
bc18053856
Merge pull request #73 from n35k3nd1r/master
...
Update Start-IcingaAgentInstallWizard.psm1
2020-06-25 11:34:30 +02:00
Lord Hepipud
1f86a213b3
Disables notification feature after Icinga Agent installation
...
Fixes #75
2020-06-24 10:32:03 +02:00
Lord Hepipud
7b9d8df5b4
Fixes issue while trying to disable last enabled Agent feature element
...
Fixes #74
2020-06-24 09:57:22 +02:00
Alexander Plate
d30a18346f
Update Start-IcingaAgentInstallWizard.psm1
2020-06-23 12:37:20 +02:00
Lord Hepipud
7542cd92c3
Merge pull request #72 from n35k3nd1r/master
...
fix Problem with existing 'InstallDir' while running Install-IcingaAgent
2020-06-18 10:22:48 +02:00
Christian Stein
06d5966a34
Fixex multiple endpoint handling and IP conversion with Director Self Service
...
Fixes #70
2020-06-18 10:14:01 +02:00
Alexander Plate
92d5bdd025
Update Install-IcingaAgent.psm1
2020-06-17 21:58:48 +02:00
Lord Hepipud
152a088fe0
Fixes unhandled $null directory value on Test-IcingaAcl
2020-06-02 15:51:01 +02:00
Lord Hepipud
48eca11826
Improves Agent question prompt
2020-06-02 13:02:09 +02:00
Lord Hepipud
591555f2c1
Improves Agent installation/uninstallation stability
...
Fixes #69
2020-05-30 14:42:31 +02:00
Lord Hepipud
7551233f0b
Improves error handling during certificate generation
2020-05-30 14:19:34 +02:00
Lord Hepipud
f961a854cc
Fixes debug console output being printed while debugging is disabled
2020-05-30 12:11:30 +02:00
Lord Hepipud
73fe3aac31
Adds support for handling authentication requests with basic auth
2020-05-29 18:02:30 +02:00
Lord Hepipud
6838933bd5
Improves and standardizes the wizard even further
2020-05-29 14:49:34 +02:00
Lord Hepipud
6e50603b30
Replaces 'latest' version with 'release' and standardizes is
2020-05-29 14:02:43 +02:00
Christian Stein
b86242cf72
Adds examples for value comparison
2020-05-28 17:30:06 +02:00
Christian Stein
80d0e5c94f
Adds tool function to compare value for minimum/maximum
2020-05-28 17:26:53 +02:00
Lord Hepipud
b315bad062
Merge branch 'master' into feature/rest_daemon
2020-05-22 16:50:31 +02:00
Lord Hepipud
77b8c1bae5
Merge pull request #68 from Icinga/feature/wizard-improvement
...
Feature/wizard improvement
2020-05-22 16:42:41 +02:00
Lord Hepipud
971e09dc43
Fixes and improves various messages, handlings and severities for wizard
2020-05-22 16:34:18 +02:00
Lord Hepipud
987a52c418
Improves console output for certain commands
2020-05-22 13:42:23 +02:00
Lord Hepipud
882ce624a0
Changes error for service installation to warning on missing path
2020-05-22 13:41:24 +02:00
Lord Hepipud
c6a7154686
Renames Default: to Defaults: on setup wizard
2020-05-22 13:22:41 +02:00
Lord Hepipud
5aa7e8259d
Fixes argument parsing and prompt for IP conversion
2020-05-22 13:20:41 +02:00
Lord Hepipud
eeb7406382
Improves IP conversion by returning unresolved name only
2020-05-22 13:20:03 +02:00
Lord Hepipud
4a869458cc
Improves connection conversion wizard handling
2020-05-22 12:55:39 +02:00
Lord Hepipud
2ac3de5267
Fixes FQDN to IP wizard conversion question
2020-05-22 12:55:39 +02:00
Lord Hepipud
7961a0d0d1
Adds defaults to certain steps and FQDN to IP conversion
2020-05-22 12:55:39 +02:00
Lord Hepipud
d983f6f767
Adds support to fully uninstall the Icinga 2 agent including ProgramData
...
Fixes #67
2020-05-22 12:19:03 +02:00
Lord Hepipud
84975a4759
Adds help for several Cmdlets
2020-05-22 09:52:48 +02:00
Lord Hepipud
2b740785fe
Replaces Write-Host calls with custom console writes
2020-05-13 16:53:15 +02:00
Lord Hepipud
efdca87b7e
Improves wizard argument escaping, duplicates and arg conversion
...
Fix #61
2020-05-12 18:33:50 +02:00
Lord Hepipud
d205989007
Fixes performance data by converting boolean to integer
...
Fixes #66
2020-05-12 16:37:08 +02:00