Respected Contributor Respected Contributor
SiteScope calculated metrics in Database Counter Monitor Template

I created Database Counter Monitor and defined Counter using regular expression (see 1.png).


Everything works fine, after deploying and first run regular expression resolved to actual DB data, thresholds works and so on.



Then I defined calculated metric in template with this expression:

<<.*>>  > 10 ? 'OK' : 'CRITICAL'


This is also work fine after deploying.


Actually I need expression like this:

<<.*>>  > 5 && <<.*>> < 10 ? 'OK' : 'CRITICAL'


And this is not work (see 2.png).


Can anybody help how to fight this behavior?

Thanks, experts!