I'd like to query the S.M.A.R.T. FailurePredict status via WMI. However the query "Select PredictFailure from MSStorageDriver_FailurePredictStatus" returns a BOOLEAN value that PRTG doesn't seem to understand.


Article Comments

Hello,

yes the WMI Custom (WQL)-Sensor can only work with numerical results at the moment. But you should be able to do your check with a VB-Script and then let this one return an exit-code according to the boolean-value of the WMI Query.

best regards.


Feb, 2012 - Permalink