Commit graph

157 commits

Author SHA1 Message Date
Lord Hepipud
d3d1a9d238 Added exception handling on creating cache files 2019-09-19 12:26:48 +02:00
Lord Hepipud
18e6c65744 Fixed missing EventLog Check input for count on value 2019-09-19 12:08:01 +02:00
Lord Hepipud
ee642050a7 Improved EventLog output 2019-09-19 11:56:32 +02:00
Lord Hepipud
74a72c844c Fixed a crash on checks with identical naming 2019-09-19 11:56:06 +02:00
Lord Hepipud
df6604b2df Added support to hide CheckPackage check output but keep perf data 2019-09-19 11:55:39 +02:00
Lord Hepipud
0d9948fcef Fixed include message filtering on EventLog 2019-09-19 11:40:58 +02:00
Lord Hepipud
ac459d7fda Added additional exception handling for EventLog Check 2019-09-18 12:42:20 +02:00
Lord Hepipud
0d7954617c Added proper exception handling for Cache write failures 2019-09-17 17:56:56 +02:00
Lord Hepipud
f92fc80707 Added EventLog Check Command and Provider 2019-09-17 17:24:39 +02:00
Lord Hepipud
f2a2aed8a2 Added missing Cmdlet definition to init function 2019-09-17 17:24:09 +02:00
Lord Hepipud
d2cad7afde Added Cmdlet to get Plugin and Cache dir 2019-09-17 17:23:29 +02:00
Lord Hepipud
300a8d4d40 Added support to create and load cache data (prototype) 2019-09-17 17:17:38 +02:00
Lord Hepipud
dc2729e8c5 Added ability to force exception throwing 2019-09-17 17:12:06 +02:00
Lord Hepipud
6121434272 Removed leading '_' from Total core 2019-09-16 18:07:57 +02:00
Lord Hepipud
2ffeeb26d8 Improved performance for CPU plugin execution with digit detection 2019-09-16 18:02:41 +02:00
Lord Hepipud
a96347e54f Replaced 0 with space for digits and auto added spacing 2019-09-16 17:59:12 +02:00
Lord Hepipud
b92d3004b9 Extended digit format with custom symbol 2019-09-16 17:53:29 +02:00
Lord Hepipud
423791750a 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
0fed0f938c Fixed default value for Verbose argument on Config generation 2019-09-16 17:02:13 +02:00
Lord Hepipud
9c2a65a9ad Fixed Verbose Argument duplication and DataList type 2019-09-16 16:31:15 +02:00
Lord Hepipud
f7a80cc477 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
ef736beca6 Fixed methods_execute variable naming 2019-09-16 12:06:05 +02:00
Lord Hepipud
865c94fc6c Fixed invalid entry_value key name 2019-09-16 12:02:38 +02:00
Lord Hepipud
02ca9367c4 Added note to restart service for permission changes 2019-09-16 11:27:09 +02:00
Lord Hepipud
bee9b0a1c1 Added first draft to create new CheckCommands over CLI 2019-09-14 16:14:24 +02:00
Lord Hepipud
5fa812a7a1 Added missing exception definitions 2019-09-14 16:12:59 +02:00
Lord Hepipud
cf158dd3e8 Improved exception handling on a more global state 2019-09-14 16:12:24 +02:00
Lord Hepipud
d1b30c77ae 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
580b99b444 Fixed arguments to properly work on all Windows environments 2019-09-13 19:16:19 +02:00
Lord Hepipud
b34f539d01 Added first draft for permission exception handling 2019-09-13 19:04:27 +02:00
Lord Hepipud
782897be93 Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-09-13 17:04:09 +02:00
Lord Hepipud
a33455f343 Fixed update list throwing unknown for 0 pending updates 2019-09-13 17:04:05 +02:00
Crited
3f0721f7eb Fixed codestyling 2019-09-13 16:24:30 +02:00
Crited
81589fa910 Added missing description for documented plugin arguments 2019-09-13 16:23:34 +02:00
Crited
0a99db36ef Fixed Codestyling 2019-09-13 16:01:46 +02:00
Crited
f5a757dc99 Added Description for Invoke-IcingaCheckService 2019-09-13 15:59:45 +02:00
Crited
ac061edaac Used Icinga-DSL for array-arg splitting 2019-09-13 15:59:22 +02:00
Crited
95ea8cf28f Changed Invoke-IcingaCheckService.psm1 to support multiple inputs 2019-09-13 14:29:38 +02:00
Crited
d7fdeba915 Moved Get-IcingaCheckCommandConfig.psm1 to intended directory 2019-09-13 11:46:09 +02:00
Crited
f74261088f Renamed Module; Code-Styling; Added Timestamp; Rewrote Commentbased Help; This is the supposedly last version that works (has worked) 2019-09-13 11:44:37 +02:00
Crited
c29983c437 Presumably finished Invoke-IcingaCheckCommandBasket Module 2019-09-13 09:22:27 +02:00
Crited
2295398f29 Probably fixed ID issues 2019-09-13 08:18:31 +02:00
Crited
e137a4dbcf Changed DataLists to Array; Added Synopsis, Description, Examples, Parameter, Inputs, Outputs, Link in Comment-Based-Help; Fixed 'self-export'; Changed codestyling; Deleted unnecessary code; Deleted unnecessary comments and added new one as deemed necessary 2019-09-12 09:10:55 +02:00
Crited
e7950c1616 Update CheckBasket 2019-09-11 16:07:52 +02:00
Crited
df1911c3c8 Pulled from testing, build basic IcingaCheckCommandBasket-Function 2019-09-11 15:08:30 +02:00
Lord Hepipud
2f874fa4d2 Added Tool-Function to get Sha1 from String elements 2019-09-10 09:38:35 +02:00
Lord Hepipud
b352a5b544 Fixed code type for documentation 2019-09-10 09:37:27 +02:00
Lord Hepipud
74d48a2096 Added basic documentation for Check-Commands 2019-09-09 10:12:02 +02:00
Lord Hepipud
df1763bcce Changed Plugin Text Status to allow colored Icinga Web 2 output 2019-08-22 10:43:00 +02:00
Lord Hepipud
232a373239 Added check for Windows Uptime 2019-08-20 17:02:58 +02:00