RE: [Veritas-bu] Scratch Pool Alert

2006-02-23 Thread Greenberg, Brian
Title: Message








Write a script that will use vmquery -v ***
-bx | grep -i scratch | wc -l and then send you a note when it reaches a
certain threshold and update a web page.




Regards,

   Brian 

[EMAIL PROTECTED]











From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of King, Cheryl
Sent: Thursday, February 23, 2006
10:19 AM
To: WEAVER, Simon;
veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Scratch
Pool Alert



 

I use OpenView Operations agent to monitor
the logs and alert the 24/7 operators to add SCRATCH tapes.  There are
several messages in bptm and bpsched when there are no scratch tapes left.

 

Oh man, I feel your pain.  Every
quarter I order tapes and have to justify the order to the controllers of each
business unit.  I do a clientbackup report and pull it into Excel to do
calculations per server, then per business unit to determine how many tapes
each one should be charged for.  I also periodically do a medialist and
pull it into Excel to calculate average amount of data I’m getting on a
tape so I can use that in my calculations.  The whole process sucks the
life right out of me:^0  

 







From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of WEAVER, Simon
Sent: Thursday, February 23, 2006
2:43 AM
To:
'veritas-bu@mailman.eng.auburn.edu'
Subject: [Veritas-bu] Scratch Pool
Alert



Guys





Daft question here, but I have a remote site that has a low
supply of tapes and the scratch pool is empty





 





Is there a way to set an alert if the tapes get low or down
to Zero?





 





I am also trying to justify to the business that the tapes
are needed !! Any help or opinions on making a plea would also help





 





Thanks





Simon










RE: [Veritas-bu] Scratch Pool Alert

2006-02-23 Thread King, Cheryl
Title: Message








I use OpenView Operations agent to monitor
the logs and alert the 24/7 operators to add SCRATCH tapes.  There are
several messages in bptm and bpsched when there are no scratch tapes left.

 

Oh man, I feel your pain.  Every
quarter I order tapes and have to justify the order to the controllers of each
business unit.  I do a clientbackup report and pull it into Excel to do
calculations per server, then per business unit to determine how many tapes
each one should be charged for.  I also periodically do a medialist and
pull it into Excel to calculate average amount of data I’m getting on a
tape so I can use that in my calculations.  The whole process sucks the
life right out of me:^0  

 







From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of WEAVER, Simon
Sent: Thursday, February 23, 2006
2:43 AM
To:
'veritas-bu@mailman.eng.auburn.edu'
Subject: [Veritas-bu] Scratch Pool
Alert



Guys





Daft question here, but I have a remote site that has a low
supply of tapes and the scratch pool is empty





 





Is there a way to set an alert if the tapes get low or down
to Zero?





 





I am also trying to justify to the business that the tapes
are needed !! Any help or opinions on making a plea would also help





 





Thanks





Simon










RE: [Veritas-bu] Scratch Pool Alert

2006-02-23 Thread Hindle, Greg
Title: Message



You can write a scrip that looks for 96 errors and to send 
a page. We have this installed now if a backup jobs fails because of a 96 it 
alerts us.
 
 
Greg 
 
 


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of WEAVER, 
SimonSent: Thursday, February 23, 2006 2:43 AMTo: 
'veritas-bu@mailman.eng.auburn.edu'Subject: [Veritas-bu] Scratch Pool 
Alert

Guys
Daft question here, 
but I have a remote site that has a low supply of tapes and the scratch pool is 
empty
 
Is there a way to 
set an alert if the tapes get low or down to Zero?
 
I am also trying to 
justify to the business that the tapes are needed !! Any help or opinions on 
making a plea would also help
 
Thanks
Simon

  
  
This email is for the intended 
  addressee only.If you have received it in error then you must not use, 
  retain, disseminate or otherwise deal with it.Please notify the sender 
  by return email.The views of the author may not necessarily constitute 
  the views of EADS Astrium Limited.Nothing in this email shall bind 
  EADS Astrium Limited in any contract or obligation.EADS Astrium 
  Limited, Registered in England and Wales No. 2449259Registered Office: 
  Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, 
  England>>> This e-mail and any attachments are confidential, may contain legal, professional or other privileged information, and are intended solely for the addressee.  If you are not the intended recipient, do not use the information in this e-mail in any way, delete this e-mail and notify the sender. CEG-IP1



Re: [Veritas-bu] Scratch Pool Alert

2006-02-23 Thread Justin Piszcz
A simple script would work.$ sudo /usr/openv/volmgr/bin/vmquery -rn 0 -bx | grep -ic scratch105numscratch=$(/usr/openv/volmgr/bin/vmquery -rn 0 -bx | grep -ic scratch)if [ $numscratch -lt 350 ]; then
> echo "You have less than 350 scratch tapes, put some more in."> fiYou have less than 350 scratch tapes, put some more in.Then you could just pipe that to an e-mail if you wanted to.
Justin.On 2/23/06, WEAVER, Simon <[EMAIL PROTECTED]> wrote:







Guys
Daft question here, 
but I have a remote site that has a low supply of tapes and the scratch pool is 
empty
 
Is there a way to 
set an alert if the tapes get low or down to Zero?
 
I am also trying to 
justify to the business that the tapes are needed !! Any help or opinions on 
making a plea would also help
 
Thanks
Simon

This email is for the intended addressee only.
If you have received it in error then you must not use, retain, disseminate or otherwise deal with it.
Please notify the sender by return email.
The views of the author may not necessarily constitute the views of EADS Astrium Limited.
Nothing in this email shall bind EADS Astrium Limited in any contract or obligation.

EADS Astrium Limited, Registered in England and Wales No. 2449259
Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England




[Veritas-bu] Scratch Pool Alert

2006-02-23 Thread WEAVER, Simon
Title: Message



Guys
Daft question here, 
but I have a remote site that has a low supply of tapes and the scratch pool is 
empty
 
Is there a way to 
set an alert if the tapes get low or down to Zero?
 
I am also trying to 
justify to the business that the tapes are needed !! Any help or opinions on 
making a plea would also help
 
Thanks
Simon

This email is for the intended addressee only.
If you have received it in error then you must not use, retain, disseminate or otherwise deal with it.
Please notify the sender by return email.
The views of the author may not necessarily constitute the views of EADS Astrium Limited.
Nothing in this email shall bind EADS Astrium Limited in any contract or obligation.

EADS Astrium Limited, Registered in England and Wales No. 2449259
Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England