Commit graph

937 commits

Author SHA1 Message Date
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
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
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
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
Lord Hepipud
a05a41ca86 Added proper unknown handling for min / max operator config 2019-07-19 20:02:09 +02:00
Lord Hepipud
069ab8e4f8 Fixed broken plugin return code 2019-07-19 20:01:15 +02:00
Lord Hepipud
99825a4a57 Removed duplicate check outputs 2019-07-19 20:00:55 +02:00
Lord Hepipud
7fd9f35de0 Reworked Icinga Plugin Framework 2019-07-19 19:38:09 +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
Lord Hepipud
fafb102f0d First draft for Icinga Plugin Dev-Kit 2019-07-18 17:54:39 +02:00
Alexander Stoll
1c87a62d81 Major fixes regarding all lib/providers, expanded upon memory.psm1, added some comments for future reference 2019-07-18 14:20:23 +02:00
Crited
8bce5c6a4c Major fixes regarding all lib/providers, expanded upon memory.psm1, added some comments for future reference 2019-07-18 14:20:23 +02:00
Niko Martini
fe3febe660 New Break instances for switchCase 2019-07-17 16:37:38 +02:00
Alexander Stoll
e93305a635 cpu first draft 2019-07-17 11:28:22 +02:00
Crited
504c18ef00 cpu first draft 2019-07-17 11:28:22 +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
Alexander Stoll
98bc603066 Minor disks edit; basic cpu setup 2019-07-17 07:52:09 +02:00
Crited
dfd7d249eb Minor disks edit; basic cpu setup 2019-07-17 07:52:09 +02:00
Alexander Stoll
1fe010d848 Added disk-module; extended enums to fit disk-modules 2019-07-16 14:47:21 +02:00
Crited
df8ef6665e Added disk-module; extended enums to fit disk-modules 2019-07-16 14:47:21 +02:00
Alexander Stoll
67c16b0417 Added bios.psm1 (Library) and a provider/enums.psm1 2019-07-12 13:59:02 +02:00
Crited
80ff188c90 Added bios.psm1 (Library) and a provider/enums.psm1 2019-07-12 13:59:02 +02:00