ITL: Add RAID controller plugin check configurations

refs #5019

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
This commit is contained in:
Thomas Niedermeier 2017-02-21 13:47:30 +01:00 committed by Michael Friedrich
parent 06fa96f83d
commit c727f4c57a
2 changed files with 62 additions and 0 deletions

View File

@ -2227,6 +2227,24 @@ hpasm_privprotocol | **Optional.** The private protocol for SNMPv3 (des\|aes\|a
hpasm_servertype | **Optional.** The type of the server: proliant (default) or bladesystem.
hpasm_eval-nics | **Optional.** Check network interfaces (and groups). Try it and report me whyt you think about it. I need to build up some know how on this subject. If you get an error and think, it is not justified for your configuration, please tell me about it. (alwasy send the output of "snmpwalk -On .... 1.3.6.1.4.1.232" and a description how you setup your nics and why it is correct opposed to the plugins error message.
#### <a id="plugin-contrib-command-adaptec-raid"></a> adaptec-raid
The plugin [check_adaptec_raid](https://github.com/thomas-krenn/check_adaptec_raid) is a plugin to monitor Adaptec RAID controller through arcconf.
Name | Description
--------------------------------|-----------------------------------------------------------------------
adaptec_controller_number | **Required.** Insert the controller number to monitor.
arcconf_path | **Required.** Insert the path to the arcconf binary, e.g. "/sbin/arcconf".
#### <a id="plugin-contrib-command-lsi-raid"></a> lsi-raid
The plugin [check_lsi_raid](https://github.com/thomas-krenn/check_lsi_raid) is a plugin to monitor MegaRAID RAID controller through storcli.
Name | Description
--------------------------------|-----------------------------------------------------------------------
lsi_controller_number | **Required.** Insert the controller number to monitor.
storcli_path | **Required.** Insert the path to the storcli binary, e.g. "/usr/sbin/storcli".
#### <a id="plugin-contrib-command-smart-attributes"></a> smart-attributes
The plugin [check_smart_attributes](https://github.com/thomas-krenn/check_smart_attributes) is a plugin to monitor the SMART values of SSDs and HDDs.

View File

@ -0,0 +1,44 @@
/*
* Icinga2 CheckCommand definitions to monitor RAID controller from Adaptec and Broadcom using
* the Adaptec RAID Monitoring Plugin and the LSI RAID Monitoring Plugin
*/
object CheckCommand "adaptec-raid" {
import "plugin-check-command"
command = [ PluginDir + "/check_adaptec_raid" ]
arguments = {
"-C" = {
required = true
value = "$adaptec_controller_number$"
description = "Insert the controller number to be checked."
}
"-p" = {
required = true
value = "$arcconf_path$"
description = "Insert the path to arcconf (e.g. /sbin/arcconf)."
}
vars.arcconf_path = "/sbin/arcconf"
}
object CheckCommand "lsi-raid" {
import "plugin-check-command"
command = [ PluginDir + "/check_lsi_raid" ]
arguments = {
"-C" = {
required = true
value = "$lsi_controller_number$"
description = "Insert the controller number to be checked."
}
"-p" = {
required = true
value = "$storcli_path$"
description = "Insert the path to storcli (e.g. /usr/sbin/storcli)."
}
vars.storcli_path = "/usr/sbin/storcli"
}