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
6 object CheckCommand "adaptec-raid" {
7 import "plugin-check-command"
9 command = [ PluginDir + "/check_adaptec_raid" ]
14 value = "$adaptec_controller_number$"
15 description = "Insert the controller number to be checked."
19 value = "$arcconf_path$"
20 description = "Insert the path to arcconf (e.g. /sbin/arcconf)."
24 vars.arcconf_path = "/sbin/arcconf"
27 object CheckCommand "lsi-raid" {
28 import "plugin-check-command"
30 command = [ PluginDir + "/check_lsi_raid" ]
34 value = "$lsi_controller_number$"
35 description = "Insert the controller number to be checked."
38 value = "$storcli_path$"
39 description = "Insert the path to storcli (e.g. /usr/sbin/storcli)."
42 value = "$lsi_enclosure_id$"
43 description = "Enclosure numbers to be checked, comma-separated."
47 description = "Logical devices to be checked, comma-separated."
51 description = "Physical devices to be checked, comma-separated."
54 value = "$lsi_temp_warning$"
55 description = "RAID controller warning temperature."
58 value = "$lsi_temp_critical$"
59 description = "RAID controller critical temperature."
62 value = "$lsi_pd_temp_warning$"
63 description = "Disk warning temperature."
66 value = "$lsi_pd_temp_critical$"
67 description = "Disk critical temperature."
70 value = "$lsi_bbu_temp_warning$"
71 description = "Battery warning temperature."
74 value = "$lsi_bbu_temp_critical$"
75 description = "Battery critical temperature."
78 value = "$lsi_cv_temp_warning$"
79 description = "CacheVault warning temperature."
82 value = "$lsi_cv_temp_critical$"
83 description = "CacheVault critical temperature."
86 value = "$lsi_ignored_media_errors$"
87 description = "Warning threshold for media errors."
90 value = "$lsi_ignored_other_errors$"
91 description = "Warning threshold for other errors."
94 value = "$lsi_ignored_predictive_fails$"
95 description = "Warning threshold for predictive failures."
98 value = "$lsi_ignored_shield_counters$"
99 description = "Warning threshold for shield counter."
102 value = "$lsi_ignored_bbm_counters$"
103 description = "Warning threshold for BBM counter."
107 description = "Define if BBU is present and it's state should be checked."
110 set_if = "$lsi_noenclosures$"
111 description = "Define if enclosures are present."
114 set_if = "$lsi_nosudo$"
115 description = "Do not use sudo when running storcli."
118 set_if = "$lsi_nocleanlogs$"
119 description = "Do not clean up the log files after executing storcli checks."