cancel
Showing results for 
Search instead for 
Did you mean: 

Protection

Hi,

Here is the script that gives count of available media in robot according to hcart2 and hcart3 ( thisis up to you ). You can put this script into crontab so email can be send backup operator groups.

/usr/openv/netbackup/bin/goodies/available_media | grep ACS | grep AVAILABLE | awk 'BEGIN { HCART2=0; HCART3=0} { if ($2=="HCART2") HCART2++; if ($2=="HCART3") HCART3++;} END { print "HCART2=", HCART2, " HCART3=", HCART3 }' |  mailx -s "Robot Kartus Sayilari" xxx@yyy.com