Commit graph

180 commits

Author SHA1 Message Date
Christian Stein
9b6941c4b9 Fixes exceptions during interface discovery
Fix #38
2020-02-07 11:06:57 +01:00
Christian Stein
80975bee24 Fixes naming of byte data types and functions 2020-02-04 09:33:27 +01:00
Christian Stein
499af2b92e Fixes PetaByte unit short name 2020-02-03 18:09:03 +01:00
Christian Stein
ff06ea5f13 Fixes unit naming for byte related types 2020-02-03 18:03:40 +01:00
Christian Stein
bec3459231 Adds proper handling for invalid inputs on byte conversion for plugin usage 2020-02-03 17:56:34 +01:00
Christian Stein
ac98e88626 Fixes broken switch arguments in basket configurator
Fixes #39
2020-02-03 17:28:31 +01:00
Christian Stein
edacccd75a Improve interface detection for multi IP hosts
Possibly Fix #38
2020-01-15 15:25:10 +01:00
Christian Stein
4b87a68b58 Add Cmdlets to Show / Remove SelfService Api Key
Fixes #35
2019-12-12 16:00:39 +01:00
Christian Stein
b978ee6574 Add support for Host-Address for Director Register
Fixes #31
2019-12-12 15:49:56 +01:00
Christian Stein
ce9257a30d Improved code styling 2019-12-12 14:19:37 +01:00
Crited
9adfe087d8 Create first draft: Interface Detection and Sub-Tools 2019-12-11 16:14:35 +01:00
Christian Stein
c1710062ae Improve installation/updates for Framework and Plugins
Fixes #23
Fixes #28
Fixes #29
2019-12-06 19:29:17 +01:00
Lord Hepipud
0d6a68ffee Fixes temporary file creation on older Powershell versions
Fixes #22
2019-11-22 19:59:54 +01:00
Lord Hepipud
7b408b209c Fixes NTAccount fetching on Get-IcingaUserSID
Fixes #21
2019-11-22 19:45:55 +01:00
Lord Hepipud
9df17e1068 Fixes Service Check Background Daemon Memory leak
Fixes #20

This fixes the memory leak on the Service Check Background Daemon, mainly caused by not properly catching the boolean return values of `Add-IcingaHashtableItem`. The boolean values stayed within the scope, poluting the memory and causing functions to behave not as expected
2019-11-22 19:42:48 +01:00
Crited
d8f72a11e8 Removes unnecessary comments 2019-11-04 11:37:34 +01:00
Crited
bdf0b7146e Fixes config generating with datalists 2019-11-04 11:36:41 +01:00
Lord Hepipud
567e91a04a Add missing IcingaSevices Cmdlet 2019-11-03 16:15:46 +01:00
Lord Hepipud
6425066bac Add function to combine web Urls properly 2019-11-02 14:48:44 +01:00
Lord Hepipud
8057fcd907 Fixes repo links and namings 2019-10-31 17:24:30 +01:00
Alexander Stoll
bd3d62ff7f Convert-Bytes returns hash with former and current unit 2019-10-31 09:43:13 +01:00
Lord Hepipud
55372ac7ea Improved basket check command config generator
* Add support for dynamic list creation
* Fixes plenty of static code definitions
2019-10-30 18:19:08 +01:00
Lord Hepipud
7731581660 Fixes Unix time by always using UTC 2019-10-30 17:57:36 +01:00
Lord Hepipud
95ffecfd05 Fixes time span date output 2019-10-30 17:53:57 +01:00
Lord Hepipud
27c890b50c Fixes spacing for checks within check packages 2019-10-30 17:53:31 +01:00
Alexander Stoll
2e7c91e6ca Reverse thresholds for memory 2019-10-30 14:44:44 +01:00
Alexander Stoll
17d5269a7a Add Conversion for both IEC and SI Byte-Suffix (10^X & 2^X) 2019-10-30 13:52:37 +01:00
Alexander Stoll
00f3be3163 Generic Conversion for Bytes 2019-10-29 16:08:27 +01:00
Alexander Stoll
4d614cacfa Documentation skeletons and actual documentation 2019-10-29 11:34:59 +01:00
Lord Hepipud
c1170402c6 Fixes filtering of 'core' plugin argument 2019-10-29 09:08:44 +01:00
Alexander Stoll
b68ed5440e Add Set-NumericNegative Tool; Seperate Directory check into provider, change directory check from date to relative (20d) 2019-10-29 09:01:38 +01:00
Lord Hepipud
afec954d35 Add tool function to close and flush TCP connections 2019-10-22 20:05:43 +02:00
Lord Hepipud
0d59fc9a15 Add support to test for available functions 2019-10-22 19:19:57 +02:00
Lord Hepipud
90f61052da Added Icinga Service and Service permission management 2019-10-17 22:51:12 +02:00
Lord Hepipud
317c42daef Added SecureString convertion functions 2019-10-17 09:57:16 +02:00
Lord Hepipud
392ca62038 Fixed duplicate '__' in Perf Data output 2019-10-07 16:30:55 +02:00
Lord Hepipud
a8d8269599 Added helper function to test for administrative shell 2019-10-07 00:06:15 +02:00
Lord Hepipud
843359d64b Added proper support for custom plugins / lib elements 2019-10-07 00:04:30 +02:00
Lord Hepipud
09a681609d Added help funtion to test for PSObjects members 2019-10-06 16:56:24 +02:00
Lord Hepipud
298ad37c83 Added helper functions for Arrays and Hashtables 2019-10-05 21:51:39 +02:00
Lord Hepipud
6c85fc6f8c Added missing tool function to start processes 2019-09-30 00:34:01 +02:00
Lord Hepipud
63a2054aa3 Added tool function to split IP and Port from strings 2019-09-29 18:18:31 +02:00
Lord Hepipud
460beb2d4f Added tool function to get Unix Time 2019-09-28 21:47:44 +02:00
Lord Hepipud
1c0844e5e7 Added more details for new Check Plugin Command as starting point 2019-09-25 20:18:27 +02:00
Lord Hepipud
59236ee0ec Added exit statement for command execution 2019-09-25 20:02:42 +02:00
Lord Hepipud
98c5704c16 Improved Check-Command config by adding a Base Command 2019-09-25 19:56:05 +02:00
Lord Hepipud
9096a3d0f6 Removed debug output for New-CheckCommand Cmdlet 2019-09-25 19:55:27 +02:00
Lord Hepipud
b6e1d67d31 Ensured custom_vars Variable Part is always identical 2019-09-25 19:30:02 +02:00
Lord Hepipud
0e92b47ffa Fixed issue on opening new check commands with default Editor 2019-09-19 16:22:05 +02:00
Lord Hepipud
c27df29aeb Extended digit format with custom symbol 2019-09-16 17:53:29 +02:00
Lord Hepipud
60e7a52986 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
eecf27782e Fixed default value for Verbose argument on Config generation 2019-09-16 17:02:13 +02:00
Lord Hepipud
d3a84d2e67 Fixed Verbose Argument duplication and DataList type 2019-09-16 16:31:15 +02:00
Lord Hepipud
fae69a3e69 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
516b915472 Fixed methods_execute variable naming 2019-09-16 12:06:05 +02:00
Lord Hepipud
10001cc84d Fixed invalid entry_value key name 2019-09-16 12:02:38 +02:00
Lord Hepipud
f5269014b1 Added first draft to create new CheckCommands over CLI 2019-09-14 16:14:24 +02:00
Lord Hepipud
2c96a60e6d 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
806e6909e2 Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-09-13 17:04:09 +02:00
Alexander Stoll
ae241b6109 Fixed codestyling 2019-09-13 16:24:30 +02:00
Alexander Stoll
d7c1e27f84 Added missing description for documented plugin arguments 2019-09-13 16:23:34 +02:00
Alexander Stoll
4b8f73afb0 Fixed Codestyling 2019-09-13 16:01:46 +02:00
Alexander Stoll
3d854da218 Used Icinga-DSL for array-arg splitting 2019-09-13 15:59:22 +02:00
Alexander Stoll
b97329f20c Moved Get-IcingaCheckCommandConfig.psm1 to intended directory 2019-09-13 11:46:09 +02:00
Lord Hepipud
f0b86ec346 Added Tool-Function to get Sha1 from String elements 2019-09-10 09:38:35 +02:00
Lord Hepipud
f300348c6f Added function to convert seconds to runtime 2019-08-20 17:01:20 +02:00
Lord Hepipud
56a1126166 Extended Second conversion with Icinga threshold handling 2019-08-20 16:31:07 +02:00
Lord Hepipud
6a2e4b94e5 Improved ConvertTo-Seconds Cmdlet 2019-08-20 15:09:43 +02:00
Lord Hepipud
8f6b7ea3e7 Added tool function to translate Icinga Args in PS Args 2019-08-19 12:14:02 +02:00
Niko Martini
cb33d3852a WIP 2019-08-15 11:28:18 +02:00
Niko Martini
54499cae4c Toolset for conversion 2019-07-25 18:16:33 +02:00
Lord Hepipud
a7c51ef59b Fixed code spacing 2019-07-23 09:34:15 +02:00
Niko Martini
b8cf37f713 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
489e2862ca 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
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