Commit graph

92 commits

Author SHA1 Message Date
Lord Hepipud
02bc344c20 Fixed issue on opening new check commands with default Editor 2019-09-19 16:22:05 +02:00
Lord Hepipud
2248e209a2 Added exception handling on creating cache files 2019-09-19 12:26:48 +02:00
Lord Hepipud
b19f3a7168 Added proper exception handling for Cache write failures 2019-09-17 17:56:56 +02:00
Lord Hepipud
5f4c788861 Added support to create and load cache data (prototype) 2019-09-17 17:17:38 +02:00
Lord Hepipud
912f12dc1e Extended digit format with custom symbol 2019-09-16 17:53:29 +02:00
Lord Hepipud
1597b0afcf Added tool function to increase digit count
* Added new function Format-IcingaDigitCount to fill digits with leading 0 depending on missing values
* Added this function to CPU check
2019-09-16 17:32:25 +02:00
Lord Hepipud
4c0520aad0 Fixed default value for Verbose argument on Config generation 2019-09-16 17:02:13 +02:00
Lord Hepipud
f8b4472375 Fixed Verbose Argument duplication and DataList type 2019-09-16 16:31:15 +02:00
Lord Hepipud
8de1fdf8ef Improved Check-Command Config generation
* Switch arguments will now use boolean data types in Director
* Fixed an issue for Check Commands with integrated help, as arguments were not rendered properly
* Fixed an issue on datafield ID lookup and assigning
* Fixed an issue with assigning default values
2019-09-16 15:33:57 +02:00
Lord Hepipud
9cd97fbbd9 Fixed methods_execute variable naming 2019-09-16 12:06:05 +02:00
Lord Hepipud
d632b4ada0 Fixed invalid entry_value key name 2019-09-16 12:02:38 +02:00
Lord Hepipud
49932ac17c Added first draft to create new CheckCommands over CLI 2019-09-14 16:14:24 +02:00
Lord Hepipud
96284f07a3 Improved exception handling on a more global state 2019-09-14 16:12:24 +02:00
Lord Hepipud
88c12ad240 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
bcfd6b20b9 Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-09-13 17:04:09 +02:00
Crited
e2b381e0c1 Fixed codestyling 2019-09-13 16:24:30 +02:00
Crited
33384531c6 Added missing description for documented plugin arguments 2019-09-13 16:23:34 +02:00
Crited
5888faef3d Fixed Codestyling 2019-09-13 16:01:46 +02:00
Crited
2e960e3de9 Used Icinga-DSL for array-arg splitting 2019-09-13 15:59:22 +02:00
Crited
abe0992ccc Moved Get-IcingaCheckCommandConfig.psm1 to intended directory 2019-09-13 11:46:09 +02:00
Lord Hepipud
20d9855364 Added Tool-Function to get Sha1 from String elements 2019-09-10 09:38:35 +02:00
Lord Hepipud
a978a64c59 Added function to convert seconds to runtime 2019-08-20 17:01:20 +02:00
Lord Hepipud
7890b69e4c Extended Second conversion with Icinga threshold handling 2019-08-20 16:31:07 +02:00
Lord Hepipud
c37de3cfa1 Improved ConvertTo-Seconds Cmdlet 2019-08-20 15:09:43 +02:00
Lord Hepipud
47ac91608c Added error for missing argument on PerformanceCounters 2019-08-19 12:26:23 +02:00
Lord Hepipud
1edcec19a2 Added tool function to translate Icinga Args in PS Args 2019-08-19 12:14:02 +02:00
Niko Martini
01ebbaf085 WIP 2019-08-15 11:28:18 +02:00
Niko Martini
dac21673c1 Toolset for conversion 2019-07-25 18:16:33 +02:00
Lord Hepipud
ac838a1baa Fixed code spacing 2019-07-23 09:34:15 +02:00
Niko Martini
bed4efa4dc Fixed Code Styling 2019-07-23 09:16:43 +02:00
Niko Martini
f682384287 Fixed Code Styling 2019-07-23 08:03:32 +02:00
Niko Martini
af133f700a 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
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
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
89f7507809 Fixed wrong ForceReload argument on tools 2019-07-19 19:36:38 +02:00
Lord Hepipud
ae62c4a7ce Added basic generic tool collection 2019-07-19 19:35:08 +02:00
Niko Martini
fe3febe660 New Break instances for switchCase 2019-07-17 16:37:38 +02:00
Niko Martini
64ba37e9c6 fix consistency error in ConvertTo-ByteUnit.psm1 2019-07-17 10:03:58 +02:00
Niko Martini
fdc31beac5 Toolset for conversions 2019-07-17 09:42:35 +02:00