Werk #1106 · Sep 10, 14
mk_inventory.ps1: now uses the MK_CONFDIR environment variable from the agent (if available)
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.
Details
- Class:
- New Features
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 1.2.5i6CommunityProUltimate + MT