Niko Martini
aa81d4490f
Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing
2019-07-25 15:52:49 +02:00
Niko Martini
41ea4e51b9
Fixed Code Styling
2019-07-25 15:51:31 +02:00
Lord Hepipud
e65d43a829
Fixed $null code styling comparison
2019-07-24 17:21:10 +02:00
Lord Hepipud
504a15c1b4
Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing
2019-07-24 17:20:02 +02:00
Lord Hepipud
c64fd63d97
Added support to translate check values to speaking values on output
2019-07-24 17:19:56 +02:00
Lord Hepipud
fca6e2e873
Added support to check if objects exist on icinga checks
2019-07-24 17:10:16 +02:00
Crited
79fa198931
Added further options in ProcessCount-Check
2019-07-24 15:34:49 +02:00
Crited
82cb773290
added IcingaCheckProcessCount.psm1, modified Process-Provider to fit related Checks, deleted useless parameter in Checks
2019-07-24 15:02:58 +02:00
Lord Hepipud
c14efdcc9f
Removed not required arguments for Service check
2019-07-24 14:37:42 +02:00
Lord Hepipud
93951cd607
Updated Services Provider, Enums and Helper functions
...
* Added new function to get Service Name for Check output
* Added missing Service State enums
* Updated Service Status Code function to use existing Test-Numeric
* Update Service Check with new Cmdlets
2019-07-24 14:28:53 +02:00
Lord Hepipud
9b60037ebe
Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing
2019-07-24 13:13:31 +02:00
Lord Hepipud
dafc256ec4
Removed no longer required variables from Check Package
2019-07-24 13:02:03 +02:00
Lord Hepipud
54ef544b8a
Check Packages will now return Unknown if no check is assigned
2019-07-24 13:01:50 +02:00
Lord Hepipud
7cd8d5c666
Fixed spacing for CPU error code enum
2019-07-24 12:44:49 +02:00
Lord Hepipud
dc2c4eac0b
Added Windows Uptime metadata to Windows provider
2019-07-24 12:44:02 +02:00
Crited
51414a7506
Splitt into ConvertTo-ServiceStatusCode, to fit project structure, changed Free Space to Used Space
2019-07-24 11:44:33 +02:00
Crited
0e0cf88023
Expanded upon lib/provider/services to support translated status values in Invoke-IcingaCheckService.psm1
2019-07-24 10:26:39 +02:00
Crited
9a2f2fd06a
Added Icinga_ProviderServices, adjusted Invoke-IcingaCheckService accordingly
2019-07-24 10:01:34 +02:00
Crited
728949c14e
Added Invoke-IcingaCheckFreePartition.psm1
2019-07-23 15:08:59 +02:00
Lord Hepipud
075018d21a
Removed no longer required debug output
2019-07-23 12:21:45 +02:00
Lord Hepipud
0cb4c48cb7
Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing
2019-07-23 11:42:20 +02:00
Lord Hepipud
63d9445d16
Fixed check initialising for AddCheck() on Check Packages
2019-07-23 11:42:16 +02:00
Crited
7100db3838
Added FreeDiskSpace to Disk Provider, via Performance Counters
2019-07-23 10:50:58 +02:00
Lord Hepipud
ecef0920b4
Fixed code spacing
2019-07-23 09:34:15 +02:00
Lord Hepipud
1f69c1d2ca
Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing
2019-07-23 09:19:17 +02:00
Lord Hepipud
c298a1c694
Added first attempt for Bios Serial Number Check
2019-07-23 09:18:02 +02:00
Lord Hepipud
bc8f80ec10
Improved Directory module loading
2019-07-23 09:17:11 +02:00
Lord Hepipud
df7a1a1f6b
Added support to automaticly load all modules on init
2019-07-23 09:16:54 +02:00
Niko Martini
ec8bac7a83
Fixed Code Styling
2019-07-23 09:16:43 +02:00
Niko Martini
56ddd36cbb
Fixed Code Styling
2019-07-23 08:03:32 +02:00
Lord Hepipud
b0bea9a6a4
Replaced Silent argument for verbose on check packages
2019-07-22 18:03:19 +02:00
Lord Hepipud
6cbbf91049
Fixed output for Check Results with checks only
2019-07-22 18:01:12 +02:00
Niko Martini
e66f572c05
Merge branch 'nmartini/module_rewrite' into testing
2019-07-22 16:24:57 +02:00
Niko Martini
3be84379d9
Fix Code-Styling and Validation for Strings
2019-07-22 16:22:44 +02:00
Crited
9e79e4f937
Merge branch 'astoll/module_rewrite' into testing
2019-07-22 16:05:54 +02:00
Crited
34c001c761
Changed Import-Module to fit with Import-ModuleLib Concept
2019-07-22 15:59:47 +02:00
Crited
1a5dbb392a
Binary-Addition in relevant files for enums
2019-07-22 15:53:07 +02:00
Lord Hepipud
756a1284e3
First attempt for CPU load check
2019-07-22 15:25:00 +02:00
Crited
7ca64c27c7
Expanded upon Icinga_ProviderWindows.psm1; Minor Changes to other modules regarding structure and comments
2019-07-22 15:23:21 +02:00
Lord Hepipud
8103341388
Improved performance while loading All Perf Counter instances
...
Improved performance for loading all performance counter instances with '*' by adding the sleep after the initialisation of all counters instead for each single one without having to handle the sleep skip manually
2019-07-22 14:35:35 +02:00
Lord Hepipud
f07a14ec67
Renamed PerfCounter functions to fit there results better
2019-07-22 14:04:32 +02:00
Lord Hepipud
164f03343c
Added Performance Counter Library as module handlers
2019-07-22 13:17:07 +02:00
Lord Hepipud
8ef18f97a9
Moved NoPerfData from switch to bool
...
This is required to properly pass the argument from a CheckCommand to the result handler
2019-07-22 13:16:14 +02:00
Lord Hepipud
850e8b4d3f
Added support to add additional checks to package by code
2019-07-22 13:15:44 +02:00
Lord Hepipud
c82bdad7cc
Fixed return values and NULL objects for OutOfRange comparison
2019-07-22 13:15:21 +02:00
Lord Hepipud
e9583382f5
Used certificate is only printed on debug mode now
2019-07-22 12:42:35 +02:00
Lord Hepipud
c5903114b2
Reworked entire Lib and Module loading
...
Modules are now automaticly loaded recursively for the spcified folder, allowing us to name modules into a "namespace", preventing our modules to interfear with possible installed modules.
2019-07-22 12:41:07 +02:00
Lord Hepipud
c2e3ff2131
Small code styling fix
2019-07-22 10:35:23 +02:00
Crited
a89c85215b
Structure Change; Added Updates -> hotfix, pending, installing
2019-07-22 10:01:11 +02:00
Lord Hepipud
824dde7518
Fixed NoPerfData handling for Check Result function
2019-07-22 09:02:33 +02:00