01-31-2018 01:11 AM
I'm looking for a script or using OpsCenter to genrate a report for low tapes in the library.
We have 6 Library in company
3 connected to Windows System and 3 connect to netbackup Applicance
I would like to get a report if the number of empty tape is below 5. Report needs to be run twic a day in morning and afternoon.
Please let me know if anyonce can help.
02-01-2018 03:24 AM
This post: https://vox.veritas.com/t5/NetBackup/Low-Scratch-Script/m-p/718362 might be of some help.
Still do not understand this not a standard alert in OpsCenter alert policies.
02-01-2018 06:38 PM
It appears it is. I'm trying to remember how far back I've been using it....I think at least version 7.5 and maybe earlier. I'm on 7.7.3 now and still have it. Have a look under Alert Conditions->Media->Low Available Media. The description is "Generated when the number of available media becomes less than the present threshold value".
I've included an attachment (LowAvailableMedia.png) that shows the properties for the alert condition.
Hopefully this might help the original poster. Just not sure how it will count across multiple libraries - works for me as I only have one.
Hope this helps,
02-02-2018 12:44 AM
We dont have Analytics license and under standard license its not available
02-02-2018 12:49 AM
Thank you, I always was looking into reports, i never through of alerts.
I have created one now, so homefully I will be able to test this
03-21-2018 01:36 PM
I have a script that checks this anytime I wish.
It is based on the fact that your tapes always come from the scratch pool. And the command
"vmquery -pn scratch_pool -b"
will list all the tapes in the scratch pool.
With some care, you can summarize all your scratch tapes by counting how many you have for each robot.