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
Lord Hepipud
290748e6dc
Fixed a crash on checks with identical naming
2019-09-19 11:56:06 +02:00
Lord Hepipud
7903724376
Added support to hide CheckPackage check output but keep perf data
2019-09-19 11:55:39 +02:00
Lord Hepipud
e4f3de9321
Added additional exception handling for EventLog Check
2019-09-18 12:42:20 +02:00
Lord Hepipud
2d9dae4b64
Added proper exception handling for Cache write failures
2019-09-17 17:56:56 +02:00
Lord Hepipud
dc65f8d3a7
Added EventLog Check Command and Provider
2019-09-17 17:24:39 +02:00
Lord Hepipud
2c04a1ff64
Added ability to force exception throwing
2019-09-17 17:12:06 +02:00
Lord Hepipud
10fdea7660
Added note to restart service for permission changes
2019-09-16 11:27:09 +02:00
Lord Hepipud
ccca2e591f
Added missing exception definitions
2019-09-14 16:12:59 +02:00
Lord Hepipud
49dc3849e5
Improved exception handling on a more global state
2019-09-14 16:12:24 +02:00
Lord Hepipud
2c96a60e6d
Fixed and improved Perf Data handling
...
* Added proper sorting for checks, packages and check results by name
* Fixed perf data formating to be supported by Icinga 2
* Fixed label naming by removing all invalid characters
* Fixed displaying of values by rounding to 2 digits on floats
2019-09-13 20:44:15 +02:00
Lord Hepipud
7d5a1b786e
Fixed arguments to properly work on all Windows environments
2019-09-13 19:16:19 +02:00
Lord Hepipud
2172ce2506
Added first draft for permission exception handling
2019-09-13 19:04:27 +02:00
Lord Hepipud
e2de8e6bfd
Changed Plugin Text Status to allow colored Icinga Web 2 output
2019-08-22 10:43:00 +02:00
Lord Hepipud
79b4518189
Fixed Plugin Output for multiple check packages
2019-08-19 18:08:50 +02:00
Lord Hepipud
73ce2aa8e5
Fixed missing argument of check object for InitCheck
2019-08-19 18:07:51 +02:00
Lord Hepipud
029ee6fbbb
Fixed $null code styling comparison
2019-07-24 17:21:10 +02:00
Lord Hepipud
f03980cebf
Added support to translate check values to speaking values on output
2019-07-24 17:19:56 +02:00
Lord Hepipud
d3862eccdb
Added support to check if objects exist on icinga checks
2019-07-24 17:10:16 +02:00
Lord Hepipud
68ef49908c
Removed no longer required variables from Check Package
2019-07-24 13:02:03 +02:00
Lord Hepipud
36b4d53c1e
Check Packages will now return Unknown if no check is assigned
2019-07-24 13:01:50 +02:00
Lord Hepipud
0ef518ef19
Removed no longer required debug output
2019-07-23 12:21:45 +02:00