Commit graph

227 commits

Author SHA1 Message Date
Lord Hepipud
3b23cadf08 Improved code styling and small fixes for IcingaUsers 2019-08-19 12:12:11 +02:00
Niko Martini
01ebbaf085 WIP 2019-08-15 11:28:18 +02:00
Crited
5fd4838921 Added IcingaCheckUsers and Libraray for users 2019-07-26 13:01:51 +02:00
Niko Martini
3f646a29f2 List various MemoryUsage 2019-07-25 18:31:08 +02:00
Niko Martini
cb44cb81b3 List PerformanceCounter for Memory 2019-07-25 18:29:21 +02:00
Niko Martini
dac21673c1 Toolset for conversion 2019-07-25 18:16:33 +02:00
Niko Martini
4bda3003d3 Introduce new function for astoll 2019-07-25 17:48:19 +02:00
Niko Martini
3c15c73edb Fixed Code Styling 2019-07-25 16:19:38 +02:00
Niko Martini
bd418982fd Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-07-25 15:52:49 +02:00
Niko Martini
196ff3ba9b Fixed Code Styling 2019-07-25 15:51:31 +02:00
Lord Hepipud
d2b72d9496 Fixed $null code styling comparison 2019-07-24 17:21:10 +02:00
Lord Hepipud
75a5c32589 Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-07-24 17:20:02 +02:00
Lord Hepipud
c37a6cbfe2 Added support to translate check values to speaking values on output 2019-07-24 17:19:56 +02:00
Lord Hepipud
318966e392 Added support to check if objects exist on icinga checks 2019-07-24 17:10:16 +02:00
Crited
837fa32fc1 Added further options in ProcessCount-Check 2019-07-24 15:34:49 +02:00
Crited
6612fcd1aa 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
c4bb5359a2 Removed not required arguments for Service check 2019-07-24 14:37:42 +02:00
Lord Hepipud
8b3fcaaa9c 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
ac025da700 Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-07-24 13:13:31 +02:00
Lord Hepipud
da504cebe6 Removed no longer required variables from Check Package 2019-07-24 13:02:03 +02:00
Lord Hepipud
9b46d63fd0 Check Packages will now return Unknown if no check is assigned 2019-07-24 13:01:50 +02:00
Lord Hepipud
5840e0ca05 Fixed spacing for CPU error code enum 2019-07-24 12:44:49 +02:00
Lord Hepipud
63ef374223 Added Windows Uptime metadata to Windows provider 2019-07-24 12:44:02 +02:00
Crited
802f5b3205 Splitt into ConvertTo-ServiceStatusCode, to fit project structure, changed Free Space to Used Space 2019-07-24 11:44:33 +02:00
Crited
8cae29a79a Expanded upon lib/provider/services to support translated status values in Invoke-IcingaCheckService.psm1 2019-07-24 10:26:39 +02:00
Crited
0453398ca8 Added Icinga_ProviderServices, adjusted Invoke-IcingaCheckService accordingly 2019-07-24 10:01:34 +02:00
Crited
dcf6c86df8 Added Invoke-IcingaCheckFreePartition.psm1 2019-07-23 15:08:59 +02:00
Lord Hepipud
2f5f7ac1a1 Removed no longer required debug output 2019-07-23 12:21:45 +02:00
Lord Hepipud
291fc617b6 Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-07-23 11:42:20 +02:00
Lord Hepipud
09b9f23f7e Fixed check initialising for AddCheck() on Check Packages 2019-07-23 11:42:16 +02:00
Crited
96405fb5da Added FreeDiskSpace to Disk Provider, via Performance Counters 2019-07-23 10:50:58 +02:00
Lord Hepipud
ac838a1baa Fixed code spacing 2019-07-23 09:34:15 +02:00
Lord Hepipud
bfc62aa8ee Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-07-23 09:19:17 +02:00
Lord Hepipud
4774eb5723 Added first attempt for Bios Serial Number Check 2019-07-23 09:18:02 +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
Lord Hepipud
8f3183941f Replaced Silent argument for verbose on check packages 2019-07-22 18:03:19 +02:00
Lord Hepipud
596c5375b7 Fixed output for Check Results with checks only 2019-07-22 18:01:12 +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
Crited
b2a7cd59aa Merge branch 'astoll/module_rewrite' into testing 2019-07-22 16:05:54 +02:00
Crited
a92448bc62 Changed Import-Module to fit with Import-ModuleLib Concept 2019-07-22 15:59:47 +02:00
Crited
1a43cf36da 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
3c16c17588 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
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
f78b8bef62 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
Crited
2c90d9b990 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
Crited
9053b6fe9b 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
Crited
41fd4bb3a0 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
Crited
ec6b71c5b2 Minor disks edit; basic cpu setup 2019-07-17 07:52:09 +02:00
Crited
2601f9c763 Added disk-module; extended enums to fit disk-modules 2019-07-16 14:47:21 +02:00
Crited
a46c09869d Added bios.psm1 (Library) and a provider/enums.psm1 2019-07-12 13:59:02 +02:00