Werk #1653: megaraid_pdisks: Resulting states are now hard coded within the check

Component Checks & agents
Title megaraid_pdisks: Resulting states are now hard coded within the check
Date Dec 4, 2014
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.2.6b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The megaraid_pdisks check was using the state the device had during initial inventory as expected OK state. When a device was failed during inventory, the state never changed to CRITICAL, even if the device is failed. This has been fixed by hard coding the resulting states now.

Online, Hotspare -> OK Failed -> CRITICAL

To the list of all Werks