logo-vplex

check-vplex

check_vplex.py

This is a Nagios monitoring script for DELL EMC vplex. It calls the vplex Restfull API and check if every moduls are OK. This plugin have been tested with a version 6.1 of vplex and python 3.6.8

you can find a fench version here: http://daminoux.fr/check-vplex-fr

Download:

https://github.com/daminoux43/check-vplex

Usage:

checkvplex.py [-h] -H HOSTADDRESS -u USER -p PASSWORD -m { configuration, back-end, front-end, cache, consistency-group, wan, hardware, clusterwitness, vpn io-aborts}

Arguments:

  • -h, –help show this help message and exit
  • -H HOSTNAME, –hostname HOSTNAME hostname or IP address
  • -u USERNAME, –username USERNAME username
  • -p PASSWORD, –password PASSWORD user password
  • -m, –module module checking among configuration or back-end or front-end or cache or consistency-group or wan or hardware or cluster_witness or vpn io-aborts

Module:

This module checking :

configuration:

  • Checking VPlexCli connectivity to directors
  • Checking Directors Commission
  • Checking Directors Communication Status
  • Checking Directors Operation Status
  • Checking Inter-director management connectivity
  • Checking ports status
  • Checking Call Home Status
  • Checking Connectivity
  • Checking Meta Data Backup
  • Checking Meta Data Slot Usage

back-end:

  • Checking Unreachable Storage Volumes
  • Checking Degraded Storage Volumes
  • Checking Unhealthy Virtual Volumes
  • Back end array status
  • Validating paths to back end arrays
  • Validating LUN limit per IT-Nexus
  • Checking Unhealthy IT Nexuses

front-end:

  • Checking Front End HA
  • Checking Front End Path

consistency-group:

  • Consistency Group Health
  • Consistency Group Setting

wan:

  • WAN Configuration

hardware:

  • Checking Director Hardware
  • Checking SSD Hardware

cluster_witness:

  • Checking Cluster Witness

vpn:

  • VPN Status

io-aborts:

  • Check if io aborts

Requirements:

  • json
  • argparse
  • re
  • requests
  • urllib3

Creating a user

It is not possible to create a dedied user for monitoring a vplex with the API. You must use the account : service

 

 

 

© 2019 Damien ARNAUD published under GPLv3 license