Commit graph

544 commits

Author SHA1 Message Date
Christian Stein
d97bc8aeb8 Moves Read REST message function into proper module folder 2020-03-24 20:11:24 +01:00
Christian Stein
9221cb050d Adds function to fetch local Icinga 2 Agent host certificate 2020-03-24 20:10:41 +01:00
Christian Stein
df7be4a317 Add debug output for starting new thread instances 2020-03-24 20:09:50 +01:00
Christian Stein
9b947dc069 Adds additional eventlog write functions 2020-03-24 20:07:34 +01:00
Alexander Stoll
e6b46b84f7
Fix codestyling 2020-03-24 18:43:27 +01:00
Alexander Stoll
50133d22f2
Create Read-IcingaRESTMessage.psm1
First draft of Read-IcingaRESTMessage.psm1

#57 Regarding parsing
2020-03-24 18:40:33 +01:00
Christian Stein
b947f71f3a Add support to write into Windows Event Log (debug only for now) 2020-03-24 14:04:41 +01:00
Christian Stein
edd8b4b6ed Added basiic TCP Cmdlets and handling 2020-03-24 12:42:14 +01:00
Christian Stein
a040873e31 Fix Self-Service API key input prompt during install wizard, even if key is set
Fixes #52
2020-03-11 17:46:01 +01:00
Christian Stein
66eda2d71b Fixes handling for LocalSystem account if set as service user
Fixes #51
2020-03-11 13:01:54 +01:00
Christian Stein
77ebfc431f Fix crash while trying to update with identical current and target version
Fixes #50
2020-03-10 17:28:22 +01:00
Christian Stein
a45d0e2fbb Use NETBIOS name for non-domain hosts instead of hostname
Fixes #49
2020-03-10 17:01:43 +01:00
NeverUsedID
0eccbd9ba2
Fixed: ServiceUser can't be changed on Server 2008
Added a space to fix sc.exe not changing user on Windows Server 2008 because it expects a space between 'password=' and '"{2}"'
2020-03-04 15:18:13 +01:00
Christian Stein
96314bfe8c Fixes service exit code fetching 2020-02-18 13:36:46 +01:00
Christian Stein
9e52d16a3d Adds service exclude and service exit code data fetching 2020-02-18 12:27:47 +01:00
Christian Stein
90a8fab9cb Merge branch 'bugfix/interface_detection' 2020-02-14 09:34:41 +01:00
Christian Stein
3e86748dd0 Fixes plugin installation if wizard arguments are set
Fixes #46
2020-02-13 16:28:06 +01:00
Christian Stein
cfd28f30e2 Fixes broken datalist data type configuration on Basket generation
Fixes #45
2020-02-13 14:16:42 +01:00
Christian Stein
d0dcc0c128 Adds Icinga Agent object list wrapper implementation
Fixes #44
2020-02-13 12:32:56 +01:00
Christian Stein
714827bc0a Adds script termination in case Agent is not installed for Agent Binary fetching 2020-02-13 10:19:23 +01:00
Christian Stein
401ac2ed53 Fixes tail command with read limit
Fixes #43
2020-02-13 10:12:57 +01:00
Alexander Stoll
e07f7f1482 Add first draft unit determination tools 2020-02-07 15:07:29 +01:00
Christian Stein
58d2aa7403 Fixes TLS error on old PowerShell versions for GitHub connections
Fixes #41
2020-02-07 11:21:53 +01:00
Christian Stein
9b6941c4b9 Fixes exceptions during interface discovery
Fix #38
2020-02-07 11:06:57 +01:00
Christian Stein
a724f486f8 Fixes missing error message from Icinga Director Self-Service API on Wizard 2020-02-04 09:34:01 +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
9733bde88b Fixes wrong Url for stable Plugin Release
Fixes #36
2019-12-17 17:19:48 +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
4c839e0b19 Create Plugin Directory during installation
Fixes #34
2019-12-10 14:20:21 +01:00
Alexander Stoll
9ab979f83b Fix missing const NodeName #33 2019-12-10 13:14:00 +01:00
Christian Stein
58c6d0fd7d Improved stability for Director Wizard
Fixes #27
2019-12-06 20:28:09 +01:00
Christian Stein
c7c2ef8c22 Add Cmdlet to uninstall PowerShell service
Fixes #32
2019-12-06 19:33:14 +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
4e97b1f19f Fixes missing ServiceUser fetching from Director SelfService
Fixes #30
2019-12-02 10:21:38 +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
Lord Hepipud
6cb7bd4414 Removes not required console output 2019-11-05 10:02:07 +01:00
Lord Hepipud
67e2f55802 Fixes empty variable content 2019-11-05 09:43:06 +01:00
Lord Hepipud
9271d7b646 Fixes missing string ending for Ticket 2019-11-05 09:40:14 +01:00
Lord Hepipud
7b8f74cd4f Fixes execution order during Agent installation 2019-11-05 09:35:10 +01:00
Lord Hepipud
47f721e62c Fixes Agent installation processing if no version is specified 2019-11-05 09:21:49 +01:00
Lord Hepipud
2df18aadff Fixes Agent installation prompt 2019-11-05 09:18:54 +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
d3d5d8d4bd Merge branch 'master' of https://github.com/LordHepipud/icinga-module-windows 2019-11-04 10:12:39 +01:00
Lord Hepipud
8dd429549a Fixes spelling issues 2019-11-04 10:08:46 +01:00
Lord Hepipud
817cff457d Fixes missing Icinga Ticket dialogue 2019-11-04 10:08:28 +01:00
Lord Hepipud
1f21de5de5 Improve Icinga CA question 2019-11-04 09:50:38 +01:00
Lord Hepipud
2e69ece84c Fixes AcceptConnections argument 2019-11-04 09:45:26 +01:00
Lord Hepipud
0c5076ad77 Improve question for Firewall to be always printed 2019-11-04 09:42:08 +01:00
Lord Hepipud
5da5ab5695 Fixes spelling error 2019-11-04 09:37:40 +01:00
Lord Hepipud
02fb58d935 Fixes hostname fetching default arguments 2019-11-04 09:32:56 +01:00
Lord Hepipud
1a2e104558 Fixes wrong comparison of hostname fetch handler 2019-11-04 09:27:13 +01:00
Lord Hepipud
cc7f8dfe2c Fixes missing AllowVersionChanges argument 2019-11-04 09:26:48 +01:00
Lord Hepipud
e114c37b95 Fixes duplicate connection question 2019-11-04 09:20:10 +01:00
Lord Hepipud
32d3f7d77f Add delay between service stop and framework upgrade 2019-11-03 22:55:21 +01:00
Lord Hepipud
ac5d801750 Add delay between service stop and framework upgrade 2019-11-03 22:55:21 +01:00
Lord Hepipud
f7a5c08206 Fixed missing config migration during upgrade 2019-11-03 22:19:06 +01:00
Lord Hepipud
8e62cdb836 Fixed missing config migration during upgrade 2019-11-03 22:19:06 +01:00
Lord Hepipud
645744ff81 Add service start/stop if required while upgrading framework 2019-11-03 22:17:31 +01:00
Lord Hepipud
f3b19145ac Add service start/stop if required while upgrading framework 2019-11-03 22:17:31 +01:00
Lord Hepipud
6c7a88fde6 Fixes accidental conversion of array to string while they should be arrays 2019-11-03 20:08:43 +01:00
Lord Hepipud
05f67d6a1a Fixes accidental conversion of array to string while they should be arrays 2019-11-03 20:08:43 +01:00
Lord Hepipud
1aecabc5c7 Fixes Plugin Url repo binding 2019-11-03 19:55:24 +01:00
Lord Hepipud
ed733881f0 Fixes Plugin Url repo binding 2019-11-03 19:55:24 +01:00
Lord Hepipud
9746631e97 Fixes missing Icinga CA Ticket handling 2019-11-03 19:47:42 +01:00
Lord Hepipud
64458d2bcb Fixes missing Icinga CA Ticket handling 2019-11-03 19:47:42 +01:00
Lord Hepipud
f81413a66d Fixes CA endpoint configuration 2019-11-03 19:32:41 +01:00
Lord Hepipud
011cf54d1c Fixes CA endpoint configuration 2019-11-03 19:32:41 +01:00
Lord Hepipud
8c6b9257e2 Add support for managing Windows Firewall config 2019-11-03 19:22:28 +01:00
Lord Hepipud
47a505ea77 Add support for managing Windows Firewall config 2019-11-03 19:22:28 +01:00
Lord Hepipud
921acbdcea Add easier handling to set user permissions 2019-11-03 18:01:54 +01:00
Lord Hepipud
709402e9c3 Add easier handling to set user permissions 2019-11-03 18:01:54 +01:00
Lord Hepipud
58725ee6b4 Fixes the icingapowershell daemon as it has to run atleast once 2019-11-03 17:32:17 +01:00
Lord Hepipud
9209a4e671 Fixes the icingapowershell daemon as it has to run atleast once 2019-11-03 17:32:17 +01:00
Lord Hepipud
433b1122cb Add support to install plugins during setup wizard 2019-11-03 17:07:47 +01:00
Lord Hepipud
eb70027951 Add support to install plugins during setup wizard 2019-11-03 17:07:47 +01:00
Lord Hepipud
41ca4d86bf Fixes PowerShell daemon service registration 2019-11-03 16:59:45 +01:00
Lord Hepipud
cfba374227 Fixes PowerShell daemon service registration 2019-11-03 16:59:45 +01:00
Lord Hepipud
21fc6937a8 Fixes cache folder permissions after update 2019-11-03 16:31:02 +01:00
Lord Hepipud
f67224114a Fixes cache folder permissions after update 2019-11-03 16:31:02 +01:00
Lord Hepipud
567e91a04a Add missing IcingaSevices Cmdlet 2019-11-03 16:15:46 +01:00
Lord Hepipud
6005a6203f Add missing IcingaSevices Cmdlet 2019-11-03 16:15:46 +01:00
Lord Hepipud
98a7cddd3c Fixes crashes on Framework updater, adds version check 2019-11-03 15:59:33 +01:00
Lord Hepipud
090d25f27e Fixes crashes on Framework updater, adds version check 2019-11-03 15:59:33 +01:00
Lord Hepipud
eeda3a18cf Add support to install and update PowerShell plugins 2019-11-03 15:57:57 +01:00
Lord Hepipud
ddb85898f8 Add support to install and update PowerShell plugins 2019-11-03 15:57:57 +01:00
Lord Hepipud
6dc798f4d9 Add function to recursively unblock PowerShell files 2019-11-03 15:55:08 +01:00
Lord Hepipud
f6f6acf9fc Add function to recursively unblock PowerShell files 2019-11-03 15:55:08 +01:00
Lord Hepipud
b9deef0bee Add support to fetch custom version of Icinga modules 2019-11-03 15:54:25 +01:00
Lord Hepipud
e937195e16 Add support to fetch custom version of Icinga modules 2019-11-03 15:54:25 +01:00
Lord Hepipud
0dafbb6e07 Improves setup wizard usability and fixes Director overriding 2019-11-03 09:46:27 +01:00
Lord Hepipud
89e8045870 Improves setup wizard usability and fixes Director overriding 2019-11-03 09:46:27 +01:00
Lord Hepipud
9d8a790e63 Fixes Url building for Agent download 2019-11-02 17:43:19 +01:00
Lord Hepipud
6e5b0ee218 Fixes Url building for Agent download 2019-11-02 17:43:19 +01:00
Lord Hepipud
7db7eae32b Add output for service restart message 2019-11-02 17:42:56 +01:00
Lord Hepipud
cdd1cf8189 Add output for service restart message 2019-11-02 17:42:56 +01:00
Lord Hepipud
23de94de2d Add Director Self-Service setup wizard integration 2019-11-02 17:42:39 +01:00
Lord Hepipud
8a3c8c4102 Add Director Self-Service setup wizard integration 2019-11-02 17:42:39 +01:00
Lord Hepipud
6425066bac Add function to combine web Urls properly 2019-11-02 14:48:44 +01:00
Lord Hepipud
0a9f24f663 Add function to combine web Urls properly 2019-11-02 14:48:44 +01:00
Lord Hepipud
312fd4a03f Fixes CA endpoint by using the actual connection address 2019-11-02 12:33:01 +01:00
Lord Hepipud
a390d92623 Fixes CA endpoint by using the actual connection address 2019-11-02 12:33:01 +01:00
Lord Hepipud
2f0cc846f3 Add function to update the module from CLI 2019-11-02 12:15:25 +01:00
Lord Hepipud
8bce99e42a Add function to update the module from CLI 2019-11-02 12:15:25 +01:00
Lord Hepipud
2157e151db Fixes powershell services url due to renaming 2019-10-31 17:28:14 +01:00
Lord Hepipud
abfbac1448 Fixes powershell services url due to renaming 2019-10-31 17:28:14 +01:00
Lord Hepipud
8057fcd907 Fixes repo links and namings 2019-10-31 17:24:30 +01:00
Lord Hepipud
792ba86955 Fixes repo links and namings 2019-10-31 17:24:30 +01:00
Lord Hepipud
7665a4401e Fixes crash on existing service binary file 2019-10-31 16:36:55 +01:00
Lord Hepipud
621af88831 Fixes crash on existing service binary file 2019-10-31 16:36:55 +01:00
Lord Hepipud
25ed359456 Fixes spelling and adding default values 2019-10-31 16:35:50 +01:00
Lord Hepipud
78a2cf4466 Fixes spelling and adding default values 2019-10-31 16:35:50 +01:00
Lord Hepipud
80bd15e47f Extend setup wizard with powershell framework service 2019-10-31 14:33:56 +01:00
Lord Hepipud
3b4eae6fc9 Extend setup wizard with powershell framework service 2019-10-31 14:33:56 +01:00
Lord Hepipud
f4d349e396 Rename IcingaPowerShellService to IcingaFrameworkService 2019-10-31 14:32:49 +01:00
Lord Hepipud
4285889b52 Rename IcingaPowerShellService to IcingaFrameworkService 2019-10-31 14:32:49 +01:00
Lord Hepipud
071a26cc62 Add smart service interaction functions 2019-10-31 14:32:19 +01:00
Lord Hepipud
89a0b4a0bd Add smart service interaction functions 2019-10-31 14:32:19 +01:00
Lord Hepipud
ba1dc01c58 Fixes uninstall process to stop icinga service first 2019-10-31 14:31:49 +01:00
Lord Hepipud
891532aff2 Fixes uninstall process to stop icinga service first 2019-10-31 14:31:49 +01:00
Lord Hepipud
c56e5ad8b5 Add support to download and install PowerShell service 2019-10-31 13:43:20 +01:00
Lord Hepipud
0de69ee830 Add support to download and install PowerShell service 2019-10-31 13:43:20 +01:00
Lord Hepipud
a1fd2cca6e Add support to specify a service for changing the user for 2019-10-31 13:41:42 +01:00
Lord Hepipud
4ec3d795ff Add support to specify a service for changing the user for 2019-10-31 13:41:42 +01:00
Lord Hepipud
51042d6c0e Merge branch 'snapshot' of https://github.com/LordHepipud/icinga-module-windows into snapshot 2019-10-31 13:17:59 +01:00
Lord Hepipud
8fa0421e7b Merge branch 'snapshot' of https://github.com/LordHepipud/icinga-module-windows into snapshot 2019-10-31 13:17:59 +01:00
Lord Hepipud
b5c361d569 Improves initial setup wizard with more default values 2019-10-31 10:12:25 +01:00
Lord Hepipud
55f5b25e58 Improves initial setup wizard with more default values 2019-10-31 10:12:25 +01:00
Alexander Stoll
bd3d62ff7f Convert-Bytes returns hash with former and current unit 2019-10-31 09:43:13 +01:00
Crited
cee8ef178a 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
c257beab9b 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
fcce0f4fb1 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
70855ea0fb 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
Lord Hepipud
9876e509c8 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
Crited
f3c2d2a9d5 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
Crited
57df8e1424 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
Crited
af76cd2a28 Generic Conversion for Bytes 2019-10-29 16:08:27 +01:00
Alexander Stoll
9916d88a97 Changes Performance Counter category output 2019-10-29 15:40:35 +01:00
Crited
f899c6f010 Changes Performance Counter category output 2019-10-29 15:40:35 +01:00
Alexander Stoll
4d614cacfa Documentation skeletons and actual documentation 2019-10-29 11:34:59 +01:00
Crited
401d08f66f 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
Lord Hepipud
de6328139f 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
Crited
cfb6d9f5a0 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
236830d73c Separation of install wizard and answer input 2019-10-28 17:10:33 +01:00
Lord Hepipud
a0b5efba19 Separation of install wizard and answer input 2019-10-28 17:10:33 +01:00
Lord Hepipud
1b424a1fc4 Fixes service user to point to local machine if not defined 2019-10-28 17:07:48 +01:00
Lord Hepipud
ace1ecbee7 Fixes service user to point to local machine if not defined 2019-10-28 17:07:48 +01:00
Lord Hepipud
c3063d23fa Update Start-IcingaAgentInstallWizard.psm1 2019-10-28 16:59:11 +01:00
Lord Hepipud
722d884a6b Update Start-IcingaAgentInstallWizard.psm1 2019-10-28 16:59:11 +01:00
Lord Hepipud
9649e01608 Add secure prompt to install Wizard 2019-10-28 16:56:05 +01:00
Lord Hepipud
af236099ad Add secure prompt to install Wizard 2019-10-28 16:56:05 +01:00
Lord Hepipud
afec954d35 Add tool function to close and flush TCP connections 2019-10-22 20:05:43 +02:00
Lord Hepipud
18c060cc4d 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
47417223f9 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
a00f2aeda5 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
a13a706e14 Added SecureString convertion functions 2019-10-17 09:57:16 +02:00
Lord Hepipud
64410ea00a Improved Agent Install Wizard for global zone config 2019-10-17 08:44:48 +02:00
Lord Hepipud
03ecf123da Improved Agent Install Wizard for global zone config 2019-10-17 08:44:48 +02:00
Lord Hepipud
392ca62038 Fixed duplicate '__' in Perf Data output 2019-10-07 16:30:55 +02:00
Lord Hepipud
76479880a6 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
5acbb52575 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
6900a1694f Added proper support for custom plugins / lib elements 2019-10-07 00:04:30 +02:00
Lord Hepipud
22d0ed33b5 Improved code styling 2019-10-06 18:06:41 +02:00
Lord Hepipud
d843ded4f7 Improved code styling 2019-10-06 18:06:41 +02:00
Lord Hepipud
09a681609d Added help funtion to test for PSObjects members 2019-10-06 16:56:24 +02:00
Lord Hepipud
1550d2b4ae Added help funtion to test for PSObjects members 2019-10-06 16:56:24 +02:00
Lord Hepipud
16f5c5fe13 Added support and management of threads 2019-10-05 21:59:03 +02:00
Lord Hepipud
c0d7b4e761 Added support and management of threads 2019-10-05 21:59:03 +02:00
Lord Hepipud
298ad37c83 Added helper functions for Arrays and Hashtables 2019-10-05 21:51:39 +02:00
Lord Hepipud
887c5511d5 Added helper functions for Arrays and Hashtables 2019-10-05 21:51:39 +02:00
Lord Hepipud
af8b896303 Added first beta for CLI guided install wizard for the Agent 2019-09-30 00:35:29 +02:00
Lord Hepipud
5190851b96 Added first beta for CLI guided install wizard for the Agent 2019-09-30 00:35:29 +02:00
Lord Hepipud
6c85fc6f8c Added missing tool function to start processes 2019-09-30 00:34:01 +02:00
Lord Hepipud
b3ac481904 Added missing tool function to start processes 2019-09-30 00:34:01 +02:00
Lord Hepipud
b0875a6a2b Improved output while trying to enable/disable features 2019-09-30 00:33:17 +02:00
Lord Hepipud
079b64aff1 Improved output while trying to enable/disable features 2019-09-30 00:33:17 +02:00
Lord Hepipud
9bd709f0da Changed AllowUpdate type for easier programmable use on Agent installation 2019-09-30 00:32:45 +02:00
Lord Hepipud
e9c37bd042 Changed AllowUpdate type for easier programmable use on Agent installation 2019-09-30 00:32:45 +02:00
Lord Hepipud
411cfec4d4 Fixed code styling 2019-09-29 23:02:00 +02:00
Lord Hepipud
eac6ba1cf3 Fixed code styling 2019-09-29 23:02:00 +02:00
Lord Hepipud
25dc0031b0 Added Icinga Agent management Cmdlets 2019-09-29 18:25:40 +02:00
Lord Hepipud
c209e2fb6e Added Icinga Agent management Cmdlets 2019-09-29 18:25:40 +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
3b9f66d679 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
64a5054108 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
3ec2f44fed 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
089ad30171 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
9d4254158a 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
dbbb440eac 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
289b1a1ed5 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
90d9eed8ef Fixed issue on opening new check commands with default Editor 2019-09-19 16:22:05 +02:00
Lord Hepipud
f5d6f152ce Added exception handling on creating cache files 2019-09-19 12:26:48 +02:00
Lord Hepipud
d3d1a9d238 Added exception handling on creating cache files 2019-09-19 12:26:48 +02:00
Lord Hepipud
2d9dae4b64 Added proper exception handling for Cache write failures 2019-09-17 17:56:56 +02:00
Lord Hepipud
0d7954617c Added proper exception handling for Cache write failures 2019-09-17 17:56:56 +02:00
Lord Hepipud
4d3bdfd332 Added support to create and load cache data (prototype) 2019-09-17 17:17:38 +02:00
Lord Hepipud
300a8d4d40 Added support to create and load cache data (prototype) 2019-09-17 17:17:38 +02:00
Lord Hepipud
c27df29aeb Extended digit format with custom symbol 2019-09-16 17:53:29 +02:00
Lord Hepipud
b92d3004b9 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
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
eecf27782e Fixed default value for Verbose argument on Config generation 2019-09-16 17:02:13 +02:00
Lord Hepipud
0fed0f938c 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
9c2a65a9ad 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
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
516b915472 Fixed methods_execute variable naming 2019-09-16 12:06:05 +02:00
Lord Hepipud
ef736beca6 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
865c94fc6c 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
bee9b0a1c1 Added first draft to create new CheckCommands over CLI 2019-09-14 16:14:24 +02:00
Lord Hepipud
49dc3849e5 Improved exception handling on a more global state 2019-09-14 16:12:24 +02:00
Lord Hepipud
cf158dd3e8 Improved exception handling on a more global state 2019-09-14 16:12: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
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
806e6909e2 Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-09-13 17:04:09 +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
Alexander Stoll
ae241b6109 Fixed codestyling 2019-09-13 16:24:30 +02:00
Crited
3f0721f7eb 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
Crited
81589fa910 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
Crited
0a99db36ef 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
Crited
ac061edaac 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
Crited
d7fdeba915 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
2f874fa4d2 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
c6ae93cb7b 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
5791dbeddd 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
3ee4f60df3 Improved ConvertTo-Seconds Cmdlet 2019-08-20 15:09:43 +02:00
Lord Hepipud
8de71663a3 Added error for missing argument on PerformanceCounters 2019-08-19 12:26:23 +02:00
Lord Hepipud
8f836fce18 Added error for missing argument on PerformanceCounters 2019-08-19 12:26:23 +02:00
Lord Hepipud
8f6b7ea3e7 Added tool function to translate Icinga Args in PS Args 2019-08-19 12:14:02 +02:00
Lord Hepipud
89647ede8f 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
1da13b3eb1 WIP 2019-08-15 11:28:18 +02:00
Niko Martini
54499cae4c Toolset for conversion 2019-07-25 18:16:33 +02:00
Niko Martini
df20e7a0f3 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
Lord Hepipud
ecef0920b4 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
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
56ddd36cbb 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
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
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
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
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
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