Home Directory Plugins Backup and Recovery NetBackup check_nb_cleaning_left.sh

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_nb_cleaning_left.sh

Rating
0 votes
Favoured:
0
Current Version
1
Last Release Date
2013-07-22
Compatible With
  • Nagios 2.x
  • Nagios 3.x
Owner
Hits
33586
Files:
FileDescription
check_nb_cleaning_left.shcheck_nb_cleaning_left.sh
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Script to check media cleaning left for Netbackup Library
Use the following parameters

#################################
## Pool Name for query in media
POOL=$1
#################################
## Name of cleaning tapes
MEDIANAME=$2
#################################
## Media List quantity for error
CRITICAL=$3

Example:
# It returns critical if any media is bellow critical integer
./check_nb_cleaning_left.sh Pool_de_Limpieza CL 5

You can also replace the nb query with this one
vmquery -mt hcart2_clean -bx << hcart2_clean, hcart3_clean, dlt_clean, depends on your configuration.