Clustering and High-Availability

check_gpfs_health

Description:

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)

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


Project Files
Project Notes
# ================================================================================= # 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. # =================================================================================
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
99,757