This file is indexed.

/usr/share/icinga2/include/plugins-contrib.d/virtualization.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/******************************************************************************
 * Icinga 2                                                                   *
 * Copyright (C) 2012-2017 Icinga Development Team (https://www.icinga.com/)  *
 *                                                                            *
 * This program is free software; you can redistribute it and/or              *
 * modify it under the terms of the GNU General Public License                *
 * as published by the Free Software Foundation; either version 2             *
 * of the License, or (at your option) any later version.                     *
 *                                                                            *
 * This program is distributed in the hope that it will be useful,            *
 * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
 * GNU General Public License for more details.                               *
 *                                                                            *
 * You should have received a copy of the GNU General Public License          *
 * along with this program; if not, write to the Free Software Foundation     *
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.             *
 ******************************************************************************/

object CheckCommand "esxi_hardware" {
	command = [ PluginContribDir + "/check_esxi_hardware.py" ]

	arguments = {
		"-H" = {
			value = "$esxi_hardware_host$"
			description = "report on HOST"
		}
		"-U" = {
			value = "$esxi_hardware_user$"
			description = "user to connect as"
		}
		"-P" = {
			value = "$esxi_hardware_pass$"
			description = "password"
		}
		"-C" = {
			value = "$esxi_hardware_port$"
			description = "cim port"
		}
		"-V" = {
			value = "$esxi_hardware_vendor$"
			description = "Vendor code: auto, dell, hp, ibm, intel, or unknown"
		}
		"-I" = {
			value = "$esxi_hardware_html$"
			description = "generate html links for country XX"
		}
		"-i" = {
			value = "$esxi_hardware_ignore$"
			description = "comma-separated list of elements to ignore"
		}
		"-p" = {
			set_if = "$esxi_hardware_perfdata$"
			description = "collect performance data for pnp4nagios"
		}
		"--no-power" = {
			set_if = "$esxi_hardware_nopower$"
			description = "don't collect power performance data"
		}
		"--no-volts" = {
			set_if = "$esxi_hardware_novolts$"
			description = "don't collect voltage performance data"
		}
		"--no-current" = {
			set_if = "$esxi_hardware_nocurrent$"
			description = "don't collect current performance data"
		}
		"--no-temp" = {
			set_if = "$esxi_hardware_notemp$"
			description = "don't collect temperature performance data"
		}
		"--no-fan" = {
			set_if = "$esxi_hardware_nofan$"
			description = "don't collect fan performance data"
		}
		"--no-lcd" = {
			set_if = "$esxi_hardware_nolcd$"
			description = "don't collect lcd/display status data"
		}
	}

	vars.esxi_hardware_host = "$address$"
	vars.esxi_hardware_port = 5989
	vars.esxi_hardware_perfdata = false
	vars.esxi_hardware_nopower = false
	vars.esxi_hardware_novolts = false
	vars.esxi_hardware_nocurrent = false
	vars.esxi_hardware_notemp = false
	vars.esxi_hardware_nofan = false
	vars.esxi_hardware_nolcd = false
}