A sensu plugin to monitor IPMI sensors.
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 sensors.
The plugin accepts the following command line options:
Usage: check-ipmi-sensors.rb (options)
--driver <driver> IPMI driver (default: auto)
--handlers <HANDLERS> Comma separated list of handlers
-H, --host <HOST> IPMI host (default: localhost)
--ignore-sensor <SENSOR> Comma separated list of IPMI sensors to ignore
--ignore-sensor-regex <SENSOR>
Comma separated list of IPMI sensors to ignore (regex)
-p, --password <PASSWORD> IPMI password (required)
--provider <PROVIDER> IPMI provider (default: auto)
--sensor <SENSOR> Comma separated list of IPMI sensors (default: ALL)
--sensor-regex <SENSOR> Comma separated list of IPMI sensors (regex)
-u, --user <USER> IPMI username (required)
-w, --warn Warn instead of throwing a critical failure
-P, --proxy-client Send events for proxy client with host as the source
Use the --handlers command line option to specify which handlers you want to use for the generated events.
Matteo Cerutti - [email protected]