[root@ocsinventory-agent]# smartctl --all /dev/sda
smartctl 6.4 2015-06-04 r4109 [x86_64-linux-4.1.8-100.fc21.x86_64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.14 (AF)
Device Model: ST500DM002-1BD142
LU WWN Device Id: 5 000c50 07453e63a
Firmware Version: HP73User Capacity: 500.107.862.016 bytes [500 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Tue Oct 6 15:04:57 2015 BRT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
The log file (snipped)..
[Tue Oct 6 14:56:16 2015][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::3ware ignored
[Tue Oct 6 14:56:16 2015][debug] - smartctl found
[Tue Oct 6 14:56:16 2015][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::Adaptec ignored
[Tue Oct 6 14:56:16 2015][debug] Ocsinventory::Agent::Backend::OS::Linux::Storages::HP ignored
[Tue Oct 6 14:56:16 2015][debug] - smartctl found
[root@ocsinventory-agent]# ocsinventory-agent --version
Ocsinventory unified agent for UNIX, Linux and MacOSX (2.1rc1)