cancel
Showing results for 
Search instead for 
Did you mean: 

Drive down - Alert

Jaggi
Level 4
Certified
Is there any way to configure for an email alert, when drive goes to down state in Netbackup 6.5?

Thanks
Jaggi
3 REPLIES 3

Srikanth_Gubbal
Level 6
Certified
hi,

NetBackup Operations Manager will help you in configuring alll type of alerts.

Anonymous
Not applicable
NOM Server works well in this respect but you could see it as overkill depending on your environment.

You don't mention platform, but here is a UNIX script. It is not mine, the author is in the header.

#------------------------------------------------------------------
# Keith G. Deems
# Check Drives on Master Server, if down, bring drive up.
# Send an email to some one who cares.
# 04/08/02
#
#------------------------------------------------------------------
#BEGIN SCRIPT DRIVEWATCH
#!/usr/bin/ksh
#----------------------------------------------------------------------
# Keith G. Deems
# Check drives, bring drive up if down, email Staff
# If drives are up, do not create a report, runs from cron
#----------------------------------------------------------------------
# Add interested parties below:
#someone_who_cares=kdeems@parker.com 
someone_who_cares=veritas.management@corlnm09.cor.parker.corp
/usr/openv/volmgr/bin/vmoprcmd -d ds | grep "DOWN-TLD" 2>&1
if [ $? -ne 1 ];then
         echo " "
         echo " "
         rm /tmp/kgd/drivelog
         /usr/bin/date >> /tmp/kgd/drivelog
         
         echo "Please check DLT drives on MASTER:
        
`/usr/openv/volmgr/bin/vmoprcmd -d ds` 

I will now attempt to place drive(s) in UP status" >> /tmp/kgd/drivelog
echo "" >> /tmp/kgd/drivelog
        for i in `/usr/openv/volmgr/bin/vmoprcmd -d ds | tail +5 | grep "DOWN"|awk '{print $1}'`
        do
          /usr/openv/volmgr/bin/vmoprcmd -up $i
        done
/usr/openv/volmgr/bin/vmoprcmd -d ds >> /tmp/kgd/drivelog
cat /tmp/kgd/drivelog | /usr/bin/mail -s "Drive(s) on Veritas are DOWN" \
  $someone_who_cares
fi

Shashank
Level 4
Hi
   Vendor Software may help you....