Status panel conditional thresholds

Hi, I am using the status panel to monitor 2 metrics on multiple hosts. Lets say these metrics are:

  1. Number signifying events received.
  2. A number signifying the host maintenance status. It will only ever be a 0(maintenance) or a 1(prod).

How can I get the status panel only change color for threshold breaches in metric 1 if metric 2’s value is 1? In other words, if we’ve put the host in maintenance we expect the events received to go down and breach the thresholds but that should not make the panel red as we expect that to happen and its not an issue.

Appreciate the help.

regards,
SK