]> granicus.if.org Git - icinga2/blob - itl/plugins-contrib.d/raid-controller.conf
Fix closing brackets
[icinga2] / itl / plugins-contrib.d / raid-controller.conf
1 /*
2  * Icinga2 CheckCommand definitions to monitor RAID controller from Adaptec and Broadcom using
3  * the Adaptec RAID Monitoring Plugin and the LSI RAID Monitoring Plugin
4  */
5
6 object CheckCommand "adaptec-raid" {
7         import "plugin-check-command"
8
9         command = [ PluginDir + "/check_adaptec_raid" ]
10
11         arguments = {
12                 "-C" = {
13                         required = true
14                         value = "$adaptec_controller_number$"
15                         description = "Insert the controller number to be checked."
16                 }
17                 "-p" = {
18                         required = true
19                         value = "$arcconf_path$"
20                         description = "Insert the path to arcconf (e.g. /sbin/arcconf)."
21                 }
22         }
23
24         vars.arcconf_path = "/sbin/arcconf"
25 }
26
27 object CheckCommand "lsi-raid" {
28         import "plugin-check-command"
29
30         command = [ PluginDir + "/check_lsi_raid" ]
31
32         arguments = {
33                 "-C" = {
34                         required = true
35                         value = "$lsi_controller_number$"
36                         description = "Insert the controller number to be checked."
37                 }
38                 "-p" = {
39                         required = true
40                         value = "$storcli_path$"
41                         description = "Insert the path to storcli (e.g. /usr/sbin/storcli)."
42                 }
43         }
44
45         vars.storcli_path = "/usr/sbin/storcli"
46 }