DRAC 5 & 6 Monitoring Scripts for Nagios
Python
Switch branches/tags
Nothing to show
Latest commit 9d1eb31 Sep 28, 2012 @danielktaylor Markdown formatting.
Permalink
Failed to load latest commit information.
README update readme Mar 5, 2012
README.md
check_drac5.py
check_drac6.py Altered check_drac6.py to produce the last logged message upon health… Jun 4, 2012

README.md

DRAC-Nagios

About

DRAC-Nagios is a set of python scripts to monitor DRAC5 and DRAC6 cards via their SSH interfaces. The return codes are aligned with those expected by Nagios. SSH was found to be the only reliable method of collecting a valid status from the older DRAC5-based cards. The DRAC cards are rather underpowered, so it can take a minute or two for the script to finish.

Nagios is not required to use the scripts. (You could put these into a crontab)

Required libraries

The scripts require the python paramiko library.

Installation:
	Debian-based systems:  apt-get install python-paramiko
	RPM-based systems:     yum install python-paramiko

Configuration

You can edit the checks done by the DRAC5 script by editing the 'components' variable. These components will be checked on every host. Non-existing components will be ignored.

The DRAC6 script is more simple and just checks the Health and Operational Status codes of the DRAC card.

Nagios Configuration

You may find Nagios timing out if the scripts take too long to run their checks. You can increase the timeout by editing the 'service_check_timeout' parameter in your nagios.cfg settings file and restarting Nagios.