Add the possibility for all ...-dc... checkcommands to specify a cluster name

fixes #12519

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
This commit is contained in:
Yannick Charton 2016-08-23 15:56:00 +02:00 committed by Gunnar Beutner
parent 70db7f52c9
commit 01b23ee08f
2 changed files with 13 additions and 0 deletions

View File

@ -2690,6 +2690,7 @@ Custom attributes passed as [command parameters](3-monitoring-basics.md#command-
Name | Description
------------------------|--------------
vmware_datacenter | **Required.** Datacenter/vCenter hostname.
vmware_cluster | **Optional.** ESX or ESXi clustername.
vmware_sslport | **Optional.** SSL port connection. Defaults to "443".
vmware_ignoreunknown | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
vmware_ignorewarning | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
@ -2722,6 +2723,7 @@ Custom attributes passed as [command parameters](3-monitoring-basics.md#command-
Name | Description
------------------------|--------------
vmware_datacenter | **Required.** Datacenter/vCenter hostname.
vmware_cluster | **Optional.** ESX or ESXi clustername.
vmware_sslport | **Optional.** SSL port connection. Defaults to "443".
vmware_ignoreunknown | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
vmware_ignorewarning | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
@ -2744,6 +2746,7 @@ Custom attributes passed as [command parameters](3-monitoring-basics.md#command-
Name | Description
------------------------|--------------
vmware_datacenter | **Required.** Datacenter/vCenter hostname.
vmware_cluster | **Optional.** ESX or ESXi clustername.
vmware_sslport | **Optional.** SSL port connection. Defaults to "443".
vmware_ignoreunknown | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
vmware_ignorewarning | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
@ -2771,6 +2774,7 @@ Custom attributes passed as [command parameters](3-monitoring-basics.md#command-
Name | Description
------------------------|--------------
vmware_datacenter | **Required.** Datacenter/vCenter hostname.
vmware_cluster | **Optional.** ESX or ESXi clustername.
vmware_sslport | **Optional.** SSL port connection. Defaults to "443".
vmware_ignoreunknown | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
vmware_ignorewarning | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
@ -2798,6 +2802,7 @@ Custom attributes passed as [command parameters](3-monitoring-basics.md#command-
Name | Description
------------------------|--------------
vmware_datacenter | **Required.** Datacenter/vCenter hostname.
vmware_cluster | **Optional.** ESX or ESXi clustername.
vmware_sslport | **Optional.** SSL port connection. Defaults to "443".
vmware_ignoreunknown | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
vmware_ignorewarning | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
@ -2825,6 +2830,7 @@ Custom attributes passed as [command parameters](3-monitoring-basics.md#command-
Name | Description
------------------------|--------------
vmware_datacenter | **Required.** Datacenter/vCenter hostname.
vmware_cluster | **Optional.** ESX or ESXi clustername.
vmware_sslport | **Optional.** SSL port connection. Defaults to "443".
vmware_ignoreunknown | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
vmware_ignorewarning | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
@ -2851,6 +2857,7 @@ Custom attributes passed as [command parameters](3-monitoring-basics.md#command-
Name | Description
------------------------|--------------
vmware_datacenter | **Required.** Datacenter/vCenter hostname.
vmware_cluster | **Optional.** ESX or ESXi clustername.
vmware_sslport | **Optional.** SSL port connection. Defaults to "443".
vmware_ignoreunknown | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
vmware_ignorewarning | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
@ -2873,6 +2880,7 @@ Custom attributes passed as [command parameters](3-monitoring-basics.md#command-
Name | Description
------------------------|--------------
vmware_datacenter | **Required.** Datacenter/vCenter hostname.
vmware_cluster | **Optional.** ESX or ESXi clustername.
vmware_sslport | **Optional.** SSL port connection. Defaults to "443".
vmware_ignoreunknown | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
vmware_ignorewarning | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".

View File

@ -89,6 +89,11 @@ template CheckCommand "vmware-esx-dc" {
required = true
description = "Datacenter/Vcenter hostname."
}
"--cluster" = {
value = "$vmware_cluster$"
required = false
description = "ESX or ESXi clustername."
}
"--sslport" = {
value = "$vmware_sslport$"
description = "If a SSL port different from 443 is used."