]> granicus.if.org Git - icinga2/log
icinga2
7 years agoRedisWriter: dump endpoints' zones' identifiers (zone_checksum) feature/redis-backup
Alexander A. Klimov [Mon, 25 Jun 2018 15:13:13 +0000 (17:13 +0200)]
RedisWriter: dump endpoints' zones' identifiers (zone_checksum)

7 years agoRedisWriter: fix checksums of disappeared config objects not being deleted
Alexander A. Klimov [Mon, 25 Jun 2018 07:58:08 +0000 (09:58 +0200)]
RedisWriter: fix checksums of disappeared config objects not being deleted

7 years agoRedisWriter: fix disappeared config objects not being deleted
Alexander A. Klimov [Fri, 22 Jun 2018 15:57:36 +0000 (17:57 +0200)]
RedisWriter: fix disappeared config objects not being deleted

7 years agoRedisWriter#UpdateAllConfigObjects(): use one transaction per config object type
Alexander A. Klimov [Fri, 22 Jun 2018 15:44:27 +0000 (17:44 +0200)]
RedisWriter#UpdateAllConfigObjects(): use one transaction per config object type

7 years agoRedisWriter: sync all config objects atomically
Alexander A. Klimov [Fri, 22 Jun 2018 15:29:47 +0000 (17:29 +0200)]
RedisWriter: sync all config objects atomically

7 years agoRedisWriter: dump monitored objects' groups' identifiers (group_checksums)
Alexander A. Klimov [Fri, 22 Jun 2018 15:19:25 +0000 (17:19 +0200)]
RedisWriter: dump monitored objects' groups' identifiers (group_checksums)

7 years agoRedisWriter: dump also environment_checksum (per config object)
Alexander A. Klimov [Fri, 22 Jun 2018 14:18:22 +0000 (16:18 +0200)]
RedisWriter: dump also environment_checksum (per config object)

7 years agoRedisWriter: identify config objects by SHA1(PackObject([Environment, __name]))
Alexander A. Klimov [Fri, 22 Jun 2018 13:55:19 +0000 (15:55 +0200)]
RedisWriter: identify config objects by SHA1(PackObject([Environment, __name]))

7 years agoAdd all stats similar to /v1/status
Michael Friedrich [Fri, 8 Jun 2018 10:47:45 +0000 (12:47 +0200)]
Add all stats similar to /v1/status

7 years agoMove stats into a separate file
Michael Friedrich [Fri, 8 Jun 2018 09:38:36 +0000 (11:38 +0200)]
Move stats into a separate file

7 years agoRedisWriter: compute name_checksum as expected
Alexander A. Klimov [Fri, 8 Jun 2018 10:02:27 +0000 (12:02 +0200)]
RedisWriter: compute name_checksum as expected

7 years agoCentralize identifier computation
Alexander A. Klimov [Fri, 8 Jun 2018 09:46:45 +0000 (11:46 +0200)]
Centralize identifier computation

7 years agoRedisWriter: use __name as object key
Alexander A. Klimov [Thu, 7 Jun 2018 10:53:05 +0000 (12:53 +0200)]
RedisWriter: use __name as object key

7 years agoRedisWriter: checksum package, source_location and templates separately in metadata_c...
Alexander A. Klimov [Thu, 7 Jun 2018 10:49:38 +0000 (12:49 +0200)]
RedisWriter: checksum package, source_location and templates separately in metadata_checksum

7 years agoTests: fix \0 in string literal
Alexander A. Klimov [Thu, 7 Jun 2018 07:57:00 +0000 (09:57 +0200)]
Tests: fix \0 in string literal

7 years agoFix prefix in unit tests for object packer
Michael Friedrich [Wed, 6 Jun 2018 15:32:40 +0000 (17:32 +0200)]
Fix prefix in unit tests for object packer

7 years agoTest PackObject
Alexander A. Klimov [Wed, 6 Jun 2018 14:27:33 +0000 (16:27 +0200)]
Test PackObject

7 years agoRedisWriter: Explicitly checksum Zone#endpoints
Alexander A. Klimov [Wed, 6 Jun 2018 10:31:41 +0000 (12:31 +0200)]
RedisWriter: Explicitly checksum Zone#endpoints

7 years agoRedisWriter: Exclude explicitly checksummed properties from properties_checksum
Alexander A. Klimov [Tue, 5 Jun 2018 14:46:02 +0000 (16:46 +0200)]
RedisWriter: Exclude explicitly checksummed properties from properties_checksum

7 years agoRedisWriter: use one checksum algo for everything
Alexander A. Klimov [Tue, 5 Jun 2018 13:30:31 +0000 (15:30 +0200)]
RedisWriter: use one checksum algo for everything

7 years agoRedisWriter: Pack objects consistently for hashing
Alexander A. Klimov [Tue, 5 Jun 2018 13:01:43 +0000 (15:01 +0200)]
RedisWriter: Pack objects consistently for hashing

7 years agoChecksums
Michael Friedrich [Mon, 4 Jun 2018 13:42:33 +0000 (15:42 +0200)]
Checksums

7 years agoWIP
Michael Friedrich [Mon, 4 Jun 2018 08:06:41 +0000 (10:06 +0200)]
WIP

7 years agoEnsure that arrays are sorted for checksum calculation
Michael Friedrich [Tue, 29 May 2018 12:19:32 +0000 (14:19 +0200)]
Ensure that arrays are sorted for checksum calculation

7 years agoImplement config object check sums, shot one
Michael Friedrich [Tue, 29 May 2018 12:19:18 +0000 (14:19 +0200)]
Implement config object check sums, shot one

7 years agoEnsure that type names are lower cases for Redis lookups
Michael Friedrich [Tue, 29 May 2018 10:54:44 +0000 (12:54 +0200)]
Ensure that type names are lower cases for Redis lookups

7 years agoMove UpdateObjectAttrs into the objects scope
Michael Friedrich [Tue, 29 May 2018 10:54:14 +0000 (12:54 +0200)]
Move UpdateObjectAttrs into the objects scope

7 years agoRename source file
Michael Friedrich [Wed, 23 May 2018 14:27:47 +0000 (16:27 +0200)]
Rename source file

7 years agoCompile redis into the icinga2 binary; apply more C++11 code changes
Michael Friedrich [Tue, 15 May 2018 15:18:04 +0000 (17:18 +0200)]
Compile redis into the icinga2 binary; apply more C++11 code changes

7 years agoApply code style
Michael Friedrich [Tue, 15 May 2018 12:43:01 +0000 (14:43 +0200)]
Apply code style

7 years agoPublish events to one enpoint
Jean Flach [Mon, 16 Oct 2017 10:03:49 +0000 (12:03 +0200)]
Publish events to one enpoint

7 years agoUpdate docs
Jean Flach [Mon, 16 Oct 2017 10:03:16 +0000 (12:03 +0200)]
Update docs

7 years agoAdd limit for subscriptions
Jean Flach [Thu, 12 Oct 2017 15:46:06 +0000 (17:46 +0200)]
Add limit for subscriptions

7 years agoUse sets for subscriptions
Gunnar Beutner [Thu, 12 Oct 2017 09:47:49 +0000 (11:47 +0200)]
Use sets for subscriptions

refs #5656

7 years agoImplement support for the new config/state schema
Gunnar Beutner [Thu, 12 Oct 2017 06:51:13 +0000 (08:51 +0200)]
Implement support for the new config/state schema

fixes #5671

7 years agoImplement pipelining support for Redis queries
Gunnar Beutner [Thu, 12 Oct 2017 06:34:17 +0000 (08:34 +0200)]
Implement pipelining support for Redis queries

fixes #5670

7 years agoSubscriptions
Jean Flach [Wed, 11 Oct 2017 14:03:43 +0000 (16:03 +0200)]
Subscriptions

fixes #5656

7 years agoTrim event queue
Jean Flach [Wed, 11 Oct 2017 12:19:42 +0000 (14:19 +0200)]
Trim event queue

TODO: make configurable

refs #5119

7 years agoAdd development notes
Jean Flach [Tue, 10 Oct 2017 10:03:03 +0000 (12:03 +0200)]
Add development notes

7 years agoClean up the code a bit
Gunnar Beutner [Mon, 2 Oct 2017 08:05:56 +0000 (10:05 +0200)]
Clean up the code a bit

7 years agoEnsure that the WorkQueue name is set
Gunnar Beutner [Mon, 2 Oct 2017 07:59:11 +0000 (09:59 +0200)]
Ensure that the WorkQueue name is set

7 years agoRedis support (WIP)
Gunnar Beutner [Mon, 25 Sep 2017 12:41:43 +0000 (14:41 +0200)]
Redis support (WIP)

7 years agoMerge pull request #6324 from Icinga/fix/6279-api-user-crash
Michael Friedrich [Wed, 23 May 2018 09:25:52 +0000 (11:25 +0200)]
Merge pull request #6324 from Icinga/fix/6279-api-user-crash

Ensure that password hash generation from OpenSSL is atomic

7 years agoEnsure that password hash generation from OpenSSL is atomic 6324/head
Jean Flach [Tue, 22 May 2018 13:01:15 +0000 (15:01 +0200)]
Ensure that password hash generation from OpenSSL is atomic

This is supposed to solve a problem with segfaults caused by
race conditions withing the random byte generation of OpenSSL.

fixes #6279

7 years agoMerge pull request #6290 from jre3brg/opentsdb-metric-names
Michael Friedrich [Tue, 22 May 2018 13:46:04 +0000 (15:46 +0200)]
Merge pull request #6290 from jre3brg/opentsdb-metric-names

Fixed opentsdb metric name with colon chars

7 years agoMerge pull request #6321 from Icinga/feature/enhance-cert-renewal-log
Michael Friedrich [Tue, 22 May 2018 07:22:00 +0000 (09:22 +0200)]
Merge pull request #6321 from Icinga/feature/enhance-cert-renewal-log

Update log message for skipped certificate renewal

7 years agoUpdate log message for skipped certificate renewal 6321/head
Michael Friedrich [Fri, 18 May 2018 15:04:03 +0000 (17:04 +0200)]
Update log message for skipped certificate renewal

Users kept asking about it, still it is just an "information"
that this isn't needed yet.

7 years agoMerge pull request #6320 from Icinga/fix/icinga-min-version-optional
Noah Hilverling [Fri, 18 May 2018 14:30:10 +0000 (16:30 +0200)]
Merge pull request #6320 from Icinga/fix/icinga-min-version-optional

Ensure that icinga_min_version parameter is optional

7 years agoEnsure that icinga_min_version parameter is optional 6320/head
Michael Friedrich [Fri, 18 May 2018 13:11:56 +0000 (15:11 +0200)]
Ensure that icinga_min_version parameter is optional

Seen that here: https://github.com/Icinga/icinga2/issues/6319#issuecomment-390195058

refs #5960
refs #3998

7 years agoMerge pull request #6317 from Icinga/feature/docs-nscp-cpu
Michael Friedrich [Fri, 18 May 2018 08:46:33 +0000 (10:46 +0200)]
Merge pull request #6317 from Icinga/feature/docs-nscp-cpu

Add a note on Windows NSClient++ CPU checks to the docs

7 years agoAdd a note on Windows NSClient++ CPU checks to the docs 6317/head
Michael Friedrich [Fri, 18 May 2018 08:43:20 +0000 (10:43 +0200)]
Add a note on Windows NSClient++ CPU checks to the docs

refs #6315

7 years agoMerge pull request #6292 from Icinga/fix/flapping-reminder-notification
Noah Hilverling [Thu, 17 May 2018 11:52:29 +0000 (13:52 +0200)]
Merge pull request #6292 from Icinga/fix/flapping-reminder-notification

Fix problem with reminder notifications if the checkable is flapping

7 years agoMerge pull request #6309 from Icinga/fix/compiler-warning-in-checkercomponent-ti
Michael Friedrich [Wed, 16 May 2018 08:42:31 +0000 (10:42 +0200)]
Merge pull request #6309 from Icinga/fix/compiler-warning-in-checkercomponent-ti

Fix compiler warning in checkercomponent.ti

7 years agoMerge pull request #6306 from Icinga/feature/checkresultreader-deprecated
Michael Friedrich [Tue, 15 May 2018 12:05:16 +0000 (14:05 +0200)]
Merge pull request #6306 from Icinga/feature/checkresultreader-deprecated

Adjust message for CheckResultReader deprecation

7 years agoMerge pull request #6305 from gunnarbeutner/feature/environment-variable
Michael Friedrich [Tue, 15 May 2018 12:04:50 +0000 (14:04 +0200)]
Merge pull request #6305 from gunnarbeutner/feature/environment-variable

Introduce the 'Environment' variable

7 years agoIntroduce the 'Environment' variable 6305/head
Gunnar Beutner [Tue, 15 May 2018 08:27:13 +0000 (10:27 +0200)]
Introduce the 'Environment' variable

7 years agoFix compiler warning 6309/head
Noah Hilverling [Tue, 15 May 2018 09:25:28 +0000 (11:25 +0200)]
Fix compiler warning

fixes #6081

7 years agoAdjust message for CheckResultReader deprecation 6306/head
Michael Friedrich [Tue, 15 May 2018 08:44:06 +0000 (10:44 +0200)]
Adjust message for CheckResultReader deprecation

refs #6031

7 years agoMerge pull request #6301 from Icinga/feature/deprecate-remove-compat-update
Michael Friedrich [Mon, 14 May 2018 14:04:32 +0000 (16:04 +0200)]
Merge pull request #6301 from Icinga/feature/deprecate-remove-compat-update

Adjust deprecation removal for compat features

7 years agoAdjust deprecation removal for compat features 6301/head
Michael Friedrich [Mon, 14 May 2018 13:55:30 +0000 (15:55 +0200)]
Adjust deprecation removal for compat features

As discussed with @lippserd :)

refs #6032
refs #6033

7 years agoMerge pull request #6299 from Icinga/feature/event-command-visible-error-log
Michael Friedrich [Fri, 11 May 2018 13:55:15 +0000 (15:55 +0200)]
Merge pull request #6299 from Icinga/feature/event-command-visible-error-log

Change log level for failed event command execution

7 years agoChange log level for failed event command execution 6299/head
Michael Friedrich [Fri, 11 May 2018 13:24:37 +0000 (15:24 +0200)]
Change log level for failed event command execution

refs #5692

7 years agoMerge pull request #6297 from Icinga/fix/eventhandler-ha-zone
Michael Friedrich [Fri, 11 May 2018 11:13:37 +0000 (13:13 +0200)]
Merge pull request #6297 from Icinga/fix/eventhandler-ha-zone

Execute event commands only on actively checked host/service objects in an HA zone

7 years agoExecute event commands only on actively checked host/service objects in an HA zone 6297/head
Michael Friedrich [Fri, 11 May 2018 10:58:33 +0000 (12:58 +0200)]
Execute event commands only on actively checked host/service objects in an HA zone

fixes #3431

7 years agoMerge pull request #6295 from Icinga/feature/deprecate-compatlog
Michael Friedrich [Wed, 9 May 2018 15:52:55 +0000 (17:52 +0200)]
Merge pull request #6295 from Icinga/feature/deprecate-compatlog

Deprecate compatlog feature

7 years agoDeprecate compatlog feature 6295/head
Michael Friedrich [Wed, 9 May 2018 15:37:28 +0000 (17:37 +0200)]
Deprecate compatlog feature

fixes #6032

7 years agoMerge pull request #6294 from Icinga/feature/unique-groups-api
Michael Friedrich [Wed, 9 May 2018 15:36:03 +0000 (17:36 +0200)]
Merge pull request #6294 from Icinga/feature/unique-groups-api

Ensure that group memberships on API object creation are unique

7 years agoEnsure that user input for groups is unique on API object creation 6294/head
Michael Friedrich [Wed, 9 May 2018 15:18:22 +0000 (17:18 +0200)]
Ensure that user input for groups is unique on API object creation

refs #4732

7 years agoEnsure that added group members are unique
Michael Friedrich [Wed, 9 May 2018 15:15:44 +0000 (17:15 +0200)]
Ensure that added group members are unique

refs #4732

7 years agoImplement Array::Unique() and add unit tests
Michael Friedrich [Wed, 9 May 2018 14:55:14 +0000 (16:55 +0200)]
Implement Array::Unique() and add unit tests

refs #4732

7 years agoFix problem with reminder notifications if the checkable is flapping 6292/head
Michael Friedrich [Wed, 9 May 2018 07:54:48 +0000 (09:54 +0200)]
Fix problem with reminder notifications if the checkable is flapping

7 years agoMerge pull request #5426 from mcktr/mcktr/feature/node-setup-disable-confd-dir-4508
Michael Friedrich [Tue, 8 May 2018 15:16:35 +0000 (17:16 +0200)]
Merge pull request #5426 from mcktr/mcktr/feature/node-setup-disable-confd-dir-4508

Add the ability to disable the conf.d inclusion through the node wizard

7 years agoAdd documentation for CLI command parameters 5426/head
Michael Friedrich [Tue, 8 May 2018 14:31:06 +0000 (16:31 +0200)]
Add documentation for CLI command parameters

refs #4508

7 years agoFix style and logging from review; enhance output
Michael Friedrich [Tue, 8 May 2018 14:06:10 +0000 (16:06 +0200)]
Fix style and logging from review; enhance output

refs #4508

7 years agoSmall changes to node wizard/command
Jean Flach [Fri, 4 May 2018 09:38:30 +0000 (11:38 +0200)]
Small changes to node wizard/command

refs #4508

7 years agoWarn in case of failed conf.d exclusion also on master setup
Michael Insel [Thu, 3 May 2018 15:12:06 +0000 (17:12 +0200)]
Warn in case of failed conf.d exclusion also on master setup

refs #4508

7 years agoAllow conf.d exclusion in windows wizard
Jean Flach [Wed, 2 May 2018 15:45:07 +0000 (17:45 +0200)]
Allow conf.d exclusion in windows wizard

refs #4508

7 years agoRename "dont-disable-confd"
Jean Flach [Wed, 2 May 2018 15:42:30 +0000 (17:42 +0200)]
Rename "dont-disable-confd"

Double negation is confusing. Also this would change the default
behaviour and could lead to problems in automated environments.

refs #4508

7 years agoWarn in case of failed conf.d exclusion
Jean Flach [Wed, 2 May 2018 13:10:44 +0000 (15:10 +0200)]
Warn in case of failed conf.d exclusion

refs #4508

7 years agoAllow to disable conf.d inclusion through node wizard/setup
Michael Insel [Wed, 18 Apr 2018 18:22:04 +0000 (20:22 +0200)]
Allow to disable conf.d inclusion through node wizard/setup

This implements a function to disable the conf.d directory through the node wizard/setup.

refs #4508

7 years agoMerge pull request #6289 from Icinga/feature/docs-release-tag
Michael Friedrich [Tue, 8 May 2018 09:03:13 +0000 (11:03 +0200)]
Merge pull request #6289 from Icinga/feature/docs-release-tag

Update release documentation with git tag signing key configuration

7 years agoFixed opentsdb metric name with colon chars 6290/head
jre3brg [Tue, 8 May 2018 07:40:13 +0000 (09:40 +0200)]
Fixed opentsdb metric name with colon chars

7 years agoUpdate release documentation with git tag signing key configuration 6289/head
Michael Friedrich [Tue, 8 May 2018 07:38:00 +0000 (09:38 +0200)]
Update release documentation with git tag signing key configuration

7 years agoMerge pull request #6239 from Icinga/fix/windows-check-memory
Jean Flach [Fri, 4 May 2018 14:38:21 +0000 (16:38 +0200)]
Merge pull request #6239 from Icinga/fix/windows-check-memory

Fix Windows check_memory rounding

7 years agoMerge pull request #6270 from Icinga/feature/activation-priority
Michael Friedrich [Fri, 4 May 2018 09:41:57 +0000 (11:41 +0200)]
Merge pull request #6270 from Icinga/feature/activation-priority

Add activation priority for config object types

7 years agoAdd activation priorities for config object types 6270/head
Jean Flach [Thu, 26 Apr 2018 13:53:11 +0000 (15:53 +0200)]
Add activation priorities for config object types

This patch ensures that specific configuration types
are pre-activated and post-activated. In general,
logging is first, then common configuration objects
like host/service, downtimes, etc.
In the end, all features are activated after to ensure
that notifications are only sent once downtimes are applied.
A similar thing happens for starting with checks too early.
The ApiListener feature runs first to allow cluster connections
at first glance.

fixes #6057
fixes #6231

7 years agoMerge pull request #6238 from Icinga/fix/notification-script-check-required-parameters
Michael Friedrich [Thu, 3 May 2018 13:36:59 +0000 (15:36 +0200)]
Merge pull request #6238 from Icinga/fix/notification-script-check-required-parameters

Implement better way to check parameters in notification scripts

7 years agoMerge pull request #6285 from Icinga/feature/config-validation-timestamps
Jean Flach [Thu, 3 May 2018 12:22:39 +0000 (14:22 +0200)]
Merge pull request #6285 from Icinga/feature/config-validation-timestamps

Add support for config validation log timestamps

7 years agoMerge pull request #6281 from Icinga/fix/revert-ecc-certificates
Jean Flach [Thu, 3 May 2018 11:34:16 +0000 (13:34 +0200)]
Merge pull request #6281 from Icinga/fix/revert-ecc-certificates

Revert "Implement support for ECC certificates"

7 years agoAdd support for config validation log timestamps 6285/head
Michael Friedrich [Thu, 3 May 2018 09:35:29 +0000 (11:35 +0200)]
Add support for config validation log timestamps

This also adds implicit support for the startup.log
generated from API config package validation, e.g. used by
the Icinga Director.

fixes #3455

7 years agoMerge pull request #6283 from eirinikos/update-license
Michael Friedrich [Thu, 3 May 2018 07:30:16 +0000 (09:30 +0200)]
Merge pull request #6283 from eirinikos/update-license

edit Icinga license info so that GitHub recognizes it

7 years agoedit Icinga license info so that GitHub recognizes it 6283/head
Andrea Kao [Thu, 3 May 2018 00:38:33 +0000 (17:38 -0700)]
edit Icinga license info so that GitHub recognizes it

GitHub uses a library called Licensee to identify a project's license
type. It shows this information in the status bar and via the API if it
can unambiguously identify the license.

This commit modifies a few of Icinga's license-related docs so that
Licensee is able to recognize the repository's license type. It moves
the contents of COPYING.Exceptions to the relevant section of the
README, which has been renamed to "Licensing". It then removes the
COPYING.Exceptions file and updates CMakeLists.txt accordingly.

Collectively, these changes allow Licensee to successfully identify the
license type of Icinga as GPL 2.0.

Signed-off-by: Andrea Kao <eirinikos@gmail.com>
7 years agoRevert "Implement support for ECC certificates" 6281/head
Michael Friedrich [Wed, 2 May 2018 14:39:01 +0000 (16:39 +0200)]
Revert "Implement support for ECC certificates"

This reverts commit 10691db5b1297caaff15a2470575d34c29bd00e2.

refs #5555
refs #6200

7 years agoMerge pull request #6271 from Icinga/feature/docs-advanced-downtimes
Michael Friedrich [Fri, 27 Apr 2018 14:50:35 +0000 (16:50 +0200)]
Merge pull request #6271 from Icinga/feature/docs-advanced-downtimes

Enhance advanced topics with (scheduled) downtimes

7 years agoEnhance advanced topics with (scheduled) downtimes 6271/head
Michael Friedrich [Fri, 27 Apr 2018 14:16:59 +0000 (16:16 +0200)]
Enhance advanced topics with (scheduled) downtimes

7 years agoMerge pull request #6267 from Icinga/fix/docs-notification-users
Michael Friedrich [Fri, 27 Apr 2018 09:41:14 +0000 (11:41 +0200)]
Merge pull request #6267 from Icinga/fix/docs-notification-users

Update docs to reflect required user* attributes for notification objects

7 years agoUpdate docs to reflect required user* attributes for notification objects 6267/head
Michael Friedrich [Fri, 27 Apr 2018 09:40:03 +0000 (11:40 +0200)]
Update docs to reflect required user* attributes for notification objects

fixes #6265

7 years agoMerge pull request #6263 from Icinga/fix/itl-win-default-thresholds
Jean Flach [Thu, 26 Apr 2018 14:05:25 +0000 (16:05 +0200)]
Merge pull request #6263 from Icinga/fix/itl-win-default-thresholds

ITL: Add default thresholds to windows check commands

7 years agoMerge pull request #6264 from Icinga/feature/docs-getting-started
Michael Friedrich [Thu, 26 Apr 2018 11:55:05 +0000 (13:55 +0200)]
Merge pull request #6264 from Icinga/feature/docs-getting-started

Enhance "Getting Started" chapter

7 years agoITL: Add default thresholds to windows check commands 6263/head
Michael Insel [Wed, 25 Apr 2018 19:26:44 +0000 (21:26 +0200)]
ITL: Add default thresholds to windows check commands

This adds default thresholds to the windows check commands:

* disk-windows: warn: 20%, crit: 10%
* memory-windows: warn: 10%, crit: 5%
* swap-windows: warn: 10%, crit: 5%