We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #1106: mk_inventory.ps1: now uses the MK_CONFDIR environment variable from the agent (if available)

ComponentChecks & Agents
Titlemk_inventory.ps1: now uses the MK_CONFDIR environment variable from the agent (if available)
Date2014-09-10 11:26:04
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.2.5i6
LevelTrivial Change
ClassNew Feature
CompatibilityCompatible - no manual interaction needed

The mk_inventory.ps1 needs to create statefile for each host. The path of this files were hardcoded to c:\Program Files (x86)\check_mk\timestamp.$remote_host
This has been changed. The latest check_mk agent now provides additional environment variables

  • PLUGINSDIR
  • LOCALDIR
  • SPOOLDIR
  • MK_CONFDIR

and the script uses them accordingly.