EVAPerf – Stats Collection script

Print Friendly, PDF & Email

Below is a windows script that can be used to collect stats for all arrays managed by a CV server and and save them in a folder.  A single folder for each array is created, and each folder contains several csv files for individual parameters such as vdisks, controllers, hard drives etc.

Schedule this script under “Scheduled tasks” to run every 24 hours. The user should have the admin rights under Command View.

FOR /F “tokens=1,2,3,4 delims=/- ” %%a in (‘date/T’) do set CDATE=%%c-%%b-%%d
set directory=%CURRENTDIR%\%CDATE%
echo “Creating directory %directory%”
mkdir “%directory%”
echo “Creating friendly names for EVAs on CVSERVER1”
“C:\Program Files (x86)\Hewlett-Packard\EVA Performance Monitor\evaperf” fn
“C:\Program Files (x86)\Hewlett-Packard\EVA Performance Monitor\evaperf” mof -csv -ts2 -cont 300 -dur 86400 -od “%directory%”

, ,


2 Responses to “EVAPerf – Stats Collection script”