What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

WMI Query FailurePredictStatus

Votes:

0

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.

prtg wmi wmi-custom-sensor

Created on Feb 24, 2012 10:29:45 AM



1 Reply

Votes:

0

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.

Created on Feb 24, 2012 4:46:28 PM by  Torsten Lindner [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.