Home Directory Plugins System Metrics File System Check Veritas Volume Manager

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

Check Veritas Volume Manager

Rating
2 votes
Favoured:
0
Hits
94310
Files:
FileDescription
check_vxvmcheck script
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.
++++ 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)
bynansari, March 5, 2013
1 of 1 people found this review helpful
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-NAME\s+' 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
=========================================================================