Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Veritas Volume Manager
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
++++ 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.
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)
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
=========================================================================
# 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
=========================================================================