Commit graph

123 commits

Author SHA1 Message Date
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
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
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
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
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
8798ad890d Fix type inpurt question duing Get-IcingaCheckCommandConfig
Fixes #89
2020-08-03 17:50: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
Lord Hepipud
5ba5261c8b Updates framework to use new WMI/Cim wrapper
Implements #80
2020-07-27 11:45:02 +02:00
Christian Stein
c7a2660969 Fixes ConvertTo-SecondsFromIcingaThreshold on default int values
Fixes #79
2020-07-23 15:32:05 +02:00
Lord Hepipud
6838933bd5 Improves and standardizes the wizard even further 2020-05-29 14:49:34 +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
eeb7406382 Improves IP conversion by returning unresolved name only 2020-05-22 13:20:03 +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
2b740785fe Replaces Write-Host calls with custom console writes 2020-05-13 16:53:15 +02:00
Lord Hepipud
d205989007 Fixes performance data by converting boolean to integer
Fixes #66
2020-05-12 16:37:08 +02:00
Lord Hepipud
5cb885dc14 Adds tool function for easily creating basic auth headers 2020-04-30 13:48:45 +02:00
Lord Hepipud
a4dfee6f8b Improves plugin creation Cmdlet, releasing plugins as separate modules 2020-04-01 09:07:42 +02:00
Christian Stein
2fca1d3e2f Adds function to deserialize PSObject properties into name/value keypair 2020-03-30 09:32:54 +02:00
Christian Stein
699137a97c Adds support to securely fetch elements from hashtables with default values 2020-03-27 16:36:25 +01:00
Christian Stein
e56861d858 Adds generic support for sending TCP client and REST network messages 2020-03-25 17:48:49 +01:00
Christian Stein
d97bc8aeb8 Moves Read REST message function into proper module folder 2020-03-24 20:11:24 +01:00
Alexander Stoll
e6b46b84f7
Fix codestyling 2020-03-24 18:43:27 +01:00
Alexander Stoll
50133d22f2
Create Read-IcingaRESTMessage.psm1
First draft of Read-IcingaRESTMessage.psm1

#57 Regarding parsing
2020-03-24 18:40:33 +01:00
Christian Stein
edd8b4b6ed Added basiic TCP Cmdlets and handling 2020-03-24 12:42:14 +01:00
Christian Stein
66eda2d71b Fixes handling for LocalSystem account if set as service user
Fixes #51
2020-03-11 13:01:54 +01:00
Christian Stein
a45d0e2fbb Use NETBIOS name for non-domain hosts instead of hostname
Fixes #49
2020-03-10 17:01:43 +01:00
Christian Stein
96314bfe8c Fixes service exit code fetching 2020-02-18 13:36:46 +01:00
Christian Stein
9e52d16a3d Adds service exclude and service exit code data fetching 2020-02-18 12:27:47 +01:00
Christian Stein
90a8fab9cb Merge branch 'bugfix/interface_detection' 2020-02-14 09:34:41 +01:00
Christian Stein
cfd28f30e2 Fixes broken datalist data type configuration on Basket generation
Fixes #45
2020-02-13 14:16:42 +01:00
Alexander Stoll
e07f7f1482 Add first draft unit determination tools 2020-02-07 15:07:29 +01:00
Christian Stein
9b6941c4b9 Fixes exceptions during interface discovery
Fix #38
2020-02-07 11:06:57 +01:00
Christian Stein
80975bee24 Fixes naming of byte data types and functions 2020-02-04 09:33:27 +01:00
Christian Stein
499af2b92e Fixes PetaByte unit short name 2020-02-03 18:09:03 +01:00
Christian Stein
ff06ea5f13 Fixes unit naming for byte related types 2020-02-03 18:03:40 +01:00
Christian Stein
bec3459231 Adds proper handling for invalid inputs on byte conversion for plugin usage 2020-02-03 17:56:34 +01:00
Christian Stein
ac98e88626 Fixes broken switch arguments in basket configurator
Fixes #39
2020-02-03 17:28:31 +01:00
Christian Stein
edacccd75a Improve interface detection for multi IP hosts
Possibly Fix #38
2020-01-15 15:25:10 +01:00