Werk #1731: ipmi_sensors: Fixed agent part when ipmi-sensors call on first agent run
Komponente | Checks & agents |
Titel | ipmi_sensors: Fixed agent part when ipmi-sensors call on first agent run |
Datum | 09.12.2014 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.2.6b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.