]> granicus.if.org Git - icinga2/commitdiff
ITL: Add RAID controller plugin check configurations
authorThomas Niedermeier <tniedermeier@thomas-krenn.com>
Tue, 21 Feb 2017 12:47:30 +0000 (13:47 +0100)
committerMichael Friedrich <michael.friedrich@icinga.com>
Thu, 9 Mar 2017 16:08:52 +0000 (17:08 +0100)
refs #5019

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
doc/10-icinga-template-library.md
itl/plugins-contrib.d/raid-controller.conf [new file with mode: 0644]

index d2e278cf0a1cdc800669b26419524cc3c2df550b..4c073e87761f48dc96002f3bff5343a8d38db1b6 100644 (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.
diff --git a/itl/plugins-contrib.d/raid-controller.conf b/itl/plugins-contrib.d/raid-controller.conf
new file mode 100644 (file)
index 0000000..d419bdf
--- /dev/null
@@ -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"
+}