smartd attributelog vs error notification order

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

smartd attributelog vs error notification order

Preet
Hi,

Another parsing related question, sorry for all the spam. Say I have
smartd setup to call a script every time some error condition occurs
using "-M exec". When my script is called:

* Are the latest attribute values (ie the ones that resulted in the
script being called) already written in the attributelog file before
the script is called?


Thanks,

Pris

------------------------------------------------------------------------------
_______________________________________________
Smartmontools-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
Reply | Threaded
Open this post in threaded view
|

Re: smartd attributelog vs error notification order

Christian Franke
Preet wrote:
> Another parsing related question, sorry for all the spam. Say I have
> smartd setup to call a script every time some error condition occurs
> using "-M exec". When my script is called:
>
> * Are the latest attribute values (ie the ones that resulted in the
> script being called) already written in the attributelog file before
> the script is called?
>
Sorry, no. The .state and .csv files are written after all devices have
already been checked.

Thanks,
Christian


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Smartmontools-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support