Unable to disable smart array controller

Hi,

We would like seek help on how we can disable the smart array controller in Icinga. A case was raised to HPE to check if there’s a problem with the controller cache to our esxi server and they found nothing on their end and seems working fine. Now, we tried to disable if using the script below:

##################################################

iLO Hardware Checks

##################################################
apply Service “ilo_hardware” {
import “generic-service-30”
display_name = “iLO Hardware Check”
check_command = “check_iLO5_health”
vars.address = host.name
vars.ignorecachestatus = “false”
assign where host.vars.hw == “ilo”
ignore where host.name == “ilo-splunk-si.lto.local”
ignore where host.name == “ilo-server10.lto.local”

ignore where host.name == “ilo-esx11.lto.local”

}

Thank you !

Just a quick view (maybe I’m wrong):

With version 1.65 (Sat, 06 Feb 2021 13:00:03 +0100) a new option was introduced:

# new option "--ignorecacheother|-O"
# ignores cache status "Other"

Hence, you need to add this to your command definition.