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.11.1 available

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

SMART counter reading disk [closed]

closed with the note: exchanges arrived at the end
in OCS Inventory NG agent for Windows by (440 points)
closed by

20 Answers

0 votes
Hi,

Open a new issue here => https://github.com/OCSInventory-NG/OCSInventory-ocsreports/issues/new. Then identify it as an enhancement

Regards

Frank
by (88.5k points)
0 votes
Hi,

According to this subject, all PC's in my network have CrystalDiskInfo installed and I use it's ability to send via email info about any errors, when i was looking what drive i was last connecting to PC found this folder

C:\Program Files (x86)\CrystalDiskInfo\Smart\WDC WD2500AAKX

inside are *.csv files with data of all points of smart collected since device were connected, and smart.ini file with actual state of smart, so can enyone tell me is there any possibility to import this with some script to ocs?

Or maybe can be written in some OCSAgent settings...  

Or It just need to create new plugin....

Please write if you know something more about that.....
by (2.9k points)
Hi @sawcio,
integration of CSV data during OCS agent inventory is possible, but requires the installation of CrystalDiskInfo on each client machine.

Moreover, CrystalDiskInfo does not work on all hardware configurations.

Creating an OCS plugin would actually be a lot better ...

Regards, Stéphane
0 votes
Hi

What does exactly this software?

Regards

Frank
by (88.5k points)
0 votes
CrystalDiskInfo simply collects data of smart but has also ability to send hdd temp incease r/w errors for ssd drive you can specify minimum lifetime left when it inform you your ssd is going to die
by (2.9k points)
0 votes

Unfortunately, CrystalDiskInfo does not work (or partially) on all hardware configurations.

by (32.6k points)
0 votes
Stephane has answered and I'm agree with him. A plugin can do the job and more over these new informations can be integrated in the agent. We just need to know what new data we have to retrieve. Some counters like I/O errors, Media_Wearout_Indicator (lifetime counter for ssd), Power_On_Hours, Temperature_Celcius are interessant to inventory. We have planed to integrate these counters.

Regards

Frank
by (88.5k points)
0 votes

So Stephane,

What shall I do, if i've got already installed CrystalDiskInfo, on all stations. Info about disk are important, because I have to change all drives HDD to SSD, and about 30 pc's are having drives with Power_On_Hours>50000h, can die anytime.  One i've found due to instalation CrystalDiskInfo was 84000h and still working. 

Can I use data from smart.ini where are only actual smart values?

How to do this? Can you explain, gave some tips....

I'm afraid I'm too week in programing to create plugin by my self.....

Beside I'm also newin OCS and I don't know much about IT.

Thank you advance!

Seweryn

by (2.9k points)
0 votes
Ok @Seweryn,

a good start would be to install the plugin Custom App with which you would direct the VBS file to the smart.ini file of your software CrystalDiskInfo.

https://github.com/PluginsOCSInventory-NG/customapp

In the VBS file, the ideal would be to add a filtering that would go back only the desired information (in your case the number of hours of your hard disk).

Regards, Stéphane
by (32.6k points)
0 votes

Thank You,

I've already found it, with others plugins, and instlled it fot test on mine PC. Some of plugins are kiling apache so I had to revive him :) and after that I logged in and found It work's!!!!

But it wouldbe nice to know how to make last foder  a variablebe becuse path loks like that:

C:\Program Files (x86)\CrystalDiskInfo\Smart\WDC WD2500AAKX-083CA1WD-WMAYV1385757\Smart.ini

Any tips?

Crystal Disk Info

I'm very glad to see this in OCS maybe it doesn't look but it's REALLY HELPFULL!!!!

And I'm thinking also how collect those files from more than one drive=folder, what shall I write in customapp file?

by (2.9k points)
0 votes

In the VBS script, it would be necessary to have all the sub-folders searched for a smart.ini file and if present that the content is concatenated to the final result

> of course after filtering the relevant informations to limit the amount

In this case, the path would now be a tree rather than the position of a file (for ex. "Path = C:\Program Files (x86)\CrystalDiskInfo\Smart\")

Note : Do not forget the tree (C:\Program files) of a 32-bit operating system

by (32.6k points)
 
Powered by Question2Answer
...