Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_nb_cleaning_left.sh
1
2013-07-22
- Nagios 2.x
- Nagios 3.x
33546
File | Description |
---|---|
check_nb_cleaning_left.sh | check_nb_cleaning_left.sh |
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!
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.
#################################
## 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.
Reviews (0)
Be the first to review this listing!