mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 05:34:48 +02:00
Merge pull request #10261 from n-rodriguez/wip/unplugged_nics_state
ITL vmware-esx-soap-host-net{,-nic}: Add missing option "--unplugged_nics_state"
This commit is contained in:
commit
c5963712fa
1
AUTHORS
1
AUTHORS
@ -213,6 +213,7 @@ nemtrif <ntrifunovic@hotmail.com>
|
||||
Nicolai <nbuchwitz@users.noreply.github.com>
|
||||
Nicolas Berens <nicolas.berens@planet.com>
|
||||
Nicolas Limage <github@xephon.org>
|
||||
Nicolas Rodriguez <nico@nicoladmin.fr>
|
||||
Nicole Lang <nicole.lang@icinga.com>
|
||||
Niflou <dubuscyr@gmail.com>
|
||||
Noah Hilverling <noah.hilverling@icinga.com>
|
||||
|
@ -4394,7 +4394,7 @@ Check command object for the `check_vmware_esx` plugin. Shows net info.
|
||||
Custom variables passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
|
||||
|
||||
Name | Description
|
||||
------------------------|--------------
|
||||
----------------------------|--------------
|
||||
vmware_host | **Required.** ESX or ESXi hostname.
|
||||
vmware_datacenter | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
|
||||
vmware_sslport | **Optional.** SSL port connection. Defaults to "443".
|
||||
@ -4410,6 +4410,7 @@ vmware_password | **Optional.** The username's password. No value define
|
||||
vmware_authfile | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br> username=vmuser <br> password=p@ssw0rd
|
||||
vmware_exclude | **Optional.** Blacklist NICs. No value defined as default.
|
||||
vmware_isregexp | **Optional.** Treat blacklist expression as regexp.
|
||||
vmware_unplugged_nics_state | **Optional.** Sets status for unplugged nics (Possible values are: [OK | ok] or [CRITICAL | critical | CRIT | crit] or [WARNING | warning | WARN | warn]. Default is WARNING. Values are case insensitive.)
|
||||
|
||||
|
||||
**vmware-esx-soap-host-net-usage**
|
||||
@ -4494,7 +4495,7 @@ Check command object for the `check_vmware_esx` plugin. Check all active NICs.
|
||||
Custom variables passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
|
||||
|
||||
Name | Description
|
||||
------------------------|--------------
|
||||
----------------------------|--------------
|
||||
vmware_host | **Required.** ESX or ESXi hostname.
|
||||
vmware_datacenter | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
|
||||
vmware_sslport | **Optional.** SSL port connection. Defaults to "443".
|
||||
@ -4510,6 +4511,7 @@ vmware_password | **Optional.** The username's password. No value define
|
||||
vmware_authfile | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br> username=vmuser <br> password=p@ssw0rd
|
||||
vmware_exclude | **Optional.** Blacklist NICs. No value defined as default.
|
||||
vmware_isregexp | **Optional.** Treat blacklist expression as regexp.
|
||||
vmware_unplugged_nics_state | **Optional.** Sets status for unplugged nics (Possible values are: [OK | ok] or [CRITICAL | critical | CRIT | crit] or [WARNING | warning | WARN | warn]. Default is WARNING. Values are case insensitive.)
|
||||
|
||||
|
||||
**vmware-esx-soap-host-volumes**
|
||||
|
@ -421,6 +421,10 @@ object CheckCommand "vmware-esx-soap-host-net" {
|
||||
"--isregexp" = {
|
||||
set_if = "$vmware_isregexp$"
|
||||
}
|
||||
"--unplugged_nics_state" = {
|
||||
value = "$vmware_unplugged_nics_state$"
|
||||
description = "Sets status for unplugged nics (Possible values are: [OK | ok] or [CRITICAL | critical | CRIT | crit] or [WARNING | warning | WARN | warn]. Default is WARNING. Values are case insensitive.)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -467,6 +471,10 @@ object CheckCommand "vmware-esx-soap-host-net-nic" {
|
||||
"--isregexp" = {
|
||||
set_if = "$vmware_isregexp$"
|
||||
}
|
||||
"--unplugged_nics_state" = {
|
||||
value = "$vmware_unplugged_nics_state$"
|
||||
description = "Sets status for unplugged nics (Possible values are: [OK | ok] or [CRITICAL | critical | CRIT | crit] or [WARNING | warning | WARN | warn]. Default is WARNING. Values are case insensitive.)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user