Commit graph

891 commits

Author SHA1 Message Date
Niko Martini
bed4efa4dc Fixed Code Styling 2019-07-23 09:16:43 +02:00
Niko Martini
ec8bac7a83 Fixed Code Styling 2019-07-23 09:16:43 +02:00
Niko Martini
2e1cf839da Fixed Code Styling 2019-07-23 08:03:32 +02:00
Niko Martini
f682384287 Fixed Code Styling 2019-07-23 08:03:32 +02:00
Niko Martini
56ddd36cbb Fixed Code Styling 2019-07-23 08:03:32 +02:00
Lord Hepipud
117214eca5 Replaced Silent argument for verbose on check packages 2019-07-22 18:03:19 +02:00
Lord Hepipud
8f3183941f Replaced Silent argument for verbose on check packages 2019-07-22 18:03:19 +02:00
Lord Hepipud
b0bea9a6a4 Replaced Silent argument for verbose on check packages 2019-07-22 18:03:19 +02:00
Lord Hepipud
6d83cafc38 Fixed output for Check Results with checks only 2019-07-22 18:01:12 +02:00
Lord Hepipud
596c5375b7 Fixed output for Check Results with checks only 2019-07-22 18:01:12 +02:00
Lord Hepipud
6cbbf91049 Fixed output for Check Results with checks only 2019-07-22 18:01:12 +02:00
Niko Martini
489e2862ca Merge branch 'nmartini/module_rewrite' into testing 2019-07-22 16:24:57 +02:00
Niko Martini
af133f700a Merge branch 'nmartini/module_rewrite' into testing 2019-07-22 16:24:57 +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
Alexander Stoll
9d60982960 Merge branch 'astoll/module_rewrite' into testing 2019-07-22 16:05:54 +02:00
Crited
b2a7cd59aa Merge branch 'astoll/module_rewrite' into testing 2019-07-22 16:05:54 +02:00
Crited
9e79e4f937 Merge branch 'astoll/module_rewrite' into testing 2019-07-22 16:05:54 +02:00
Alexander Stoll
12c36d5fe0 Changed Import-Module to fit with Import-ModuleLib Concept 2019-07-22 15:59:47 +02:00
Crited
a92448bc62 Changed Import-Module to fit with Import-ModuleLib Concept 2019-07-22 15:59:47 +02:00
Crited
34c001c761 Changed Import-Module to fit with Import-ModuleLib Concept 2019-07-22 15:59:47 +02:00
Alexander Stoll
598d8936e9 Binary-Addition in relevant files for enums 2019-07-22 15:53:07 +02:00
Crited
1a43cf36da Binary-Addition in relevant files for enums 2019-07-22 15:53:07 +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
Alexander Stoll
5bf8adcf75 Expanded upon Icinga_ProviderWindows.psm1; Minor Changes to other modules regarding structure and comments 2019-07-22 15:23:21 +02:00
Crited
3c16c17588 Expanded upon Icinga_ProviderWindows.psm1; Minor Changes to other modules regarding structure and comments 2019-07-22 15:23:21 +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
Alexander Stoll
ddba722ab6 Structure Change; Added Updates -> hotfix, pending, installing 2019-07-22 10:01:11 +02:00
Crited
f78b8bef62 Structure Change; Added Updates -> hotfix, pending, installing 2019-07-22 10:01:11 +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
Lord Hepipud
4392714da3 Added support to skip perfdata for single checks 2019-07-22 09:02:09 +02:00
Lord Hepipud
1093cd17dc Removed no longer required Output writing 2019-07-22 08:38:38 +02:00
Lord Hepipud
3078a0a937 Fixed spacing for multi-stack packages / checks in output 2019-07-22 08:37:54 +02:00
Alexander Stoll
a64449e074 Added Process.psm1, Added Services.psm1; Fixed previous concept errors 2019-07-22 07:32:52 +02:00
Crited
2c90d9b990 Added Process.psm1, Added Services.psm1; Fixed previous concept errors 2019-07-22 07:32:52 +02:00
Crited
97ee39486a Added Process.psm1, Added Services.psm1; Fixed previous concept errors 2019-07-22 07:32:52 +02:00
Lord Hepipud
9ffb9be1ad Renamed lib icinga\checkresult to icinga\plugin 2019-07-19 20:06:29 +02:00
Lord Hepipud
93f7ac7f29 Added base help for Icinga thresholds including examples 2019-07-19 20:03:05 +02:00
Lord Hepipud
a32ec4f17c Removed perf data output for unknown return codes 2019-07-19 20:02:41 +02:00