Commit graph

954 commits

Author SHA1 Message Date
Lord Hepipud
7551233f0b Improves error handling during certificate generation 2020-05-30 14:19:34 +02:00
Lord Hepipud
f961a854cc Fixes debug console output being printed while debugging is disabled 2020-05-30 12:11:30 +02:00
Lord Hepipud
6304e0b1b7 Adds return of own object for setter functions for checks 2020-05-29 18:35:41 +02:00
Lord Hepipud
73fe3aac31 Adds support for handling authentication requests with basic auth 2020-05-29 18:02:30 +02:00
Lord Hepipud
6838933bd5 Improves and standardizes the wizard even further 2020-05-29 14:49:34 +02:00
Lord Hepipud
6e50603b30 Replaces 'latest' version with 'release' and standardizes is 2020-05-29 14:02:43 +02:00
Christian Stein
b86242cf72 Adds examples for value comparison 2020-05-28 17:30:06 +02:00
Christian Stein
80d0e5c94f Adds tool function to compare value for minimum/maximum 2020-05-28 17:26:53 +02:00
Lord Hepipud
b315bad062
Merge branch 'master' into feature/rest_daemon 2020-05-22 16:50:31 +02:00
Lord Hepipud
77b8c1bae5
Merge pull request #68 from Icinga/feature/wizard-improvement
Feature/wizard improvement
2020-05-22 16:42:41 +02:00
Lord Hepipud
971e09dc43 Fixes and improves various messages, handlings and severities for wizard 2020-05-22 16:34:18 +02:00
Lord Hepipud
987a52c418 Improves console output for certain commands 2020-05-22 13:42:23 +02:00
Lord Hepipud
882ce624a0 Changes error for service installation to warning on missing path 2020-05-22 13:41:24 +02:00
Lord Hepipud
c6a7154686 Renames Default: to Defaults: on setup wizard 2020-05-22 13:22:41 +02:00
Lord Hepipud
5aa7e8259d Fixes argument parsing and prompt for IP conversion 2020-05-22 13:20:41 +02:00
Lord Hepipud
eeb7406382 Improves IP conversion by returning unresolved name only 2020-05-22 13:20:03 +02:00
Lord Hepipud
4a869458cc Improves connection conversion wizard handling 2020-05-22 12:55:39 +02:00
Lord Hepipud
2ac3de5267 Fixes FQDN to IP wizard conversion question 2020-05-22 12:55:39 +02:00
Lord Hepipud
7961a0d0d1 Adds defaults to certain steps and FQDN to IP conversion 2020-05-22 12:55:39 +02:00
Lord Hepipud
d983f6f767 Adds support to fully uninstall the Icinga 2 agent including ProgramData
Fixes #67
2020-05-22 12:19:03 +02:00
Lord Hepipud
84975a4759 Adds help for several Cmdlets 2020-05-22 09:52:48 +02:00
Lord Hepipud
c4179338a1 Adds support to set check state by function call 2020-05-19 17:30:50 +02:00
Lord Hepipud
7860818be1 Adds new exception messages and custom exception handling 2020-05-19 17:29:42 +02:00
Lord Hepipud
2b740785fe Replaces Write-Host calls with custom console writes 2020-05-13 16:53:15 +02:00
Lord Hepipud
efdca87b7e Improves wizard argument escaping, duplicates and arg conversion
Fix #61
2020-05-12 18:33:50 +02:00
Lord Hepipud
d205989007 Fixes performance data by converting boolean to integer
Fixes #66
2020-05-12 16:37:08 +02:00
Lord Hepipud
5cb885dc14 Adds tool function for easily creating basic auth headers 2020-04-30 13:48:45 +02:00
Lord Hepipud
c0e006640a Adds support to restore original config after using old PS module
Fixes #65
2020-04-28 17:05:57 +02:00
Lord Hepipud
96733eb791 Fix URL building for Agent MSI packages
Fixes #64
2020-04-28 16:39:38 +02:00
Lord Hepipud
7fa21a8f86 Adds help for several Cmdlets 2020-04-28 15:24:57 +02:00
Lord Hepipud
00990c52e1 Adds documentation for several Cmdlets 2020-04-28 14:06:43 +02:00
Lord Hepipud
09d7bf9050 Fixes missing port argument for save-cert Icinga 2 command
Fixes #63
2020-04-28 14:04:34 +02:00
Lord Hepipud
4f8b51ce78 Handle deprecated argument --key for Icinga Agent save-cert cmd
Fixes #62
2020-04-28 14:00:05 +02:00
Lord Hepipud
9e7ab31608 Adds documentation for several Cmdlets 2020-04-28 13:52:32 +02:00
Lord Hepipud
429db105a8 Handle deprecated argument --key for Icinga Agent save-cert cmd
Fixes #62
2020-04-28 13:48:15 +02:00
Lord Hepipud
bde0005203 Fixes Icinga Agent MSI package fetching by ignoring RC packages
Fixes #58
2020-04-13 16:31:55 +02:00
Lord Hepipud
a4dfee6f8b Improves plugin creation Cmdlet, releasing plugins as separate modules 2020-04-01 09:07:42 +02:00
Christian Stein
2fca1d3e2f Adds function to deserialize PSObject properties into name/value keypair 2020-03-30 09:32:54 +02:00
Christian Stein
9a2f3cd429 Adds support for API arguments without value 2020-03-27 17:53:29 +01:00
Christian Stein
0081641bd6 Fixes spelling in eventlog message 2020-03-27 17:16:17 +01:00
Christian Stein
470e5cc036 Adds error handling for SSLStreams and adds eventlog pre-defined messages 2020-03-27 16:43:18 +01:00
Christian Stein
1993683602 Fixes REST message reader for reading new msg properly and body read fixing 2020-03-27 16:42:46 +01:00
Christian Stein
c5e4c4eade Improves TCP Stream reader to read messages with correct size 2020-03-27 16:41:30 +01:00
Christian Stein
dff16d8f0d Adds support to store debugmode state in config and make it globally available 2020-03-27 16:39:47 +01:00
Christian Stein
e8f2152010 Adds unified debug message output with object parsing ability 2020-03-27 16:37:44 +01:00
Christian Stein
699137a97c Adds support to securely fetch elements from hashtables with default values 2020-03-27 16:36:25 +01:00
Christian Stein
7dce37717a Adds generic PowerShell component installer and improved usability 2020-03-26 19:43:37 +01:00
Christian Stein
d62e566fea Adds Cmdlets to enable/disable untrusted certificates for rest endpoints 2020-03-26 18:08:48 +01:00
Christian Stein
d30970b3a9 Improves certutil output by writing it into eventlog on debug mode 2020-03-26 07:34:10 +01:00
Christian Stein
30a7d6f257 Adds exceptions in case source Cert file is missing as argument or invalid 2020-03-26 07:33:28 +01:00
Christian Stein
c6dc082081 Fixes cert file output file to apply 2020-03-26 07:32:57 +01:00
Christian Stein
8a19899fff Fixes x509 cert conversion to only delete temp files not output files 2020-03-26 07:32:20 +01:00
Christian Stein
7a732de5f4 Fixes debug messages being written while no debug option was defined 2020-03-25 22:12:17 +01:00
Christian Stein
eb948d8d22 Adds support for simple setup and fetching of internal check scheduler data 2020-03-25 22:03:31 +01:00
Christian Stein
2e225e1ce5 Adds support for generic call of wildcard functions for fetching multi data 2020-03-25 17:51:53 +01:00
Christian Stein
935c497a7d Extends eventlog write function for pre-defined messages and object dump 2020-03-25 17:50:56 +01:00
Christian Stein
abb2ab1e35 Adds function for simple navigation through REST-Api calls 2020-03-25 17:50:02 +01:00
Christian Stein
e56861d858 Adds generic support for sending TCP client and REST network messages 2020-03-25 17:48:49 +01:00
Alexander Stoll
6de97f439f
Change Regex to support more input variants
References #57
2020-03-25 15:33:32 +01:00
Christian Stein
a78ac014be Adds improved handling for error messages and later doc on website 2020-03-25 08:35:29 +01:00
Christian Stein
9831e9319c Fixes certificate subject name fetching 2020-03-25 07:48:55 +01:00
Christian Stein
691faadf87 Fixes code styling, unused variables and function shortnames 2020-03-24 20:42:11 +01:00
Christian Stein
aaf4c5faec Adds function to fetch SSL cert for sockets for various scenarios 2020-03-24 20:15:52 +01:00
Christian Stein
cf0c3e5602 Adds secure function for initialising client SSL stream reader 2020-03-24 20:14:41 +01:00
Christian Stein
467f366c7c Adds function to securely read header values from our requests 2020-03-24 20:14:06 +01:00
Christian Stein
8d945f3759 Fixes client initialising for SSLStream and possible crash reason 2020-03-24 20:13:28 +01:00
Christian Stein
7361fd801b Adds function to securely fetch remote endpoint address from clients 2020-03-24 20:12:31 +01:00
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
08e3594008 Add debug output messages for TCP handling 2020-03-24 15:32:14 +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
5770956533 Add support to create X509 certificates based on .crt/.cert
Thanks to @crited
2020-03-24 11:13:01 +01:00
Christian Stein
c2697adf2f Improves message on invalid template or host key
Fixes #53
2020-03-11 17:53:59 +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
Christian Stein
825ee4c666 Add support to check if Check-Package has checks
Fixes #48
2020-03-05 17:04:16 +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
c6e9da9783 Redesign of Service Check Daemon for lower CPU usage
Fixes #24
2019-11-23 10:20:37 +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
06b7c0cdd5 Fixes performance data output for single checks 2019-11-05 12:39:54 +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
2c4d482e28 Add support for long-term caching of check metrics 2019-11-03 21:44:29 +01:00
Lord Hepipud
be24dbff2d Add support for long-term caching of check metrics 2019-11-03 21:44:29 +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
b970483683 Removes plugins from framework 2019-11-03 11:58:22 +01:00
Lord Hepipud
a23fbd2d1f Removes plugins from framework 2019-11-03 11:58:22 +01:00
Lord Hepipud
8fffb44039 Fixes check translation by converting non-numeric to string 2019-11-03 11:57:47 +01:00
Lord Hepipud
d314c71628 Fixes check translation by converting non-numeric to string 2019-11-03 11:57:47 +01:00
Lord Hepipud
299d056bbf Improves check output 2019-11-03 11:56:55 +01:00
Lord Hepipud
00417e9392 Improves check output 2019-11-03 11:56:55 +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
Alexander Stoll
daaf5f4373 Fix typo in CheckSum, Added First-Draft/Suggestion/Attempt for Firewall-ProfileCheck 2019-10-31 16:15:09 +01:00
Crited
dbc577ec61 Fix typo in CheckSum, Added First-Draft/Suggestion/Attempt for Firewall-ProfileCheck 2019-10-31 16:15:09 +01:00
Alexander Stoll
0d16c72db1 Merge branch 'snapshot' of https://github.com/LordHepipud/icinga-module-windows into snapshot 2019-10-31 15:01:34 +01:00
Crited
2699018f02 Merge branch 'snapshot' of https://github.com/LordHepipud/icinga-module-windows into snapshot 2019-10-31 15:01:34 +01:00
Alexander Stoll
a88a728f6b Adds CheckSumCheck-FirstDraft/Attempt/Suggestion 2019-10-31 15:01:29 +01:00
Crited
8f0b8f8203 Adds CheckSumCheck-FirstDraft/Attempt/Suggestion 2019-10-31 15:01:29 +01:00
Lord Hepipud
8ff8a58733 Merge branch 'snapshot' of https://github.com/LordHepipud/icinga-module-windows into snapshot 2019-10-31 14:34:00 +01:00
Lord Hepipud
9fdbab1bd7 Merge branch 'snapshot' of https://github.com/LordHepipud/icinga-module-windows into snapshot 2019-10-31 14:34:00 +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
Alexander Stoll
c5d902c1d3 Remove unnecessary code from services and add new performance counter 2019-10-31 13:43:09 +01:00
Crited
f7f56abedd Remove unnecessary code from services and add new performance counter 2019-10-31 13:43:09 +01:00
Alexander Stoll
60208d70b9 Merge branch 'snapshot' of https://github.com/LordHepipud/icinga-module-windows into snapshot 2019-10-31 13:41:49 +01:00
Crited
752f3144c0 Merge branch 'snapshot' of https://github.com/LordHepipud/icinga-module-windows into snapshot 2019-10-31 13:41:49 +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
0200b21ac9 Add support to keep PowerShell open while running as daemon 2019-10-31 13:41:05 +01:00
Lord Hepipud
54476cbb6d Add support to keep PowerShell open while running as daemon 2019-10-31 13:41:05 +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
Alexander Stoll
32cd85cdef Changes to directory check accordingly, based on provider, Creation time added. 2019-10-31 11:17:12 +01:00
Crited
1940fefd4e Changes to directory check accordingly, based on provider, Creation time added. 2019-10-31 11:17:12 +01:00
Alexander Stoll
6b8576c0cc Add Creation Filter & seperated into multiple functions (modular enhancement) 2019-10-31 11:16:33 +01:00
Crited
77d99ae7c2 Add Creation Filter & seperated into multiple functions (modular enhancement) 2019-10-31 11:16:33 +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
c587467c89 Memory check uses Used Memory again (Auto-Detect: Draft for Unit Size) 2019-10-31 09:44:28 +01:00
Crited
2d9b37e272 Memory check uses Used Memory again (Auto-Detect: Draft for Unit Size) 2019-10-31 09:44:28 +01:00
Alexander Stoll
ea8b4f9571 Directory Check now supports file size 2019-10-31 09:43:49 +01:00
Crited
13b90ce2b3 Directory Check now supports file size 2019-10-31 09:43:49 +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
56d7541944 Improves plugin check output and visibility 2019-10-30 18:17:39 +01:00
Lord Hepipud
64fb6d4460 Improves plugin check output and visibility 2019-10-30 18:17:39 +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
Lord Hepipud
bb6b771756 Add gigabyte (GB) unit for valid input 2019-10-30 17:52:53 +01:00
Lord Hepipud
b2a228e389 Add gigabyte (GB) unit for valid input 2019-10-30 17:52:53 +01:00
Lord Hepipud
6b830bd980 Improves performance data output by using lower case only 2019-10-30 17:51:58 +01:00
Lord Hepipud
006c809f56 Improves performance data output by using lower case only 2019-10-30 17:51:58 +01:00
Lord Hepipud
5b778b1847 Improves BIOS serial check result naming 2019-10-30 17:51:30 +01:00
Lord Hepipud
1644d6cd41 Improves BIOS serial check result naming 2019-10-30 17:51:30 +01:00
Lord Hepipud
e2d0ea2924 Improves naming of Windows update check result 2019-10-30 17:51:02 +01:00
Lord Hepipud
75ff1061de Improves naming of Windows update check result 2019-10-30 17:51:02 +01:00
Lord Hepipud
246a1c0100 Improves naming of uptime check result 2019-10-30 17:50:42 +01:00
Lord Hepipud
57af086055 Improves naming of uptime check result 2019-10-30 17:50:42 +01:00
Lord Hepipud
1b4d345d1d Fixed check naming for users 2019-10-30 17:50:24 +01:00
Lord Hepipud
60e7ff7907 Fixed check naming for users 2019-10-30 17:50:24 +01:00
Lord Hepipud
7f3683d013 Fixes variable naming and perf data output 2019-10-30 17:50:07 +01:00
Lord Hepipud
11e791a498 Fixes variable naming and perf data output 2019-10-30 17:50:07 +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
badab41eef Fix for IcingaMemoryCheck; Improve speed, changed provider 2019-10-30 10:44:44 +01:00
Crited
d2ef01eae5 Fix for IcingaMemoryCheck; Improve speed, changed provider 2019-10-30 10:44:44 +01:00
Lord Hepipud
a911ac1847 Add NoPerfData and Units to Memory check 2019-10-30 09:32:22 +01:00
Lord Hepipud
34d33e9b88 Add NoPerfData and Units to Memory check 2019-10-30 09:32:22 +01:00
Alexander Stoll
0d3178a51f Changes to Memory Check to support GB and Percentage 2019-10-30 08:37:24 +01:00
Crited
7aafed9d44 Changes to Memory Check to support GB and Percentage 2019-10-30 08:37:24 +01:00
Lord Hepipud
73b761a4dc Fixes broken service check due to content validation 2019-10-29 17:55:40 +01:00
Lord Hepipud
63301e666d Fixes broken service check due to content validation 2019-10-29 17:55:40 +01:00
Alexander Stoll
cd591f6f43 Add Memory-Check, with extension for memory-provider (pagefile) 2019-10-29 16:39:44 +01:00
Crited
dddbec6231 Add Memory-Check, with extension for memory-provider (pagefile) 2019-10-29 16:39:44 +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
705ee91077 Added Documentation/Changed Documentation 2019-10-29 16:02:31 +01:00
Crited
2314ef6f76 Added Documentation/Changed Documentation 2019-10-29 16:02:31 +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
dcf4ab6c1f Add default status for service check plugin 2019-10-29 10:51:39 +01:00
Lord Hepipud
65d80118bb Add default status for service check plugin 2019-10-29 10:51:39 +01:00
Lord Hepipud
f649de8fbf Fixes data types of plugins 2019-10-29 10:51:17 +01:00
Lord Hepipud
5f411ca88a Fixes data types of plugins 2019-10-29 10:51:17 +01:00
Lord Hepipud
ac41041f4e Fixes code styling 2019-10-29 10:47:24 +01:00
Lord Hepipud
8ee0b354e2 Fixes code styling 2019-10-29 10:47:24 +01:00
Lord Hepipud
756a1587af Merge branch 'snapshot' of https://github.com/LordHepipud/icinga-module-windows into snapshot 2019-10-29 10:19:31 +01:00
Lord Hepipud
9e4b94df0d Merge branch 'snapshot' of https://github.com/LordHepipud/icinga-module-windows into snapshot 2019-10-29 10:19:31 +01:00
Alexander Stoll
b6e2a0c9c4 Set default for Warning, Critical; Change Verbose to Verbosity with default and ValidateSet, Add ValidateSet for ServiceStatus, Fixed CPU-Check 2019-10-29 10:18:20 +01:00
Crited
6d80c0434a Set default for Warning, Critical; Change Verbose to Verbosity with default and ValidateSet, Add ValidateSet for ServiceStatus, Fixed CPU-Check 2019-10-29 10:18:20 +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
Lord Hepipud
35d5891a6a Fixes invalid , 2019-10-29 09:06:52 +01:00
Lord Hepipud
4e4c79d0df Fixes invalid , 2019-10-29 09:06:52 +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
Alexander Stoll
c1f43be608 Added Docs, Added IcingaCheckDirectory, Fixed Uptime 2019-10-28 16:10:27 +01:00
Crited
29d83aaf7f Added Docs, Added IcingaCheckDirectory, Fixed Uptime 2019-10-28 16:10:27 +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
5276b7a505 Move service check daemon to proper location 2019-10-22 19:57:01 +02:00
Lord Hepipud
4f1127639c Move service check daemon to proper location 2019-10-22 19:57:01 +02:00
Lord Hepipud
7b8380bee8 Add support for dynamic background daemon loading 2019-10-22 19:53:50 +02:00
Lord Hepipud
0839c1e2e5 Add support for dynamic background daemon loading 2019-10-22 19:53:50 +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
1f15eee19b Added Performance Counter Check Command 2019-10-06 20:16:05 +02:00
Lord Hepipud
4fe7b03e69 Added Performance Counter Check Command 2019-10-06 20:16:05 +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
f41b029afa Added Cmdlet to update registered Service Check config 2019-10-06 17:10:39 +02:00
Lord Hepipud
ffd3cf5644 Added Cmdlet to update registered Service Check config 2019-10-06 17:10:39 +02:00
Lord Hepipud
b6a1d91d78 Added Cmdlets to talk to Icinga Director Self-Service API 2019-10-06 16:56:59 +02:00
Lord Hepipud
cbd4534477 Added Cmdlets to talk to Icinga Director Self-Service API 2019-10-06 16:56:59 +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
993defec04 Fixed error on removing hashtable cache content 2019-10-06 16:07:12 +02:00
Lord Hepipud
a363399608 Fixed error on removing hashtable cache content 2019-10-06 16:07:12 +02:00
Lord Hepipud
04af3a8503 Improved stability for service check execution daemon 2019-10-06 10:48:12 +02:00
Lord Hepipud
0171e9a0e9 Improved stability for service check execution daemon 2019-10-06 10:48:12 +02:00
Lord Hepipud
7e23ea76df Fixed crash on check execution while running in daemon mode 2019-10-06 10:46:11 +02:00