Commit graph

530 commits

Author SHA1 Message Date
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