summaryrefslogtreecommitdiffstats
path: root/itl/plugins-contrib.d/virtualization.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:34:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:34:54 +0000
commit0915b3ef56dfac3113cce55a59a5765dc94976be (patch)
treea8fea11d50b4f083e1bf0f90025ece7f0824784a /itl/plugins-contrib.d/virtualization.conf
parentInitial commit. (diff)
downloadicinga2-0915b3ef56dfac3113cce55a59a5765dc94976be.tar.xz
icinga2-0915b3ef56dfac3113cce55a59a5765dc94976be.zip
Adding upstream version 2.13.6.upstream/2.13.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--itl/plugins-contrib.d/virtualization.conf84
1 files changed, 84 insertions, 0 deletions
diff --git a/itl/plugins-contrib.d/virtualization.conf b/itl/plugins-contrib.d/virtualization.conf
new file mode 100644
index 0000000..0f2a7aa
--- /dev/null
+++ b/itl/plugins-contrib.d/virtualization.conf
@@ -0,0 +1,84 @@
+/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
+
+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"
+ }
+ "-S" = {
+ value = "$esxi_hardware_sslproto$"
+ description = "Overwrite system default of SSL/TLS protocol to use. Must be one of: SSLv2, SSLv3, TLSv1, TLSv1.1, TLSv1.2, TLSv1.3"
+ }
+ "-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"
+ }
+ "-r" = {
+ set_if = "$esxi_hardware_regex$"
+ description = "Allow regular expression lookups of elements in ignore list"
+ }
+ "-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_regex = false
+ 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
+}
+