Acronis Drive Monitor - User Guide User Manual

Page 16

Advertising
background image

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%

)

Advertising