项目作者: casdr

项目描述 :
Tool to check remaining MAK activations
高级语言: Python
项目地址: git://github.com/casdr/mak-tool.git
创建时间: 2017-01-05T08:17:08Z
项目社区:https://github.com/casdr/mak-tool

开源协议:GNU General Public License v3.0

下载


Remaining MAK Tool

Description

Microsoft has made the Volume Activation Management Tool to check license usage. For MAK (Multiple Activation Keys) you can view how many activations are remaining. Since we didn’t want to start the tool every morning, I started debugging the application and made this thingy.

Dependencies

This tool requires python3, lxml and requests to function.

Usage

Standalone tool:
$ python3 mak.py product_key_id

Nagios check:
$ python3 check_mak.py product_key_id warning_limit critical_limit

Nagios command example

  1. define command {
  2. command_name check-mak-remaining
  3. command_line /usr/local/lib/nagios/plugins/check_mak.py $ARG1$ $ARG2$ $ARG3$
  4. }