Commit graph

954 commits

Author SHA1 Message Date
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
Lord Hepipud
ee138f0ea4 Fixed crash on check execution while running in daemon mode 2019-10-06 10:46:11 +02:00
Lord Hepipud
0e1940325a Fixed flushing of not required cached entries 2019-10-05 22:32:44 +02:00
Lord Hepipud
326165e8d8 Fixed flushing of not required cached entries 2019-10-05 22:32:44 +02:00
Lord Hepipud
1c3f7bd73e Executed checks will now store their value on daemon run within cache 2019-10-05 22:08:19 +02:00
Lord Hepipud
becc24a1b3 Executed checks will now store their value on daemon run within cache 2019-10-05 22:08:19 +02:00
Lord Hepipud
921dd8074b Added support for background daemon and check execution 2019-10-05 22:07:02 +02:00
Lord Hepipud
d713555eaa Added support for background daemon and check execution 2019-10-05 22:07:02 +02:00
Lord Hepipud
ae978b1d7c Added support to remove registered service checks 2019-10-05 22:06:10 +02:00
Lord Hepipud
3b6b30a993 Added support to remove registered service checks 2019-10-05 22:06:10 +02:00
Lord Hepipud
084453e722 Added support to register checks to run in background 2019-10-05 22:02:17 +02:00
Lord Hepipud
a59ae37b76 Added support to register checks to run in background 2019-10-05 22:02:17 +02:00
Lord Hepipud
6d15aa47a0 Added support for check output stored differently on daemon execution 2019-10-05 22:01:15 +02:00
Lord Hepipud
7d6b9016e4 Added support for check output stored differently on daemon execution 2019-10-05 22:01:15 +02:00
Lord Hepipud
a2afbbe5fc Fixed CheckCommand callback to fetch executed command 2019-10-05 21:59:37 +02:00
Lord Hepipud
3924c0a591 Fixed CheckCommand callback to fetch executed command 2019-10-05 21:59:37 +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
7150fd1236 Added support to manage framework config 2019-10-05 21:56:23 +02:00
Lord Hepipud
fa642e48e4 Added support to manage framework config 2019-10-05 21:56:23 +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
3e98e659bb Fixed duplicate Performance Data output 2019-10-05 21:50:49 +02:00
Lord Hepipud
bb62fb247d Fixed duplicate Performance Data output 2019-10-05 21:50:49 +02:00
Lord Hepipud
d722ae9932 Improved constructing of Performance Data 2019-10-05 21:50:13 +02:00
Lord Hepipud
a1f7adc89a Improved constructing of Performance Data 2019-10-05 21:50:13 +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
13a54bd117 Prepared check plugin and perf-data output for daemon integration 2019-09-28 21:45:59 +02:00
Lord Hepipud
cde7748368 Prepared check plugin and perf-data output for daemon integration 2019-09-28 21:45:59 +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
95cfaf4638 Added Service User to Service provider for each service 2019-09-25 19:58:37 +02:00
Lord Hepipud
77d182bbda Added Service User to Service provider for each service 2019-09-25 19:58:37 +02:00
Lord Hepipud
bbaca8d45b Fixed code styling 2019-09-25 19:57:31 +02:00
Lord Hepipud
753659f4d1 Fixed code styling 2019-09-25 19:57:31 +02:00
Lord Hepipud
e105136b25 Check Commands will now return their Exit Code instead of exiting 2019-09-25 19:57:19 +02:00
Lord Hepipud
00102cb9e1 Check Commands will now return their Exit Code instead of exiting 2019-09-25 19:57:19 +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
d8fdea903f Fixed argument type of DisableTimeCache for EventLog check 2019-09-25 19:17:42 +02:00
Lord Hepipud
5e6f4e5c7f Fixed argument type of DisableTimeCache for EventLog check 2019-09-25 19:17:42 +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
d5e3e78cbe Fixed missing EventLog Check input for count on value 2019-09-19 12:08:01 +02:00
Lord Hepipud
18e6c65744 Fixed missing EventLog Check input for count on value 2019-09-19 12:08:01 +02:00
Lord Hepipud
67587940b9 Improved EventLog output 2019-09-19 11:56:32 +02:00
Lord Hepipud
ee642050a7 Improved EventLog output 2019-09-19 11:56:32 +02:00
Lord Hepipud
290748e6dc Fixed a crash on checks with identical naming 2019-09-19 11:56:06 +02:00
Lord Hepipud
74a72c844c Fixed a crash on checks with identical naming 2019-09-19 11:56:06 +02:00
Lord Hepipud
7903724376 Added support to hide CheckPackage check output but keep perf data 2019-09-19 11:55:39 +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
4c3c867839 Fixed include message filtering on EventLog 2019-09-19 11:40:58 +02:00
Lord Hepipud
0d9948fcef Fixed include message filtering on EventLog 2019-09-19 11:40:58 +02:00
Lord Hepipud
e4f3de9321 Added additional exception handling for EventLog Check 2019-09-18 12:42:20 +02:00
Lord Hepipud
ac459d7fda Added additional exception handling for EventLog Check 2019-09-18 12:42:20 +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
dc65f8d3a7 Added EventLog Check Command and Provider 2019-09-17 17:24:39 +02:00
Lord Hepipud
f92fc80707 Added EventLog Check Command and Provider 2019-09-17 17:24:39 +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
2c04a1ff64 Added ability to force exception throwing 2019-09-17 17:12:06 +02:00
Lord Hepipud
dc2729e8c5 Added ability to force exception throwing 2019-09-17 17:12:06 +02:00
Lord Hepipud
17d8308e1f Removed leading '_' from Total core 2019-09-16 18:07:57 +02:00
Lord Hepipud
6121434272 Removed leading '_' from Total core 2019-09-16 18:07:57 +02:00
Lord Hepipud
977ca3c37d Improved performance for CPU plugin execution with digit detection 2019-09-16 18:02:41 +02:00
Lord Hepipud
2ffeeb26d8 Improved performance for CPU plugin execution with digit detection 2019-09-16 18:02:41 +02:00
Lord Hepipud
66d007f476 Replaced 0 with space for digits and auto added spacing 2019-09-16 17:59:12 +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
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
10fdea7660 Added note to restart service for permission changes 2019-09-16 11:27:09 +02:00
Lord Hepipud
02ca9367c4 Added note to restart service for permission changes 2019-09-16 11:27:09 +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
ccca2e591f Added missing exception definitions 2019-09-14 16:12:59 +02:00
Lord Hepipud
5fa812a7a1 Added missing exception definitions 2019-09-14 16:12:59 +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
7d5a1b786e Fixed arguments to properly work on all Windows environments 2019-09-13 19:16:19 +02:00
Lord Hepipud
580b99b444 Fixed arguments to properly work on all Windows environments 2019-09-13 19:16:19 +02:00
Lord Hepipud
2172ce2506 Added first draft for permission exception handling 2019-09-13 19:04:27 +02:00
Lord Hepipud
b34f539d01 Added first draft for permission exception handling 2019-09-13 19:04:27 +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
Lord Hepipud
035fbb8d49 Fixed update list throwing unknown for 0 pending updates 2019-09-13 17:04:05 +02:00
Lord Hepipud
a33455f343 Fixed update list throwing unknown for 0 pending updates 2019-09-13 17:04:05 +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
f0267ada70 Added Description for Invoke-IcingaCheckService 2019-09-13 15:59:45 +02:00
Crited
f5a757dc99 Added Description for Invoke-IcingaCheckService 2019-09-13 15:59:45 +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
c525ba8ed2 Changed Invoke-IcingaCheckService.psm1 to support multiple inputs 2019-09-13 14:29:38 +02:00
Crited
95ea8cf28f Changed Invoke-IcingaCheckService.psm1 to support multiple inputs 2019-09-13 14:29:38 +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
Alexander Stoll
ddcc508a83 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
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
Alexander Stoll
ab9805e522 Presumably finished Invoke-IcingaCheckCommandBasket Module 2019-09-13 09:22:27 +02:00
Crited
c29983c437 Presumably finished Invoke-IcingaCheckCommandBasket Module 2019-09-13 09:22:27 +02:00
Alexander Stoll
b38c9c8197 Probably fixed ID issues 2019-09-13 08:18:31 +02:00
Crited
2295398f29 Probably fixed ID issues 2019-09-13 08:18:31 +02:00
Alexander Stoll
a60034a5fc 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
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
Alexander Stoll
7732b7942d Update CheckBasket 2019-09-11 16:07:52 +02:00
Crited
e7950c1616 Update CheckBasket 2019-09-11 16:07:52 +02:00
Alexander Stoll
22ca274be6 Pulled from testing, build basic IcingaCheckCommandBasket-Function 2019-09-11 15:08:30 +02:00
Crited
df1911c3c8 Pulled from testing, build basic IcingaCheckCommandBasket-Function 2019-09-11 15:08:30 +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
e2de8e6bfd Changed Plugin Text Status to allow colored Icinga Web 2 output 2019-08-22 10:43:00 +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
f865a3d663 Added check for Windows Uptime 2019-08-20 17:02:58 +02:00
Lord Hepipud
232a373239 Added check for Windows Uptime 2019-08-20 17:02:58 +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
49b1beee5a Added Pending Windows Update check 2019-08-19 18:14:29 +02:00
Lord Hepipud
64b017684f Added Pending Windows Update check 2019-08-19 18:14:29 +02:00
Lord Hepipud
7426ce0be2 Improved organising for Pending Updates provider 2019-08-19 18:09:59 +02:00
Lord Hepipud
1b08267f6f Improved organising for Pending Updates provider 2019-08-19 18:09:59 +02:00
Lord Hepipud
79b4518189 Fixed Plugin Output for multiple check packages 2019-08-19 18:08:50 +02:00
Lord Hepipud
7bde4fad0b Fixed Plugin Output for multiple check packages 2019-08-19 18:08:50 +02:00
Lord Hepipud
73ce2aa8e5 Fixed missing argument of check object for InitCheck 2019-08-19 18:07:51 +02:00
Lord Hepipud
6616324589 Fixed missing argument of check object for InitCheck 2019-08-19 18:07:51 +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
Lord Hepipud
1f52a05289 Improved Icinga Check User Plugin 2019-08-19 12:13:24 +02:00
Lord Hepipud
8e8d879ff2 Improved Icinga Check User Plugin 2019-08-19 12:13:24 +02:00
Lord Hepipud
37485d2cd9 Added provider for logged in Windows users 2019-08-19 12:12:59 +02:00
Lord Hepipud
a02c57b9a0 Added provider for logged in Windows users 2019-08-19 12:12:59 +02:00
Lord Hepipud
972bc904b2 Improved code styling and small fixes for IcingaUsers 2019-08-19 12:12:11 +02:00
Lord Hepipud
208df5a8bc Improved code styling and small fixes for IcingaUsers 2019-08-19 12:12:11 +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
Alexander Stoll
094130a1ae Added IcingaCheckUsers and Libraray for users 2019-07-26 13:01:51 +02:00
Crited
c6e40b18a6 Added IcingaCheckUsers and Libraray for users 2019-07-26 13:01:51 +02:00
Niko Martini
84285d8b32 List various MemoryUsage 2019-07-25 18:31:08 +02:00
Niko Martini
26d0887ae9 List various MemoryUsage 2019-07-25 18:31:08 +02:00
Niko Martini
ae7d104d5a List PerformanceCounter for Memory 2019-07-25 18:29:21 +02:00
Niko Martini
44200eda94 List PerformanceCounter for Memory 2019-07-25 18:29:21 +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
Niko Martini
839e012643 Introduce new function for astoll 2019-07-25 17:48:19 +02:00
Niko Martini
4bccfb87fd Introduce new function for astoll 2019-07-25 17:48:19 +02:00
Niko Martini
c0761ddb7c Fixed Code Styling 2019-07-25 16:19:38 +02:00
Niko Martini
c82c58b634 Fixed Code Styling 2019-07-25 16:19:38 +02:00
Niko Martini
6aa72e4930 Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-07-25 15:52:49 +02:00
Niko Martini
aa81d4490f Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-07-25 15:52:49 +02:00
Niko Martini
4ac3724f9f Fixed Code Styling 2019-07-25 15:51:31 +02:00
Niko Martini
41ea4e51b9 Fixed Code Styling 2019-07-25 15:51:31 +02:00
Lord Hepipud
029ee6fbbb Fixed $null code styling comparison 2019-07-24 17:21:10 +02:00
Lord Hepipud
e65d43a829 Fixed $null code styling comparison 2019-07-24 17:21:10 +02:00
Lord Hepipud
be38d4d0b4 Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-07-24 17:20:02 +02:00
Lord Hepipud
504a15c1b4 Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-07-24 17:20:02 +02:00
Lord Hepipud
f03980cebf Added support to translate check values to speaking values on output 2019-07-24 17:19:56 +02:00
Lord Hepipud
c64fd63d97 Added support to translate check values to speaking values on output 2019-07-24 17:19:56 +02:00
Lord Hepipud
d3862eccdb Added support to check if objects exist on icinga checks 2019-07-24 17:10:16 +02:00
Lord Hepipud
fca6e2e873 Added support to check if objects exist on icinga checks 2019-07-24 17:10:16 +02:00
Alexander Stoll
b2f6f254ec Added further options in ProcessCount-Check 2019-07-24 15:34:49 +02:00
Crited
79fa198931 Added further options in ProcessCount-Check 2019-07-24 15:34:49 +02:00
Alexander Stoll
5b10b2c647 added IcingaCheckProcessCount.psm1, modified Process-Provider to fit related Checks, deleted useless parameter in Checks 2019-07-24 15:02:58 +02:00
Crited
82cb773290 added IcingaCheckProcessCount.psm1, modified Process-Provider to fit related Checks, deleted useless parameter in Checks 2019-07-24 15:02:58 +02:00
Lord Hepipud
521ed5eb09 Removed not required arguments for Service check 2019-07-24 14:37:42 +02:00
Lord Hepipud
c14efdcc9f Removed not required arguments for Service check 2019-07-24 14:37:42 +02:00
Lord Hepipud
1ee90a95dc Updated Services Provider, Enums and Helper functions
* Added new function to get Service Name for Check output
* Added missing Service State enums
* Updated Service Status Code function to use existing Test-Numeric
* Update Service Check with new Cmdlets
2019-07-24 14:28:53 +02:00
Lord Hepipud
93951cd607 Updated Services Provider, Enums and Helper functions
* Added new function to get Service Name for Check output
* Added missing Service State enums
* Updated Service Status Code function to use existing Test-Numeric
* Update Service Check with new Cmdlets
2019-07-24 14:28:53 +02:00
Lord Hepipud
27b78a757e Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-07-24 13:13:31 +02:00
Lord Hepipud
9b60037ebe Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-07-24 13:13:31 +02:00
Lord Hepipud
68ef49908c Removed no longer required variables from Check Package 2019-07-24 13:02:03 +02:00
Lord Hepipud
dafc256ec4 Removed no longer required variables from Check Package 2019-07-24 13:02:03 +02:00
Lord Hepipud
36b4d53c1e Check Packages will now return Unknown if no check is assigned 2019-07-24 13:01:50 +02:00
Lord Hepipud
54ef544b8a Check Packages will now return Unknown if no check is assigned 2019-07-24 13:01:50 +02:00
Lord Hepipud
bbf211cd38 Fixed spacing for CPU error code enum 2019-07-24 12:44:49 +02:00
Lord Hepipud
7cd8d5c666 Fixed spacing for CPU error code enum 2019-07-24 12:44:49 +02:00
Lord Hepipud
49b84e25f8 Added Windows Uptime metadata to Windows provider 2019-07-24 12:44:02 +02:00
Lord Hepipud
dc2c4eac0b Added Windows Uptime metadata to Windows provider 2019-07-24 12:44:02 +02:00
Alexander Stoll
64b7f7f289 Splitt into ConvertTo-ServiceStatusCode, to fit project structure, changed Free Space to Used Space 2019-07-24 11:44:33 +02:00
Crited
51414a7506 Splitt into ConvertTo-ServiceStatusCode, to fit project structure, changed Free Space to Used Space 2019-07-24 11:44:33 +02:00
Alexander Stoll
a5ab649f80 Expanded upon lib/provider/services to support translated status values in Invoke-IcingaCheckService.psm1 2019-07-24 10:26:39 +02:00
Crited
0e0cf88023 Expanded upon lib/provider/services to support translated status values in Invoke-IcingaCheckService.psm1 2019-07-24 10:26:39 +02:00
Alexander Stoll
e2c8933c9a Added Icinga_ProviderServices, adjusted Invoke-IcingaCheckService accordingly 2019-07-24 10:01:34 +02:00
Crited
9a2f2fd06a Added Icinga_ProviderServices, adjusted Invoke-IcingaCheckService accordingly 2019-07-24 10:01:34 +02:00
Alexander Stoll
57b6676e20 Added Invoke-IcingaCheckFreePartition.psm1 2019-07-23 15:08:59 +02:00
Crited
728949c14e Added Invoke-IcingaCheckFreePartition.psm1 2019-07-23 15:08:59 +02:00
Lord Hepipud
0ef518ef19 Removed no longer required debug output 2019-07-23 12:21:45 +02:00
Lord Hepipud
075018d21a Removed no longer required debug output 2019-07-23 12:21:45 +02:00
Lord Hepipud
97197e16c8 Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-07-23 11:42:20 +02:00
Lord Hepipud
0cb4c48cb7 Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-07-23 11:42:20 +02:00
Lord Hepipud
891a93a1d4 Fixed check initialising for AddCheck() on Check Packages 2019-07-23 11:42:16 +02:00
Lord Hepipud
63d9445d16 Fixed check initialising for AddCheck() on Check Packages 2019-07-23 11:42:16 +02:00
Alexander Stoll
2f15476bc7 Added FreeDiskSpace to Disk Provider, via Performance Counters 2019-07-23 10:50:58 +02:00
Crited
7100db3838 Added FreeDiskSpace to Disk Provider, via Performance Counters 2019-07-23 10:50:58 +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
Lord Hepipud
5001221d4b Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-07-23 09:19:17 +02:00
Lord Hepipud
1f69c1d2ca Merge branch 'testing' of https://github.com/LordHepipud/icinga-module-windows into testing 2019-07-23 09:19:17 +02:00
Lord Hepipud
0fd6b9e602 Added first attempt for Bios Serial Number Check 2019-07-23 09:18:02 +02:00
Lord Hepipud
c298a1c694 Added first attempt for Bios Serial Number Check 2019-07-23 09:18:02 +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
Lord Hepipud
117214eca5 Replaced Silent argument for verbose on check packages 2019-07-22 18:03:19 +02:00
Lord Hepipud
b0bea9a6a4 Replaced Silent argument for verbose on check packages 2019-07-22 18:03:19 +02:00
Lord Hepipud
6d83cafc38 Fixed output for Check Results with checks only 2019-07-22 18:01:12 +02:00
Lord Hepipud
6cbbf91049 Fixed output for Check Results with checks only 2019-07-22 18:01:12 +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
Alexander Stoll
9d60982960 Merge branch 'astoll/module_rewrite' into testing 2019-07-22 16:05:54 +02:00
Crited
9e79e4f937 Merge branch 'astoll/module_rewrite' into testing 2019-07-22 16:05:54 +02:00
Alexander Stoll
12c36d5fe0 Changed Import-Module to fit with Import-ModuleLib Concept 2019-07-22 15:59:47 +02:00
Crited
34c001c761 Changed Import-Module to fit with Import-ModuleLib Concept 2019-07-22 15:59:47 +02:00
Alexander Stoll
598d8936e9 Binary-Addition in relevant files for enums 2019-07-22 15:53:07 +02:00
Crited
1a5dbb392a Binary-Addition in relevant files for enums 2019-07-22 15:53:07 +02:00
Lord Hepipud
756a1284e3 First attempt for CPU load check 2019-07-22 15:25:00 +02:00
Alexander Stoll
5bf8adcf75 Expanded upon Icinga_ProviderWindows.psm1; Minor Changes to other modules regarding structure and comments 2019-07-22 15:23:21 +02:00
Crited
7ca64c27c7 Expanded upon Icinga_ProviderWindows.psm1; Minor Changes to other modules regarding structure and comments 2019-07-22 15:23:21 +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
8ef18f97a9 Moved NoPerfData from switch to bool
This is required to properly pass the argument from a CheckCommand to the result handler
2019-07-22 13:16:14 +02:00
Lord Hepipud
850e8b4d3f Added support to add additional checks to package by code 2019-07-22 13:15:44 +02:00
Lord Hepipud
c82bdad7cc Fixed return values and NULL objects for OutOfRange comparison 2019-07-22 13:15:21 +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
c2e3ff2131 Small code styling fix 2019-07-22 10:35:23 +02:00
Alexander Stoll
ddba722ab6 Structure Change; Added Updates -> hotfix, pending, installing 2019-07-22 10:01:11 +02:00
Crited
a89c85215b Structure Change; Added Updates -> hotfix, pending, installing 2019-07-22 10:01:11 +02:00
Lord Hepipud
824dde7518 Fixed NoPerfData handling for Check Result function 2019-07-22 09:02:33 +02:00
Lord Hepipud
4392714da3 Added support to skip perfdata for single checks 2019-07-22 09:02:09 +02:00
Lord Hepipud
1093cd17dc Removed no longer required Output writing 2019-07-22 08:38:38 +02:00
Lord Hepipud
3078a0a937 Fixed spacing for multi-stack packages / checks in output 2019-07-22 08:37:54 +02:00
Alexander Stoll
a64449e074 Added Process.psm1, Added Services.psm1; Fixed previous concept errors 2019-07-22 07:32:52 +02:00
Crited
97ee39486a Added Process.psm1, Added Services.psm1; Fixed previous concept errors 2019-07-22 07:32:52 +02:00
Lord Hepipud
9ffb9be1ad Renamed lib icinga\checkresult to icinga\plugin 2019-07-19 20:06:29 +02:00
Lord Hepipud
93f7ac7f29 Added base help for Icinga thresholds including examples 2019-07-19 20:03:05 +02:00
Lord Hepipud
a32ec4f17c Removed perf data output for unknown return codes 2019-07-19 20:02:41 +02:00
Lord Hepipud
a05a41ca86 Added proper unknown handling for min / max operator config 2019-07-19 20:02:09 +02:00
Lord Hepipud
069ab8e4f8 Fixed broken plugin return code 2019-07-19 20:01:15 +02:00
Lord Hepipud
99825a4a57 Removed duplicate check outputs 2019-07-19 20:00:55 +02:00
Lord Hepipud
7fd9f35de0 Reworked Icinga Plugin Framework 2019-07-19 19:38:09 +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
Lord Hepipud
fafb102f0d First draft for Icinga Plugin Dev-Kit 2019-07-18 17:54:39 +02:00
Alexander Stoll
1c87a62d81 Major fixes regarding all lib/providers, expanded upon memory.psm1, added some comments for future reference 2019-07-18 14:20:23 +02:00
Crited
8bce5c6a4c Major fixes regarding all lib/providers, expanded upon memory.psm1, added some comments for future reference 2019-07-18 14:20:23 +02:00
Niko Martini
fe3febe660 New Break instances for switchCase 2019-07-17 16:37:38 +02:00
Alexander Stoll
e93305a635 cpu first draft 2019-07-17 11:28:22 +02:00
Crited
504c18ef00 cpu first draft 2019-07-17 11:28:22 +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
Alexander Stoll
98bc603066 Minor disks edit; basic cpu setup 2019-07-17 07:52:09 +02:00
Crited
dfd7d249eb Minor disks edit; basic cpu setup 2019-07-17 07:52:09 +02:00
Alexander Stoll
1fe010d848 Added disk-module; extended enums to fit disk-modules 2019-07-16 14:47:21 +02:00
Crited
df8ef6665e Added disk-module; extended enums to fit disk-modules 2019-07-16 14:47:21 +02:00
Alexander Stoll
67c16b0417 Added bios.psm1 (Library) and a provider/enums.psm1 2019-07-12 13:59:02 +02:00
Crited
80ff188c90 Added bios.psm1 (Library) and a provider/enums.psm1 2019-07-12 13:59:02 +02:00