Commit graph

344 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