While there's no current utility for our server boards that can be run from a C# application, and thus, generate data in XML format, would you, please, provide the following information (see below), so that I can check and see what may be available?:
1. PBA number of the board.
2. Operating System running on your server system.
Thanks a lot for your reply.
This servers we have currrently, use DELL motherboards with an "Intel ICH10R" RAID controller. As far as we have understood, it is a firmware RAID. The chipset model number/pasrt number is "AF82801JIR" .
So as I mentioned in my original question, are there any tools, or libraries we could use?
Thanks in advance
You still didn't mention the operating system, so let's assume it is Windows :-)
Some versions of the Intel ICHxR drivers for Windows support CSMI (Common Storage Management Interface, T10/04-284) which includes pass-through commands for direct disk access. The Windows version of smartmontools support this since version 5.41.
You could use CSMI to access SMART info if the Intel driver for your onboard controller supports it. Some do, others don't.
Ask Intel or try "smartctl --scan". If it outputs "/dev/csmiX,N" for each physical drive, CSMI ATA pass-through works.
Note that SMART info is from individual physical drives, so "Raid Level" is never included.
Ok. As far as we have seen we can use this tool in Command prompt.
Is there a way to use this tool from for example a C# application and get the values we want directly? For example, if we wanted predictive failure for a hard disk, instead of getting out put like:
"Predictive failure: 1" , we just get the value for it.
Thanks again for the help
Run smartctl internally and parse its standard output. For source code examples, see the various open source tools which already do this:
GSmartControl (C++), HDD Guardian (VB.NET), Munin plugin (Python), three Nagios plugins (Python)
See the Links page at smartmontools Wiki.