Direkt zum Inhalt

Custom Scripts in ADM but ADM still checks S.M.A.R.T. status

Thread needs solution

Okay, so I have an Intel RAID set up on my desktop. 1 RAID 5 and 1 RAID 1; drive D and E respectively.

Acronis kept on complaining that I wasn't monitoring these drives so I saved the Acronis Intel RAID script example I found in the help pages on the Acronis site.

Now, it seems to be fluctuating between:

Monitoring: custom script

and then sporatically it switches to

Monitoring: S.M.A.R.T.

obviously ADM then alerts me with a warning that my RAID drive doesn't support SMART monitoring...I open ADM and 10 seconds later, S.M.A.R.T. monitoring is once again disabled and it's back to

Monitoring: custom script

...it does all this on it's own, very annoying. Anyone else have these issues or know how to fix it???

Rob

0 Users found this helpful

Could you post either the link to the script you used or publish it here?

Hey...so I actually got this Intel RAID script from the help file in the ADM. If you search for custom scripts, they have an example for Intel RAID. Not sure if it needs modifying though...

Anyway...here is the script....

====================================================================================

@echo off

setlocal

echo Sample ADM custom script for Intel(R) RAID controllers using Intel(R) CmdTool2 v5.00.11

echo Copyright (c)Acronis, 2000-2010 All rights reserved

echo.

echo.

echo Controller information

echo.

set critical_disks=0

set failed_disks=0

::CmdTool2 -AdpAllInfo -aAll

for /f "tokens=1-10" %%a in ('CmdTool2 -AdpAllInfo -aAll ^| findstr "Product Serial Critical Failed"') do (

if %%a==Product (

echo Model: %%d %%e %%f %%g %%h

)

if %%b==No (

echo Serial number: %%d

)

if %%a==Critical (

if %%b==Disks (

echo Critical disks: %%d

set /a critical_disks=%%d

)

)

if %%a==Failed (

if %%b==Disks (

echo Failed disks: %%d

set /a failed_disks=%%d

)

)

)

echo.

echo Physical devices information

echo.

set error_count=0

::CmdTool2 -PDList -aALL

for /f "tokens=1-4" %%a in ('CmdTool2 -PDList -aALL ^| findstr "Error Adapter Slot"') do (

if %%a==Adapter (

echo %%a %%b

echo ***

)

if %%a==Slot (

echo Device on slot %%c

)

if %%a==Media (

set /a error_count+=%%d

echo Media error count: %%d

)

if %%a==Other (

set /a error_count+=%%d

echo Other error count: %%d

echo.

)

)

echo ***

echo.

set /a ret_code_ok=0

set /a ret_code_warning=1

set /a ret_code_critical=2

set ret_code=%ret_code_ok%

if %failed_disks% gtr 0 (

echo Alert! Failed disks found!

set /a ret_code=%ret_code_critical%

)

if %critical_disks% gtr 0 (

echo Alert! Disks with critical state found!

set /a ret_code=%ret_code_critical%

)

if %error_count% gtr 4 (

echo Alert! Errors found on some devices!

set /a ret_code=%ret_code_critical%

) else (

if %error_count% neq 0 (

echo Warning! Errors found on some devices!

set /a ret_code=%ret_code_warning%

) else (

echo All devices are running normally

set /a ret_code=%ret_code_ok%

)

)

echo exiting with return code %ret_code%

exit %ret_code%