Giter Site home page Giter Site logo

hambuergaer / nagios_check_veritas Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 148 KB

Small Nagios Python script to check status of Veritas volume group status and Veritas cluster service group status.

License: GNU General Public License v2.0

Python 100.00%

nagios_check_veritas's Introduction

nagios_check_veritas

Nagios check_veritas_sfha.py

Description:

With this little Python script you have the ability to check your Veritas servicegroups and the status of your volumegroup. Please use ./check_veritas_sfha.py -h to get an overview of the needed parameters. In all cases you need the exact name of the servicegroup which is shown by the output of /opt/VRTS/bin/hastatus -sum and of course you need the exact name of the volumegroup.

  • Author: Frank Reimer
  • Version: 0.3
  • Creation Date: 2012-08-09

Version History:

  • 2012-08-14: Fixing servicegroup check - removing re.compile for Python compatibility
  • 2012-08-10: Adding check for plexes in volumegroup
  • 2012-08-09: Script creation

#PREREQUISITES: If you want to use this script, your Nagios user needs sudo privileges to perform this script. Start visudo and add the following lines at the end of the file:

  • ALL=(ALL) NOPASSWD:/opt/VRTS/bin/hastatus
  • ALL=(ALL) NOPASSWD:/sbin/vxprint
  • ALL=(ALL) NOPASSWD:///check_veritas_status.py

Tested with the following Python versions:

  • 2.4.3
  • 2.6.6

#USAGE: Usage: check_veritas_sfha.py [-s ] [-v ]

Options:

  • --version show program's version number and exit
  • -h, --help show this help message and exit
  • -s SERVICEGROUP, --servicegroup=SERVICEGROUP Servicegroup you want to monitor.
  • -v VOLUMEGROUP, --volumegroup=VOLUMEGROUP Volumegroup you want to monitor

nagios_check_veritas's People

Contributors

hambuergaer avatar

Watchers

James Cloos avatar  avatar

Forkers

cbxcube

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.