We noticed that a expression based threshold didn't work when the metric name has a leading "0" (zero) in its name. Thanks to @pioto who had the idea to check this: https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html
Normal thresholds are not affected!
Collectd.log had this WARN (why WARN and not ERROR?) log: