Werk #15091 · Feb 2, 23
check_mk_agent: Add option "--force-inventory" in order to collect the output of the mk_inventory agent plugin
Sometimes the full agent output, ie. the output of the agent itself and of all installed agent plugins, of a host is needed for debugging or simulation purposes.
Especially collecting the output of the agent plugin "mk_inventory" is not very user-friendly because the execution depends on a special flag file. A user has to delete or modified this flag file in order to get the output. In general this intervention is not a good idea because it steps in the Checkmk operations.
With the new option "--force-inventory" the output of "mk_inventory" is collected and the Checkmk operations are not bothered anymore.
Example: check_mk_agent --force-inventory > host.out
Details
- Class:
- New Features
- Level:
- Trivial
- Component:
- Agents
- Versions:
- 2.2.0b1CommunityProUltimateUltimate + MT