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
94023
Files:
FileDescription
check_coraid.pycheck_coraid.py
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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).