megaraid check #0

Supports: xenial bionic
Add to new model

Description

Monitors MegaRAID controllers with the check_lsi_raid Nagios plugin from Thomas-Krenn.


MegaRAID Check

This subordinate charm is used to monitor MegaRAID controllers via NRPE (Nagios Remote Plugin Executor) with the check_lsi_raid Nagios plugin from Thomas-Krenn.
This charm installs the StorCLI tool (Storage Command Line Tool) which is used interact with the MegaRAID controller on the host.

Usage

This charm can be deployed to any principal application, but requires that the nrpe charm is deployed and related to it.
Here is an example where ubuntu is the principal application:

juju deploy ~huntdatacenter/megaraid-check
juju deploy nrpe
juju deploy ubuntu
juju deploy nagios
juju add-relation nrpe ubuntu
juju add-relation nrpe megaraid-check
juju add-relation ubuntu megaraid-check
juju add-relation nagios nrpe

Further information

Links


Configuration

check-parameters
(string) The parameters for the check_lsi_raid check. See 'check_lsi_raid --help' for more information.
check-remove
(boolean) Workaround due to current inability to remove check in Nagios when charm is removed. Set to true to remove the NRPE check before removing charm.
check-repo
(string) The repository to clone the check_lsi_raid plugin from. Using forked repository as default due to https://github.com/thomas-krenn/check_lsi_raid/issues/24 Upstream bug prevents usage of newer StorCLI versions. See https://github.com/thomas-krenn/check_lsi_raid.git for upstream repository.
https://github.com/huntdatacenter/check_lsi_raid.git
check-version
(string) The versions of the check_lsi_raid repository to check out. This can be a branch, tag or hash. See 'version' parameter in https://docs.ansible.com/ansible/latest/modules/git_module.html for more information.
master
nagios_context
(string) Used by the nrpe subordinate charms. A string that will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like: juju-myservice-0 If you're running multiple environments with the same services in them this allows you to differentiate between them.
juju
nagios_servicegroups
(string) A comma-separated list of nagios servicegroups. If left empty, the nagios_context will be used as the servicegroup
storcli-url
(string) The URL to an archived StorCLI package. Default is the upstream Broadcom download page. See https://www.broadcom.com/support/download-search for other versions.
https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/MR_SAS_Unified_StorCLI_007.1108.0000.0000.zip