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

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
30556
Files:
FileDescription
check_nb_cleaning_left.shcheck_nb_cleaning_left.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.