I've set a group of nodes to override the general response time thresholds and instead use the dynamic baseline. I setup an email as one of the trigger actions. However, when I reference what I thought was the correct variable, ${N=SwisEntity;M=ResponseTimeThreshold.CurrentValue} , it doesn't return the value of the dynamic baseline. If I set it to ${N=SwisEntity;M=ResponseTimeThreshold.Level2Value}, it always returns a value of 90 for any node.
Here is the full trigger action.
Orion is reporting device: ${N=SwisEntity;M=Caption}
Critical Threshold: ${N=SwisEntity;M=ResponseTimeThreshold.CurrentValue}
Current Response Time : ${N=SwisEntity;M=Stats.ResponseTime}
AVG Response Time (Last 1 Day): ${SQL: select avg(avgresponsetime) from responsetime where datetime > (getdate()-1) and nodeid = ${N=SwisEntity;M=NodeID}} ms
MIN Response Time (Last 1 Day): ${SQL: select min(minresponsetime) from responsetime where datetime > (getdate()-1) and nodeid = ${N=SwisEntity;M=NodeID}} ms
MAX Response Time (Last 1 Day): ${SQL: select max(maxresponsetime) from responsetime where datetime > (getdate()-1) and nodeid = ${N=SwisEntity;M=NodeID}} ms