Monitoring: permit disabling IDO backends no Icinga writes to
This commit is contained in:
parent
f9ec105537
commit
e6eb1540c0
|
@ -275,7 +275,10 @@ class BackendConfigForm extends ConfigForm
|
|||
|
||||
if (($el = $this->getElement('skip_validation')) === null || false === $el->isChecked()) {
|
||||
$resourceConfig = ResourceFactory::getResourceConfig($this->getValue('resource'));
|
||||
if (! self::isValidIdoSchema($this, $resourceConfig) || !self::isValidIdoInstance($this, $resourceConfig)) {
|
||||
if (! self::isValidIdoSchema($this, $resourceConfig)
|
||||
|| (! $this->getElement('disabled')->isChecked()
|
||||
&& ! self::isValidIdoInstance($this, $resourceConfig))
|
||||
) {
|
||||
if ($el === null) {
|
||||
$this->addSkipValidationCheckbox();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue