SAN and NAS

check_coraid

Description:

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

Current Version

Last Release Date

2010-01-30

Compatible With

  • Nagios 3.x

License

GPL


Project Files
Project Notes

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).

Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
94,204