How do I write a script with variables that I would use to calculate thresholds,
e.g. Threshold > $value
and then be able to use overrides to change $value?
To do this, I’ve put the threshold into the script argument (which is included in overrides) and then have the script return a general good / bad response instead of having the monitor health do a numeric calculation. I would return the argument and the return value to the property bag so they both can be included in the alert.