mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 20:54:35 +02:00
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…
x
Reference in New Issue
Block a user