Module: check_mk
Branch: master
Commit: 1c8f367c1837150624614dfe970bf266463fa502
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1c8f367c183715…
Author: Óscar Nájera <on(a)mathias-kettner.de>
Date: Tue Sep 25 15:56:39 2018 +0200
6641 win_license: New check to monitor information about Windows licenses state
This check parses the information provided by the slmgr.vbs command on a
windows host. Information about the License status as well as the time to
expiration are shown.
As a preparation you need to install the agent plugin {win_license.bat}
into your agent's plugins directory.
The check can be configure via the corresponding WATO rule {Windows License}
CMK-1072
Change-Id: I3e3064d78f780c7e62449c1c436d0db52577138d
---
.werks/6641 | 17 ++++
agents/windows/plugins/win_license.bat | 7 ++
checkman/win_license | 20 +++++
checks/win_license | 110 +++++++++++++++++++++++
cmk/gui/plugins/wato/check_parameters.py | 28 ++++++
tests/unit/checks/test_win_license.py | 150 +++++++++++++++++++++++++++++++
6 files changed, 332 insertions(+)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=1c8f367c18…