Create a threshold rule

edit

Refer to Custom threshold.