Commit graph

90 commits

Author SHA1 Message Date
Lord Hepipud
41f8b2a7e5 Adds stacktrace for plugin runtime error 2021-05-07 14:34:39 +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
Lord Hepipud
e7c341e30a Fix wrong plugin not installed unknown checkresult 2021-03-01 12:07:57 +01:00
Lord Hepipud
7b847bdb78 Adds experimental feature for internal API checks 2021-02-24 12:49:37 +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
b5d518dff9 Use non-shared globals for check results 2021-02-22 16:54:39 +01:00
Lord Hepipud
116e6097b8 Prefer starttype of services fetching over WMI 2021-01-29 11:54:26 +01:00
Lord Hepipud
b3f0b1cad0 Fixes wrong user group for Performance Counter 2021-01-15 16:51:52 +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
3e5fe3d4f5 Adds support for knowledge base id on exceptions 2020-11-24 12:09:34 +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
082fc18555 Adds support to ignore empty check packages 2020-10-15 15:19:55 +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
564711c1b6 Improves plugin output on verbosity levels
Fixes #99
2020-08-13 17:54:00 +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
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
dce7789d91 Adds WMI/CIM wrapper permission error and WMI code handling
Implements #80
2020-07-27 12:38:57 +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
Lord Hepipud
6304e0b1b7 Adds return of own object for setter functions for checks 2020-05-29 18:35:41 +02:00
Lord Hepipud
c4179338a1 Adds support to set check state by function call 2020-05-19 17:30:50 +02:00
Lord Hepipud
7860818be1 Adds new exception messages and custom exception handling 2020-05-19 17:29:42 +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
Christian Stein
825ee4c666 Add support to check if Check-Package has checks
Fixes #48
2020-03-05 17:04:16 +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
Lord Hepipud
06b7c0cdd5 Fixes performance data output for single checks 2019-11-05 12:39:54 +01:00
Lord Hepipud
8fffb44039 Fixes check translation by converting non-numeric to string 2019-11-03 11:57:47 +01:00
Lord Hepipud
299d056bbf Improves check output 2019-11-03 11:56:55 +01:00
Lord Hepipud
56d7541944 Improves plugin check output and visibility 2019-10-30 18:17:39 +01:00
Lord Hepipud
bb6b771756 Add gigabyte (GB) unit for valid input 2019-10-30 17:52:53 +01:00
Lord Hepipud
6b830bd980 Improves performance data output by using lower case only 2019-10-30 17:51:58 +01:00
Lord Hepipud
7e23ea76df Fixed crash on check execution while running in daemon mode 2019-10-06 10:46:11 +02:00
Lord Hepipud
1c3f7bd73e Executed checks will now store their value on daemon run within cache 2019-10-05 22:08:19 +02:00
Lord Hepipud
6d15aa47a0 Added support for check output stored differently on daemon execution 2019-10-05 22:01:15 +02:00
Lord Hepipud
a2afbbe5fc Fixed CheckCommand callback to fetch executed command 2019-10-05 21:59:37 +02:00
Lord Hepipud
3e98e659bb Fixed duplicate Performance Data output 2019-10-05 21:50:49 +02:00
Lord Hepipud
d722ae9932 Improved constructing of Performance Data 2019-10-05 21:50:13 +02:00
Lord Hepipud
13a54bd117 Prepared check plugin and perf-data output for daemon integration 2019-09-28 21:45:59 +02:00