Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
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
Owner
bosek
License
GPL
Compatible With
# ================================================================================= # 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 - [email protected] - [email protected] # 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. # =================================================================================
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!