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

Directory Tree

check_coraid

Last Release Date
2010-01-30
Compatible With
  • Nagios 3.x
License
GPL
Hits
94196
Files:
FileDescription
check_coraid.pycheck_coraid.py
Nagios CSP

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!
Monitor changes on status of a Coraid shelf. Runs commands 'show -l' and 'list -l' and compares output with a previously stored file.

Monitor changes on status of a Coraid shelf. Runs commands 'show -l' and 'list -l' and compares output with a previously stored file.

Requirements:

  • Coraid Ethernet Console (cec)
  • 'pexpect' Python module

Before using the plugin for monitoring a Coraid device you must store its output on a file to compare against. You can do it with the option '--create'. Do it when the Coraid device is in good status.

Example:

# check_coraid.py -i eth2 --shelf 0 --create

This plugin must run 'cec' as root and, if there's a timeout, must be able to kill it. That means you need something like this on your /etc/sudoers file.

nagios ALL= NOPASSWD: /usr/local/lib/nagios/plugins/check_coraid.py

This is giving full privileges to the script, so please check that no one can overwrite the Nagios plugin neither the 'cec' binary.

This script is inspired on 'aoe-chk-coraid.sh' by William A. Arlofski (http://www.revpol.com/coraid_scripts).