mirror of https://github.com/Icinga/icinga2.git
commit
8c5e17a799
|
@ -975,7 +975,7 @@ The more programmatic approach for `set_if` could look like this:
|
||||||
if (typeof(srv_vars.compellent) == Dictionary) {
|
if (typeof(srv_vars.compellent) == Dictionary) {
|
||||||
return srv_vars.compellent.contains("disks")
|
return srv_vars.compellent.contains("disks")
|
||||||
} else {
|
} else {
|
||||||
log(LogInformationen, "checkcommand set_if", "custom variable compellent_checks is not a dictionary, ignoring it.")
|
log(LogInformation, "checkcommand set_if", "custom variable compellent_checks is not a dictionary, ignoring it.")
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue