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_gpfs_health

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2011-03-16
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
  • Nagios Fusion
Owner
License
GPL
Hits
99260
Files:
FileDescription
check_gpfs_health.shcheck_gpfs_health.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Nagios plugin (shell script) to GPFS health monitor
- Check GPFS deamon is active
- Check GPFS device is healthy
- Check GPFS Disk are available and up
- Check GPFS inodes used in percent (you can define warning and critical threshold)
- Check GPFS MountPoint is healthy (mount and writable)
# =================================================================================
# GPFS health monitor plugin for Nagios
#
# Name : check_gpfs_health.sh
# Type : Shell Script
# Package : uadmtools for nagios (ua_monitor)
# Creation date : 13 march 2011
# Platform : Linux (Red Hat Linux Flavor)
# Created by : Steve Bosek - steve.bosek@ephris.net - steve.bosek@gmail.com
# Description : Nagios plugin (script) to GPFS health monitor
# - Check GPFS deamon is active
# - Check GPFS device is healthy
# - Check GPFS Disk are available and up
# - Check GPFS inodes used in percent (you can define warning and critical threshold)
# - Check GPFS MountPoint is healthy (mount and writable)
# This script has been designed and written on Redhat Linux Plateform
#
#
# Usage : Add the following line in the /etc/sudoers
# nagios ALL=(ALL) NOPASSWD:path_to_this_script
#
# ./check_gpfs_health.sh -d [device] -m [mounpoint] -o [none|inode] -w [warning_threshold] -c [critical_threshold]
# ./check_gpfs_health.sh -d /dev/DATA -m /gpfs_data -w 80 -c 90
# OK : Daemon mmfsd is active, Device /dev/DATA, Disk(GPFS1 GPFS2 GPFS0 GPFS3 GPFS4 GPFS5 GPFS6 GPFS7),
# Inodes(71.96% used), Mountpoint(/gpfs_data) | /dev/DATA=7000064;1962382;71.96%;80;90
#
# To disable inode control:
# ./check_gpfs_health.sh -d /dev/DATA -m /gpfs_data -x inode
# OK : Daemon mmfsd is active, Device /dev/DATA, Disk(GPFS1 GPFS2 GPFS0 GPFS3 GPFS4 GPFS5 GPFS6 GPFS7),
# Inodes(71.96% used), Mountpoint(/gpfs_data)
#----------------------------------------------------------------------------------
# TODO : Add Threshold in number used inode
#
#----------------------------------------------------------------------------------
# HISTORY :
# Release | Date | Authors | Description
# --------------+---------------+-----------------------+-------------------------
# 1.0 | 13.03.2011 | Steve Bosek | Creation
# 1.1 | 22.03.2011 | Steve Bosek | Bug in $var for default v_warn_inode and v_crit_inode
# | Perfdata : add used inodes number and uniform
# | Add a new option (-x inode) to disable inode control: Isn't useful to monitor inode
# | occupancy rate for a device on all GPFS servers. One is enough per device.
# =================================================================================