LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Monitoring a RAID disk through the Windows Events Logs

Hi all,

 

I have a computer which has two disks mounted in RAID. My goal is to monitor the sanity of those two disks.

We noticed that the status of each disk is available in the Windows Event Logs and we would like to get those statuses.

I've tried to get the logs through .NET, ActiveX and Windows DLL but without success.

 

Would someone have any tip to get the System event logs from Windows so that I can post-process them and get the useful information out of it ?

 

Thank you in advance for your help and guidance.

Best regards,

CLAMaxime -- Kudos are a great way to say thank you
0 Kudos
Message 1 of 4
(3,426 Views)

I believe the Event Viewer can export the logs as a Comma-separated-values (.csv) or Text file.

 

Bob Schor

0 Kudos
Message 2 of 4
(3,408 Views)

Take a look here, you may be able to re-purpose this if you can figure out how to make it read instead of write:

https://forums.ni.com/t5/Example-Program-Drafts/Using-the-Windows-Event-Log-from-LabVIEW/ta-p/349351...

 

 

 

0 Kudos
Message 3 of 4
(3,405 Views)
Thank you both for your answer. So far we haven't been able to work anything out... It works perfectly in C# though, so we might as well just create a wrapper for the small chunk of code.
CLAMaxime -- Kudos are a great way to say thank you
0 Kudos
Message 4 of 4
(3,358 Views)