Support for multiple thresholds in thresholds plugin