Status..
Posted: 2009.07.30. 15:43
Just getting into linux scripting etc and I was wondering if you already recieved some scripts?
(running into a heap of problems figuring out the values in a script)
If not a nice feature would be to give a threshhold value on Health while running HDSentinel
eg.
./HDSentinel -th 50
This would mean that if healh would be below 50% Status would be set to Failed
Eg..
./HDSentinel -th 50
HDD Device 7: /dev/sdh
HDD Model ID : Hitachi HDT721010SLA360
HDD Serial No: STFXX4MH0XXHB
HDD Revision : ST6OXXX
HDD Size : 953870 MB
Interface : S-ATA II
Temperature : 38 °C
Health : 49 %
Performance : 100 %
Power on time: 1 days, 1 hours
Est. lifetime: more than 1000 days
Threshold Status : Failed
so if we grep for failed we could do something with it..... send mail etc
if possible <75% would give a Warning and >75 would give an OK?? not sure at what % failure becomes imminent
Hope this made a little sense.
(running into a heap of problems figuring out the values in a script)
If not a nice feature would be to give a threshhold value on Health while running HDSentinel
eg.
./HDSentinel -th 50
This would mean that if healh would be below 50% Status would be set to Failed
Eg..
./HDSentinel -th 50
HDD Device 7: /dev/sdh
HDD Model ID : Hitachi HDT721010SLA360
HDD Serial No: STFXX4MH0XXHB
HDD Revision : ST6OXXX
HDD Size : 953870 MB
Interface : S-ATA II
Temperature : 38 °C
Health : 49 %
Performance : 100 %
Power on time: 1 days, 1 hours
Est. lifetime: more than 1000 days
Threshold Status : Failed
so if we grep for failed we could do something with it..... send mail etc
if possible <75% would give a Warning and >75 would give an OK?? not sure at what % failure becomes imminent
Hope this made a little sense.