Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.5 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Not see the hard disk size with agent 2.1.2

I have Fedora 21 and agent 2.1.2, and not see the hard disk size after run the agent.. See the debug output..

    <STORAGES>
      <DESCRIPTION>IDE</DESCRIPTION>
      <FIRMWARE>HP73</FIRMWARE>
      <MANUFACTURER>Seagate</MANUFACTURER>
      <MODEL>ST500DM0021BD14</MODEL>
      <TYPE>disk</TYPE>
    </STORAGES>
    <USERS>

The interface (DESCRIPTION) is wrong too, must be SATA and not IDE...

Thank you.
asked in OCS Inventory NG agent for Unix by (160 points)

1 Answer

0 votes
Hi,

Post ocsinventory-agent.log file. I think smartctl command is not installed.

Regards

Frank
answered by (66.5k points)
[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)
 
Powered by Question2Answer
...