No commit activity in last 3 years
No release in over 3 years
This plugin provides facilities for monitoring LSI MegaRAID devices
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Sensu plugin for monitoring LSI MegaRAID devices

A sensu plugin to monitor LSI MegaRAID devices.

The plugin generates multiple OK/WARN/CRIT/UNKNOWN events via the sensu client socket (https://sensuapp.org/docs/latest/clients#client-socket-input) so that you do not miss state changes when monitoring multiple controllers, enclosures, virtual disks etc.

Installation

System-wide installation:

$ gem install sensu-plugins-megaraid

Embedded sensu installation:

$ /opt/sensu/embedded/bin/gem install sensu-plugins-megaraid

Usage

The plugin accepts the following command line options:

Usage: check-megaraid.rb (options)
    -C, --controller-id <ID>         Comma separated list of Controller ID(s) (default: all)
    -c, --storcli-cmd <PATH>         Path to StorCLI executable (default: /opt/MegaRAID/storcli/storcli64)
        --dryrun                     Do not send events to sensu client socket
        --handlers <HANDLERS>        Comma separated list of handlers
    -w, --warn                       Warn instead of throwing a critical failure

Use the --handlers command line option to specify which handlers you want to use for the generated events.

Author

Matteo Cerutti - matteo.cerutti@hotmail.co.uk