Commit graph

405 commits

Author SHA1 Message Date
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
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