Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_coraid
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).