File System

Check Veritas Volume Manager

Description:

This is a nagios check plugin for Veritas Volume Manager. It checks the vxprint output for disk, plex and subdisk problems and the vxdmpadm output for disabled I/O paths.

Current Version

Last Release Date

June 22, 2009

Compatible With


Project Files
Project Notes
++++ Overview of checks, return codes and prerequisites check_vxvm will perform the following checks: * Check if vxprint can be executed without errors. If vxprint returns with exit_code> 0, status CRITICAL is returned * Check for any dm records with NODEVICE, FAILING or LOCAL_FAILING flags. If any record of this type is found, status CRITICAL is returned. * Check for any plex records with status NODEVICE or IOFAIL. If any record of this type is found, status CRITICAL is returned. * Check for any subdisks with status NDEV, DIS, dS or FAIL. If any record of this type is found, status CRITICAL is returned. * Check for disks with disabled paths that belong to imported disk groups. If any record of this type is found, status WARNING is returned. The check script must run with root privileges since the vxdmpadm command requires root permissions. Please note that the check script intentionally does not catch all states that can be considered dangerous or unhealthy, specifically not those that may result from manual intervention (such as stale plexes). Comments and suggestions for improvement welcome.
Reviews (1) Add a Review
Minor update required
by nansari, March 31, 2013

Header for vxdmpadm output from VRTSvxvm-6.0.300.000-RHEL5 version has replaced - to _ , hence below need to be changed. # diff check_vxvm.news /tmp/check_vxvm.org 132c132 next if ($line =~ '^CTLR-NAMEs+' or $line =~ '^=+'); => Older version output # vxdmpadm listctlr all CTLR-NAME ENCLR-TYPE STATE ENCLR-NAME PATH-COUNT ========================================================================= => Newer version output # vxdmpadm listctlr all CTLR_NAME ENCLR_TYPE STATE ENCLR_NAME PATH_COUNT =========================================================================



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
4 (2)
Favorites
0
Views
97,921