Commit graph

149 commits

Author SHA1 Message Date
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
0b6e2235ed Exit-IcingaExecutePlugin throws exception for localized PerfCounters
Fixes #232
2021-05-04 17:36:31 +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
c4f6fcc1fd Adds experimental Feature "Management Console" 2021-03-01 11:15:21 +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
80051d6732 Ensure config.json is opened as read-only 2021-02-22 17:31:58 +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
a1e6a780af Adds support for ms on Unix Time 2021-01-21 15:51:24 +01:00
Lord Hepipud
a9e089fc44 Small fix for Icinga .conf generation 2020-11-25 12:29:52 +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
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
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