Crited
57df8e1424
Add Conversion for both IEC and SI Byte-Suffix (10^X & 2^X)
2019-10-30 13:52:37 +01:00
Crited
d2ef01eae5
Fix for IcingaMemoryCheck; Improve speed, changed provider
2019-10-30 10:44:44 +01:00
Lord Hepipud
34d33e9b88
Add NoPerfData and Units to Memory check
2019-10-30 09:32:22 +01:00
Crited
7aafed9d44
Changes to Memory Check to support GB and Percentage
2019-10-30 08:37:24 +01:00
Lord Hepipud
63301e666d
Fixes broken service check due to content validation
2019-10-29 17:55:40 +01:00
Crited
dddbec6231
Add Memory-Check, with extension for memory-provider (pagefile)
2019-10-29 16:39:44 +01:00
Crited
af76cd2a28
Generic Conversion for Bytes
2019-10-29 16:08:27 +01:00
Crited
2314ef6f76
Added Documentation/Changed Documentation
2019-10-29 16:02:31 +01:00
Crited
f899c6f010
Changes Performance Counter category output
2019-10-29 15:40:35 +01:00
Crited
401d08f66f
Documentation skeletons and actual documentation
2019-10-29 11:34:59 +01:00
Lord Hepipud
65d80118bb
Add default status for service check plugin
2019-10-29 10:51:39 +01:00
Lord Hepipud
5f411ca88a
Fixes data types of plugins
2019-10-29 10:51:17 +01:00
Lord Hepipud
8ee0b354e2
Fixes code styling
2019-10-29 10:47:24 +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
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
de6328139f
Fixes filtering of 'core' plugin argument
2019-10-29 09:08:44 +01:00
Lord Hepipud
4e4c79d0df
Fixes invalid ,
2019-10-29 09:06:52 +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
a0b5efba19
Separation of install wizard and answer input
2019-10-28 17:10:33 +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
722d884a6b
Update Start-IcingaAgentInstallWizard.psm1
2019-10-28 16:59:11 +01:00
Lord Hepipud
af236099ad
Add secure prompt to install Wizard
2019-10-28 16:56:05 +01:00
Crited
29d83aaf7f
Added Docs, Added IcingaCheckDirectory, Fixed Uptime
2019-10-28 16:10:27 +01:00
Lord Hepipud
18c060cc4d
Add tool function to close and flush TCP connections
2019-10-22 20:05:43 +02:00
Lord Hepipud
4f1127639c
Move service check daemon to proper location
2019-10-22 19:57:01 +02:00
Lord Hepipud
0839c1e2e5
Add support for dynamic background daemon loading
2019-10-22 19:53:50 +02:00
Lord Hepipud
47417223f9
Add support to test for available functions
2019-10-22 19:19:57 +02:00
Lord Hepipud
a00f2aeda5
Added Icinga Service and Service permission management
2019-10-17 22:51:12 +02:00
Lord Hepipud
a13a706e14
Added SecureString convertion functions
2019-10-17 09:57:16 +02:00
Lord Hepipud
03ecf123da
Improved Agent Install Wizard for global zone config
2019-10-17 08:44:48 +02:00
Lord Hepipud
76479880a6
Fixed duplicate '__' in Perf Data output
2019-10-07 16:30:55 +02:00
Lord Hepipud
5acbb52575
Added helper function to test for administrative shell
2019-10-07 00:06:15 +02:00
Lord Hepipud
6900a1694f
Added proper support for custom plugins / lib elements
2019-10-07 00:04:30 +02:00
Lord Hepipud
4fe7b03e69
Added Performance Counter Check Command
2019-10-06 20:16:05 +02:00
Lord Hepipud
d843ded4f7
Improved code styling
2019-10-06 18:06:41 +02:00
Lord Hepipud
ffd3cf5644
Added Cmdlet to update registered Service Check config
2019-10-06 17:10:39 +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
1550d2b4ae
Added help funtion to test for PSObjects members
2019-10-06 16:56:24 +02:00
Lord Hepipud
a363399608
Fixed error on removing hashtable cache content
2019-10-06 16:07:12 +02:00
Lord Hepipud
0171e9a0e9
Improved stability for service check execution daemon
2019-10-06 10:48:12 +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
326165e8d8
Fixed flushing of not required cached entries
2019-10-05 22:32:44 +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
d713555eaa
Added support for background daemon and check execution
2019-10-05 22:07:02 +02:00
Lord Hepipud
3b6b30a993
Added support to remove registered service checks
2019-10-05 22:06:10 +02:00
Lord Hepipud
a59ae37b76
Added support to register checks to run in background
2019-10-05 22:02:17 +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
3924c0a591
Fixed CheckCommand callback to fetch executed command
2019-10-05 21:59:37 +02:00
Lord Hepipud
c0d7b4e761
Added support and management of threads
2019-10-05 21:59:03 +02:00
Lord Hepipud
fa642e48e4
Added support to manage framework config
2019-10-05 21:56:23 +02:00
Lord Hepipud
887c5511d5
Added helper functions for Arrays and Hashtables
2019-10-05 21:51:39 +02:00
Lord Hepipud
bb62fb247d
Fixed duplicate Performance Data output
2019-10-05 21:50:49 +02:00
Lord Hepipud
a1f7adc89a
Improved constructing of Performance Data
2019-10-05 21:50:13 +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
b3ac481904
Added missing tool function to start processes
2019-09-30 00:34:01 +02:00
Lord Hepipud
079b64aff1
Improved output while trying to enable/disable features
2019-09-30 00:33:17 +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
eac6ba1cf3
Fixed code styling
2019-09-29 23:02:00 +02:00
Lord Hepipud
c209e2fb6e
Added Icinga Agent management Cmdlets
2019-09-29 18:25:40 +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
64a5054108
Added tool function to get Unix Time
2019-09-28 21:47:44 +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
3ec2f44fed
Added more details for new Check Plugin Command as starting point
2019-09-25 20:18:27 +02:00
Lord Hepipud
089ad30171
Added exit statement for command execution
2019-09-25 20:02:42 +02:00
Lord Hepipud
77d182bbda
Added Service User to Service provider for each service
2019-09-25 19:58:37 +02:00
Lord Hepipud
753659f4d1
Fixed code styling
2019-09-25 19:57:31 +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
9d4254158a
Improved Check-Command config by adding a Base Command
2019-09-25 19:56:05 +02:00
Lord Hepipud
dbbb440eac
Removed debug output for New-CheckCommand Cmdlet
2019-09-25 19:55:27 +02:00
Lord Hepipud
289b1a1ed5
Ensured custom_vars Variable Part is always identical
2019-09-25 19:30:02 +02:00
Lord Hepipud
5e6f4e5c7f
Fixed argument type of DisableTimeCache for EventLog check
2019-09-25 19:17:42 +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
d3d1a9d238
Added exception handling on creating cache files
2019-09-19 12:26:48 +02:00
Lord Hepipud
18e6c65744
Fixed missing EventLog Check input for count on value
2019-09-19 12:08:01 +02:00
Lord Hepipud
ee642050a7
Improved EventLog output
2019-09-19 11:56:32 +02:00
Lord Hepipud
74a72c844c
Fixed a crash on checks with identical naming
2019-09-19 11:56:06 +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
0d9948fcef
Fixed include message filtering on EventLog
2019-09-19 11:40:58 +02:00
Lord Hepipud
ac459d7fda
Added additional exception handling for EventLog Check
2019-09-18 12:42:20 +02:00
Lord Hepipud
0d7954617c
Added proper exception handling for Cache write failures
2019-09-17 17:56:56 +02:00
Lord Hepipud
f92fc80707
Added EventLog Check Command and Provider
2019-09-17 17:24:39 +02:00
Lord Hepipud
300a8d4d40
Added support to create and load cache data (prototype)
2019-09-17 17:17:38 +02:00
Lord Hepipud
dc2729e8c5
Added ability to force exception throwing
2019-09-17 17:12:06 +02:00
Lord Hepipud
6121434272
Removed leading '_' from Total core
2019-09-16 18:07:57 +02:00
Lord Hepipud
2ffeeb26d8
Improved performance for CPU plugin execution with digit detection
2019-09-16 18:02:41 +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
b92d3004b9
Extended digit format with custom symbol
2019-09-16 17:53:29 +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
0fed0f938c
Fixed default value for Verbose argument on Config generation
2019-09-16 17:02:13 +02:00
Lord Hepipud
9c2a65a9ad
Fixed Verbose Argument duplication and DataList type
2019-09-16 16:31:15 +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
ef736beca6
Fixed methods_execute variable naming
2019-09-16 12:06:05 +02:00
Lord Hepipud
865c94fc6c
Fixed invalid entry_value key name
2019-09-16 12:02:38 +02:00
Lord Hepipud
02ca9367c4
Added note to restart service for permission changes
2019-09-16 11:27:09 +02:00
Lord Hepipud
bee9b0a1c1
Added first draft to create new CheckCommands over CLI
2019-09-14 16:14:24 +02:00
Lord Hepipud
5fa812a7a1
Added missing exception definitions
2019-09-14 16:12:59 +02:00
Lord Hepipud
cf158dd3e8
Improved exception handling on a more global state
2019-09-14 16:12:24 +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
580b99b444
Fixed arguments to properly work on all Windows environments
2019-09-13 19:16:19 +02:00
Lord Hepipud
b34f539d01
Added first draft for permission exception handling
2019-09-13 19:04:27 +02:00