Werk #1731: ipmi_sensors: Fixed agent part when ipmi-sensors call on first agent run

Component Checks & agents
Title ipmi_sensors: Fixed agent part when ipmi-sensors call on first agent run
Date Dec 9, 2014
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.2.6b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The agent code always failed when ipmi-sensors is executed with --sdr-cache-directory /var/cache for the first time using the agent. This happens because the code tries to create a locked file within the directory /var/cache/.freeipmi/sdr-cache while this directory does not exists. The agent now ensures the existance of this directory.

To the list of all Werks