This file is indexed.

/usr/share/icinga2/include/plugins-contrib.d/raid-controller.conf is in icinga2-common 2.8.1-0ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
 * 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"
}