Giter Club home page Giter Club logo

check-idrac-sensor's Introduction

check-idrac-sensor

Nagios check script utilizing racadm to check getsensorinfo endpoint

Purpose

This check script uses racadm to check sensorinfo output from a Dell iDRAC

Requirements

This check script requires the racadm tool. To install it:

wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash
sudo apt-get update
sudo apt-get install srvadmin-idrac7

OR

sudo yum install srvadmin-idrac7

Installation

Clone the repo and move the check-idrac-sensor.py script to your Nagios plugin directory

Usage

Below is the minimal usage. The default command (-C) is "getsensorinfo" and default sensors (-s) are "all". Perfdata does not yet return anything and authfile feature is not yet implemented.

./check-idrac-sensor.py -H 192.168.1.120 -u root -p calvin

usage: check-idrac-sensor.py [-h] -H HOST -u USERNAME -p PASSWORD
                             [-a AUTHFILE] [-C CMD] [-f PERFDATA] [-s SENSOR]
                             [-d DEBUG]

Bugs

  • If you encounter a problem, please open an issue and I will do my best to help

Known Issues / Compatibility

  • Sometimes racadm responds with bad username/password when it is really a response issue with the device. Common on older firmware versions.
  • This has only been tested on iDRAC7
  • Authfile and perfdata are options but not yet implemented

TODO

  • Perfdata for certain sensortypes
  • Handle some of the failure cases better
  • Implement single/multi sensor return (as opposed to just 'all')

check-idrac-sensor's People

Contributors

hobbsh avatar aanriot avatar

Watchers

Adam Dorsey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.